FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Parse error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Parse error [message #163986] Tue, 21 December 2010 18:53 Go to next message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
Parse error: syntax error, unexpected T_NEW in /homepages/xx/xxxxxxxxxx/htdocs/fudforum/upgrade.php on line 99

Any idea why I am getting this message when running upgrade.php?
(URL slightly altered for security reasons)

Prop Designer
Re: Parse error [message #163989 is a reply to message #163986] Wed, 22 December 2010 03:45 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Is it FUDforum 3.0.2's upgrade script?
What do you see on line 99?
What version of PHP are you using?
Re: Parse error [message #163990 is a reply to message #163989] Wed, 22 December 2010 05:46 Go to previous messageGo to next message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
Yes it is FUDforum 3.0.2 upgrades script and I don't know which version of PHP I am running, it is on a server.

I don't like to ask these silly questions but which is line 99? Is <php> the first line or is it the first line of code and does it count the comment lines?
Re: Parse error [message #163991 is a reply to message #163990] Wed, 22 December 2010 11:43 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Line 99 from the top of the file.

I bet your host is still using PHP 4, which is not supported.
Re: Parse error [message #163992 is a reply to message #163991] Wed, 22 December 2010 12:29 Go to previous message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
Thanks, I had lost the .htaccess file that said use PHP 5. Success!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Messages corrupted after importing from files
Next Topic: Help with warnings during upgrade to 3.0.0
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 11:20:24 GMT 2024

Total time taken to generate the page: 0.02698 seconds