I made a new layout for my site and I uploaded it, but when I fixed the permissions for my index.php file with my FTP client, it didn't seem to have any effect (same server 500 error or whatnot). So I used the fix file permissions tool, and now it displays this:
Parse error: parse error, unexpected T_STRING in /home/robynie/public_html/index.php on line 1
I don't know what that means! :( I tried reuploading and fixing the permissions both ways again, to the same result.
Please help!
Look at that line of code. Probably missing a quote, semi colon, or bracket somewhere.
My first line is the xml mabob:
I don't see anything wrong with that?
But I just deleted that whole line and it works now. *shrug*
That's because in php the and ?> tags have special meaning. It's breaking because it's interpreting the ?> section of the xml tag as a php script end tag.
To add that line correctly into php code you'll need to put it in an echo or print statement within the PHP itself before any html code.
Something like:
echo "";
?>
Oh, ok.
Thanks ^__^