| Web Design and Hosting Creating sites, scripting, and hosting discussions. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jun 05, 2008
Location: Ontario Canada
Posts: 26
![]() Mac Specs: Blackbook. 2.4 Duo 4gb Ram 250gb HD . Ipod, Ipod shuffle.
|
I built a site using Iweb.
I worked fine for a month but now all pages have the following code in line 1 and Iweb now says it can't open the site. When I view the site on my HD it opens in Safari fine but the uploaded site gives an error of "Parse error: syntax error, unexpected T_STRING in /home/seastud/public_html/Trevor/Trevor.html on line 1" Code in line 1 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> I just want to open in Iweb to fix or is there another option other than opening in text? PS: I have no idea where this code came from. I didn't put it there. |
| QUOTE Thanks | |
![]() Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
|
Your message is a bit confusing to me but I suspect you are confusing what iWeb edits and what it produces (publishes) for consumption by web browsers.
First, iWeb inserts those lines as they are part of the standards for the page it is publishing (creating) for use in a web browser. iWeb does NOT edit html files directly. It has it's own file structure. Double click the "/home/seastud/Library/Application Support/iWeb/Domains.sites2" file. I'm assuming you are using the latest iWeb, otherwise the file extension may be slightly different. This will allow you to edit your work. Did you upload Trevor.html to a remote site, and that is not working? Remember, you edit in iWeb (it stores those edits in a special place), publish to .Mac or a folder. If you publish to a folder, you upload that to your site. You never directly edit the published content, so never right click that content to open in iWeb. That won't work. CameraTime - Time lapse photography for novice and advanced users. When asking questions, post the version of your software. You'll receive better answers. Please post your results to the thread as it is good feedback.
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Looking for Creative ways to redo site | caocholta | Web Design and Hosting | 0 | 06-17-2008 11:18 AM |
| Getting my iWeb site back.... | Ulairi | Switcher Hangout | 0 | 02-06-2008 07:39 PM |
| Problem with Galleries on iWeb site | DylJones | Web Design and Hosting | 2 | 02-15-2007 04:40 AM |
| Finally Getting Problems from iWeb site (not on .Mac sub.) | vandal31593 | Web Design and Hosting | 3 | 12-30-2006 12:33 PM |
| HP PhotoSmart 2575 Driver | hana2004 | OS X - Operating System | 2 | 05-03-2006 06:03 PM |
All times are GMT -4. The time now is 10:24 AM.
Powered by vBulletin