Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

samk8000

macrumors regular
Original poster
Jun 22, 2010
135
0
toronto, ontario
I just bought my new MacBook Pro. I have made a website on iWeb already. I published it to MobileMe using the trial but I really don't want to pay $100/year for a website as I won't use any of the other services. I made a comuf account but when the website was uploaded, I got:

Parse error: syntax error, unexpected T_STRING in /home/a7803205/public_html/www.keenphoto.comuf.com/index.html on line 1

Does anybody know of any other free hosting that will be easier or how to make this one work?
 
The error you are getting is not because of the host (unless they don't support PHP). There is an issue with the code of your website.

Check with your host to see if they support the latest version of PHP.
 
what does that mean?

Open your "index.html" file inside TextEdit, copy the contents and paste them here. I haven't used iWeb in about a year, so I'm not 100% sure where you'd find your index.html file.

Edit: I see you're using 000webhost (I've used that service before). You can find your index.html file with your "file manager" in your control panel. Might not be called exactly that, but you should be able to find it around there.
 
<?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"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= www.keenphoto.comuf.com/Home.html" /></head><body></body></html>
 
That's very weird that you're getting error messages. I'm assuming you're uploading directly through iWeb. You could try exporting the files from iWeb, and then add the files to the file manager. Also double check that files are being uploaded to the directory "public_html". This is very important.

I'm currently using 000webhost for a hobby website, and it works well and supports .php and many other things. The problem is most likely in the upload or the files themselves.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.