News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu

I made my site sad and I don't know how to fix it :(

Started by robynie, December 08, 2005, 04:26:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

robynie

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!

Databits

Look at that line of code. Probably missing a quote, semi colon, or bracket somewhere.
(\_/)    ~Relakuyae D'Selemae
(o.O)    
(")_(")  [Libre Office] [Chrome]

robynie

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*

Databits

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 "";
?>
(\_/)    ~Relakuyae D'Selemae
(o.O)    
(")_(")  [Libre Office] [Chrome]

robynie