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

Home » FUDforum » FUDforum Installation Issues » Parse error
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Parse error [message #163986] Tue, 21 December 2010 13:53 Go to next message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Tue, 21 December 2010 22:45 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3634
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 00:46 Go to previous messageGo to next message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 06:43 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3634
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 07:29 Go to previous message
Prop Designer is currently offline  Prop Designer
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks, I had lost the .htaccess file that said use PHP 5. Success!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Wed Jan 24 00:33:59 EST 2018

Total time taken to generate the page: 0.00652 seconds