Restore or fix broken forum

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Restore or fix broken forum

Post 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?
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70218
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Restore or fix broken forum

Post 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.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Re: Restore or fix broken forum

Post 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)?
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70218
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Restore or fix broken forum

Post 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.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Re: Restore or fix broken forum

Post 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.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70218
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Restore or fix broken forum

Post by KevC »

Upload new unedited copies of the files that were changed in the MOD and clear the cache again.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
RMcGirr83
Former Team Member
Posts: 21608
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Restore or fix broken forum

Post by RMcGirr83 »

You have an edit error in the html file stated.
Appreciate the extensions/mods/support then buy me a beerImage
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Re: Restore or fix broken forum

Post 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.
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Restore or fix broken forum

Post 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
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52137
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Restore or fix broken forum

Post by Brf »

canonknipser wrote:Look at your error message, its in file /includes/template.php
No. The error is in the template being parsed.
User avatar
Lumpy Burgertushie
Registered User
Posts: 68181
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Restore or fix broken forum

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
vjmtz
Registered User
Posts: 7
Joined: Thu Dec 22, 2016 9:37 pm
Contact:

Re: Restore or fix broken forum

Post 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.
Locked

Return to “[3.0.x] Support Forum”