Error when uploading with iWeb 09

Discussion in 'Web Design and Development' started by stridemat, Jan 10, 2010.

  1. stridemat Moderator

    stridemat

    Staff Member

    Joined:
    Apr 2, 2008
    Location:
    UK
    #1
    Web guru's I need your help. I have migrated hosts of my iWeb website. However I try to upload the new files using FTP and it come up with this error.

    I understand that there is an error in line 1 of my index but how do I sort this out? I never had a problem with this before.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Did you try to embed some PHP code onto the page? There shouldn't be given it's a .html page, which shouldn't have any PHP. The error itself is somewhat typical of a BOM (byte order mark) issue, which relates to how the file was saved. Saving the file as utf-8 with no BOM usually fixes it. Considering your site is a iWeb one though it likely doesn't give that option. Are you editing the files after publishing at all or using some 3rd party software on it?
     
  3. stridemat thread starter Moderator

    stridemat

    Staff Member

    Joined:
    Apr 2, 2008
    Location:
    UK
    #3
    It turns out my host has issues with iWeb, thus I am changing to one that works.

    Thanks for your help anyway!
     

Share This Page