Page 1 of 1

Parse error: syntax error, unexpected '}'

Posted: Wed Apr 27, 2011 8:59 pm
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

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

Posted: Wed Apr 27, 2011 9:02 pm
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)

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

Posted: Wed Apr 27, 2011 9:04 pm
by Brf
No.
The error is in prosilver's viewforum_body.html. Probably an extra <!-- ENDIF -->

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

Posted: Wed Apr 27, 2011 9:17 pm
by hsb
it was working properly. Nothing has been changed recently. It suddenly created the error...

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

Posted: Thu Apr 28, 2011 1:22 am
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

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

Posted: Thu Apr 28, 2011 2:34 am
by stevemaury
prosilver is included in the complete file download.

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

Posted: Thu Apr 28, 2011 2:49 am
by hsb
i donot want to install all phpbb again. is there any way to extract the style only? thanx

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

Posted: Thu Apr 28, 2011 3:10 am
by Sierron
Yeah, extract the styles folder from the phpBB3 package...

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

Posted: Thu Apr 28, 2011 11:06 am
by Brf
Just replace the viewforum_body.html with the one from the full download.

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

Posted: Thu Apr 28, 2011 12:33 pm
by hsb
i did replace the file, the problem persists! any idea?

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

Posted: Thu Apr 28, 2011 12:36 pm
by stevemaury
Now purge the cache.

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

Posted: Thu Apr 28, 2011 12:43 pm
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!

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

Posted: Thu Apr 28, 2011 1:10 pm
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?

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

Posted: Thu Apr 28, 2011 3:33 pm
by Brf
We cannot help you if we cannot see the html file, or the error message.