News
: October 6, 2008 -
Submit Your Site for the October 2008 Site of the Month!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
October 14, 2008, 01:09:13 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Online Help Desk
>
Lunarpages - Beginner Assistance
>
Only the code shows in the browser
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Only the code shows in the browser (Read 179 times)
param12
Newbie
Offline
Posts: 4
Only the code shows in the browser
«
on:
June 25, 2008, 11:54:52 AM »
I just need a simple "under construction" page to put up until we can work on the site. So I used a pre-designed theme in Rapidweaver 3.0. I couldn't get the 'one click' publishing button to work, so I copied the code into TextEdit, saved the file as index.html and uploaded to public_html folder using Fetch.
When I view the site in my browser (Safari) it only shows the code. I also tried visiting the site on a PC using Explorer, same thing. What am I doing wrong?
Thanks
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
Offline
Posts: 7971
Re: Only the code shows in the browser
«
Reply #1 on:
June 25, 2008, 12:11:15 PM »
Could you show us an example?
Logged
Click Here for the Lunarforums FAQ - Read This BEFORE Posting!
+
Submit Your Site for the
Oct 08
Web Site of the Month Award!
+
Also Read the
SEPTEMBER 2008 Lunarpages Newsletter!
Mitch the Moderator
- Please Respect & Review the
Lunarforums Rules
Before Posting!
Lunarpages Web Hosting
|
Lunarpages Forums
|
Lunarpages Support Wiki
Need something to read? Try
Lunartics
&
the Lunarpages Newsletter
!
param12
Newbie
Offline
Posts: 4
Re: Only the code shows in the browser
«
Reply #2 on:
June 25, 2008, 12:22:29 PM »
Here is the link to the site:
http://www.paramount-flooring.com
and the temporary site is
http://dreamer.lunarmania.com/~param12/
I get the same thing at both locations. Does this have something to do with propagation?
Logged
JeremyD
SleePy...
Jabba the Hutt
Offline
Posts: 731
SMF Team Member
Re: Only the code shows in the browser
«
Reply #3 on:
June 25, 2008, 01:02:19 PM »
How did you save that file..
If you look at the source code it shows, it shows that is content and that there is already code being used
Looks like you made it in rapid weaver then pasted the code into coca editor?
Logged
SMF Mods
:
[
Move Old Topics
][
SSI MemberGroup
][
View Single Category
][
View Single PM
][
View Single Post
][
More...
]
Sites
LcT - Online Multiplayer, Multicommunity, Multigaming clans under one name
(
Multiplayerhome.com
|
clanheadquarters.com
)
Offical BattleStar-75 (Formally Battlestar2142)
My Latest in Development of scripts
param12
Newbie
Offline
Posts: 4
Re: Only the code shows in the browser
«
Reply #4 on:
June 25, 2008, 01:09:19 PM »
I copied the code from 'Source View' in RapidWeaver and pasted it into TextEdit and did File>Save As.. and named it 'index' and under the format drop down I chose .html
Logged
JeremyD
SleePy...
Jabba the Hutt
Offline
Posts: 731
SMF Team Member
Re: Only the code shows in the browser
«
Reply #5 on:
June 25, 2008, 01:29:30 PM »
Did you make sure in text edit you where using a plain text file and not rich text file?
Try to copy it again into text edit, but before you do, go to Format -> Make Plain Text.
Then save it as "index.html" (without the quotes) as a text file. Make sure if the option below that if no extension is provided that it doesn't use .txt and that hide extension is unchecked.
Logged
SMF Mods
:
[
Move Old Topics
][
SSI MemberGroup
][
View Single Category
][
View Single PM
][
View Single Post
][
More...
]
Sites
LcT - Online Multiplayer, Multicommunity, Multigaming clans under one name
(
Multiplayerhome.com
|
clanheadquarters.com
)
Offical BattleStar-75 (Formally Battlestar2142)
My Latest in Development of scripts
param12
Newbie
Offline
Posts: 4
Re: Only the code shows in the browser
«
Reply #6 on:
June 25, 2008, 01:50:44 PM »
Thanks JeremyD
That did the trick, it didn't keep theme, but I can live with that for now. It is also not showing the logo jpeg, but I am sure I can find that answer for that problem somewhere on here. I thought savings as html would have converted it to plain text, obviously not. Thanks again
Logged
JeremyD
SleePy...
Jabba the Hutt
Offline
Posts: 731
SMF Team Member
Re: Only the code shows in the browser
«
Reply #7 on:
June 25, 2008, 01:56:29 PM »
If its not showing the images/colors then things like the images/style sheets are not uploaded.
Looking at your source its calling towards lots of .css style sheets but they don't exist. Make sure they get uploaded as well.
Logged
SMF Mods
:
[
Move Old Topics
][
SSI MemberGroup
][
View Single Category
][
View Single PM
][
View Single Post
][
More...
]
Sites
LcT - Online Multiplayer, Multicommunity, Multigaming clans under one name
(
Multiplayerhome.com
|
clanheadquarters.com
)
Offical BattleStar-75 (Formally Battlestar2142)
My Latest in Development of scripts
MrPhil
Quantum Encyclopedia Writer
Offline
Posts: 3400
Re: Only the code shows in the browser
«
Reply #8 on:
June 25, 2008, 05:05:42 PM »
You named the file "Index.html", so it is not automatically loaded. You need to change it to "index.html". Don't forget to fix the links within the page to be "index" instead of "Index".
Logged
Visit My Site
E-mail Me
ailema
Newbie
Offline
Posts: 3
Re: Only the code shows in the browser
«
Reply #9 on:
July 01, 2008, 01:37:26 AM »
hmm i think you put the code on the preview not on the hmtl preview
Logged
pearl strand
Small Dog Beds
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - LPCP Beta
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
=> Lunarpages - Reseller Web Hosting
===> Lunarpages - WHM
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...