Elxis CMS Forum

Support => Technical support => Topic started by: thecorkman on March 12, 2007, 17:35:19

Title: Parse error: syntax error, unexpected T_STRING
Post by: thecorkman on March 12, 2007, 17:35:19
I can get into my admin fine, but when I try to open my site I get this telling me the first line in sef.php. I'm not sure what to do?  ???

Parse error: syntax error, unexpected T_STRING in /home/thecorkm/public_html/corkysmarketingcenter/elxis/includes/sef.php on line 1
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: datahell on March 12, 2007, 17:40:14
It is a well know ghost...
Upload a new sef.php from the Elxis zip package or open sef.php with a text editor save it and re-upload it.
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: thecorkman on March 12, 2007, 18:26:57
Sorry, I tried what you said, plus I downloaded the whole elxis zip again, and uploaded the folder includes again. Still got the say message. Deleted sef.php and uploaded it again, and again with no luck.

I still get this message...

Parse error: syntax error, unexpected T_STRING in /home/thecorkm/public_html/corkysmarketingcenter/elxis/includes/sef.php on line 1
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: CREATIVE Options on March 12, 2007, 20:50:11

Please replace your sef.php file with the following. (unzipped first)

[old attachment deleted by admin]
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: thecorkman on March 12, 2007, 21:21:50
See what happens when you know what your doing......That worked...and I Thank You VERY Much for your help. I wish I could buy you a drink for your kindness!!!
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: CREATIVE Options on March 12, 2007, 22:16:11

You are very welcome.

Thank you for your kind words, and for offering to buy me a drink I wish I could make use of your offer  :D
Title: Re: Parse error: syntax error, unexpected T_STRING
Post by: Barek on May 10, 2007, 23:59:33
Got the same error on a new installation,  uploaded the new sef.php file and all worked fine..
Takke takk