Page 1 of 1

Restore or fix broken forum

Posted: Thu Dec 29, 2016 4:35 pm
by vjmtz
I tried to install Inactive Users mod on 3.0.12, it didn't worked, so I uninstalled it and now I can't view profiles.

When I click to view user profile I get this error:

Code: Select all

Parse error: syntax error, unexpected '}' in /home1/vjvisart/public_html/cache/tpl_leisure-ocean_memberlist_view.html.php on line 52
What to do now?

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 4:59 pm
by KevC
Support for that MOD is on the page where you downloaded it.

Just a reminder that support itself for 3.0 will end in 2 days.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 5:13 pm
by vjmtz
Support for that MOD is inactive.

Is there any way to restore forum to previous state? Or if that's not possible, how can I install fresh phpbb 3.0.12 without losing database (users, posts, topics)?

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 5:36 pm
by KevC
Not really wise to install MODs from an author that hasn't visited for a long time.

Have you tried clearing the cache?
Open the board’s /cache folder on the server and delete everything except index.htm and .htaccess.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 5:43 pm
by vjmtz
I tried, and when I click to view a profile I get an error:

Code: Select all

Parse error: syntax error, unexpected '}' in /home1/vjvisart/public_html/includes/template.php(230) : eval()'d code on line 52
And when I refresh, it gets back to the previous error.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 5:45 pm
by KevC
Upload new unedited copies of the files that were changed in the MOD and clear the cache again.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 5:47 pm
by RMcGirr83
You have an edit error in the html file stated.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 6:00 pm
by vjmtz
KevC wrote:Upload new unedited copies of the files that were changed in the MOD and clear the cache again.
I tried this, and it's still the same.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 6:04 pm
by canonknipser
Look at your error message, its in file /includes/template.php - upload a fresh copy from original 3.0.12 zip file, just in case: backup your current file first

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 6:07 pm
by Brf
canonknipser wrote:Look at your error message, its in file /includes/template.php
No. The error is in the template being parsed.

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 6:08 pm
by Lumpy Burgertushie
actually it is not in the template.php file but in the memberlist_view.html file on line 52

you made a mistake when editing the files. fix that mistake and it will probably work.

robert

Re: Restore or fix broken forum

Posted: Thu Dec 29, 2016 6:20 pm
by vjmtz
I tried to upload fresh copies of both files, and I emptied the cache folder, and it worked. Now it's OK.

Thanks all.