Parse error: syntax error, unexpected

Status
Not open for further replies.

Fr33z4r

New Member
Messages
14
Reaction score
0
Points
0
After I finish installing the phpBB2 forums, this is what comes up at the top

Parse error: syntax error, unexpected '}' in /home/soccer94/public_html/forums/includes/template.php(127) : eval()'d code on line 247

can anyone help on this?
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
This is not a PHP Version error, as it says it's a syntax error in the script. You'll have to debug it to find the error, usually starting with or around the line it stats in the file is a good place to start.

-Corey
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
oh sry. I've seen lots of people with "eval()'d code on line 247" in their errors because they didn't update it.
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
The easiest way to fix it would be to download phpbb again and upload just the file includes/template.php
 

nexhunter

New Member
Messages
239
Reaction score
1
Points
0
you can always download phpbb2 from phpbb.com and upload the files. you can debug the files by downloading the phpbb2 files from phpbb and uploading the fresh files over the error filled one's only or you can edit the files if your ftp client your using has that feature and find the line of code having the error and fix it or ask someone if they can do it if you don't know php well by giving them an ftp account with limited access to only the files that need to be edited.
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I would re-upload an unmodified version of that file. Maybe a mod or something you used overwrote it.

-Corey
 
Status
Not open for further replies.
Top