Results 1 to 3 of 3
  1. #1
    Question Probs with header code in iWeb
    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?



  2. #2
    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!


  3. #3

    Member Since
    Aug 20, 2005
    Redlands, CA
    Macbook Pro 15" 2ghz/2GB/250gb/SD - White Macbook 2.16ghz/2.5GB/250GB/SD
    <?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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. iweb html code
    By brokersite in forum Web Design and Hosting
    Replies: 0
    Last Post: 07-10-2013, 10:10 PM
  2. Using Share This buttons with iWeb- Someone check this code?
    By BrenGun in forum Web Design and Hosting
    Replies: 0
    Last Post: 02-13-2011, 01:01 PM
  3. Header Text / iWeb
    By hjaynes in forum Web Design and Hosting
    Replies: 3
    Last Post: 10-09-2009, 10:44 PM
  4. how can I reduce the space of the header in iWeb?
    By kerenor69 in forum Web Design and Hosting
    Replies: 1
    Last Post: 09-04-2009, 03:54 AM
  5. iweb and deleting a portion of the code or page
    By visionaryeye in forum macOS - Apps and Games
    Replies: 0
    Last Post: 09-02-2009, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts