New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Iweb won't open site.


Post Reply New Thread Subscribe

 
Thread Tools
Seastud

 
Seastud's Avatar
 
Member Since: Jun 05, 2008
Location: Ontario Canada
Posts: 26
Seastud is on a distinguished road
Mac Specs: Blackbook. 2.4 Duo 4gb Ram 250gb HD . Ipod, Ipod shuffle.

Seastud is offline
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
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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
Seastud

 
Seastud's Avatar
 
Member Since: Jun 05, 2008
Location: Ontario Canada
Posts: 26
Seastud is on a distinguished road
Mac Specs: Blackbook. 2.4 Duo 4gb Ram 250gb HD . Ipod, Ipod shuffle.

Seastud is offline
Thanks will give that a try.
QUOTE Thanks

Post Reply New Thread Subscribe


« Mockups in Photoshop | editing a web page on mac »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
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 04:08 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?