Parse error: syntax error, unexpected '}'

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Parse error: syntax error, unexpected '}'

Post by hsb » Wed Apr 27, 2011 8:59 pm

Hi

users are getting an error on my forum:

Parse error: syntax error, unexpected '}' in ...\html\forum\cache\tpl_prosilver_viewforum_body.html.php on line 195

This is only with one of the styles. I tried to clear the cache directory, did not help. Re uploaded the forum, temporary solved the problem but it is back again.

any idea what the problem is?

Thanks

PirateScoobs
Registered User
Posts: 89
Joined: Fri Apr 15, 2011 7:17 pm
Location: Arizona, USA
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by PirateScoobs » Wed Apr 27, 2011 9:02 pm

Please provide us with the information necessary to assist you by filling out the Support Request Template.

Also, post the code in the file it is referring to. (tpl_prosilver_viewforum_body.html.php)

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51758
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by Brf » Wed Apr 27, 2011 9:04 pm

No.
The error is in prosilver's viewforum_body.html. Probably an extra <!-- ENDIF -->

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Wed Apr 27, 2011 9:17 pm

it was working properly. Nothing has been changed recently. It suddenly created the error...

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Thu Apr 28, 2011 1:22 am

OK, viewforum_body.php file for prosilver seems to be bugged somehow. As far as cached files are there it works well, otherwise, the error pops up. My question is: where I can download this style (prosilver). All the styles seem to be available to download but not this one.

thanks

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50558
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by stevemaury » Thu Apr 28, 2011 2:34 am

prosilver is included in the complete file download.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Thu Apr 28, 2011 2:49 am

i donot want to install all phpbb again. is there any way to extract the style only? thanx

User avatar
Sierron
Registered User
Posts: 241
Joined: Fri Apr 30, 2010 10:22 am
Location: Germany
Name: Artur
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by Sierron » Thu Apr 28, 2011 3:10 am

Yeah, extract the styles folder from the phpBB3 package...
Multilanguage TimeSplitters Site

If you need support, I suggest you to use the Support Request Template for your questions on this board. If you have some serious problems, the Support Toolkit can fix it (depends on the problem).

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51758
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by Brf » Thu Apr 28, 2011 11:06 am

Just replace the viewforum_body.html with the one from the full download.

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Thu Apr 28, 2011 12:33 pm

i did replace the file, the problem persists! any idea?

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50558
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by stevemaury » Thu Apr 28, 2011 12:36 pm

Now purge the cache.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Thu Apr 28, 2011 12:43 pm

i already did when I copied the file. The cache version is good ( i copied from my computer) but when I remove the cache it shows the error!

hsb
Registered User
Posts: 27
Joined: Sat Apr 02, 2011 1:57 pm

Re: Parse error: syntax error, unexpected '}'

Post by hsb » Thu Apr 28, 2011 1:10 pm

the problem does nt seem to be the view_forum file! I even re installed the whole style, but as soon as I remove the cache the problem comes back. Any idea please?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51758
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Parse error: syntax error, unexpected '}'

Post by Brf » Thu Apr 28, 2011 3:33 pm

We cannot help you if we cannot see the html file, or the error message.

Locked

Return to “[3.0.x] Support Forum”