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.

Probs with header code in iWeb

Post Reply New Thread Subscribe

Thread Tools
Posts: n/a

Well, I've done some searching and turned up nothing, so I'm hoping someone has an answer for me.

I recently got iWeb and created a site with it. I am not using a .mac account. I run the site on a different host, so I am using the "Publish to folder" function. The help files claim that this should work, but I came upon a really goofy problem that, if not resolved, will put a serious wrench in my efforts to find a clean, easy web design app.

Once I've created the pages and publish to a folder, I FTP the whole site up to my host. Immediately I get a "parse error" on line 1 of *every* page. I looked at the html code on the pages and every page generated has the same first line:

<?xml version="1.0" encoding="UTF-8"?>

Now, best I can figure, the "?" is causing my server to expect PHP code (though I could be way off on this, my knowledge is a bit sketchy on this stuff... thus... iWeb ). I found that if I remove that top line from *every* html page generated by iWeb, then upload the files, it works just fine ( is the site I'm working on). However, this extra step totally negates the benefits I'd hoped to gain from using iWeb. As it stands, the publish to folder option is far less appealing than if they would just allow me to publish directly to my host via FTP, but I can live with the small step of having to manually upload. But if I have to edit every html file manually every single time I make a change, I've lost the beauty of iWeb.

I figure I can't be the only one to have experienced this. Any ideas?


QUOTE Thanks
Posts: n/a

Well, some further research revealed that I'm not the only one to experience this problem, though it seems to be isolated only to hosts that are running the latest version of Apache. I think I've got it all sorted out now, but I'll post a link so others may have a shorter path to follow.

Good luck!

QUOTE Thanks

Member Since: Aug 20, 2005
Location: Redlands, CA
Posts: 739
JGruber has a spectacular aura about
Mac Specs: Macbook Pro 15" 2ghz/2GB/250gb/SD - White Macbook 2.16ghz/2.5GB/250GB/SD

JGruber is offline
<?xml version="1.0" encoding="UTF-8"?>

To me that tells me that its trying to create it in a .xml format. I dont use iWeb to build sites, but all the sites I have ever done show this as my first line.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

When I create a .xml file in Dreamweaver 8, I get this as my first line
<?xml version="1.0" encoding="UTF-8"?>

Might be worth checking out. Find out what its trying to create a .xml file for.
QUOTE Thanks

Post Reply New Thread Subscribe

« What's everyone using for FTP? | Trying to Build a Webpage with Word for 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 Starter
Last Post
iWeb html blackmagicxx Web Design and Hosting 8 08-22-2008 03:55 PM
DVD region code contradiction... NanoBite OS X - Operating System 10 11-07-2005 04:38 AM
Hack or Region Code, DVD on G4, Which is global? Dax Apple Notebooks 4 04-15-2005 09:12 AM
Missing Header Files chappy OS X - Development and Darwin 0 02-01-2005 02:57 PM
Ran Apple Hardware test found an error code what is this code/ Mark Eggers Apple Desktops 3 07-02-2004 09:13 PM

All times are GMT -4. The time now is 04:18 PM.

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

Welcome to

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?