Fresh upload throws error

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

Fresh upload throws error

Post by idontwantausername » Thu Apr 03, 2014 7:18 pm

Hi guys,

I have just uploaded 3.1 to my web server and I've run into errors before I've actually done anything. I've already tried re-uploading but it's still showing the same error.

Code: Select all

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in 31/index.php on line 55

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in 31/index.php on line 55

Parse error: syntax error, unexpected T_STRING in 31/index.php on line 55
Line 55:

Code: Select all

$json_response = new \phpbb\json_response();
The install Directory display this error:

Code: Select all

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in 31/install/index.php on line 10
I don't really know where to go from here, any help appreciated!

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Fresh upload throws error

Post by EXreaction » Thu Apr 03, 2014 10:43 pm

What version of PHP are you using?

idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

Re: Fresh upload throws error

Post by idontwantausername » Fri Apr 04, 2014 1:02 am

Thank for reply mate.

Forgot I had a handler in htaccess to force php 5.2 for mod compatibility.

I've added another handler the .htaccess in the root of this upload and it resolved the issue.

Thanks again.

Locked

Return to “[3.1.x] Support Forum”