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 »

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 »

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: 53398
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

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

Post by Brf »

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 »

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 »

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: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

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

Post by stevemaury »

prosilver is included in the complete file download.
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 »

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 »

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: 53398
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

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

Post by Brf »

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 »

i did replace the file, the problem persists! any idea?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

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

Post by stevemaury »

Now purge the cache.
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 »

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 »

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: 53398
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

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

Post by Brf »

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

Return to “[3.0.x] Support Forum”