Forum is broken, unkown cause

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
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Forum is broken, unkown cause

Post by mattheyu »

Forum was working correctly, then started displaying unparsed code with "Fatal error: Cannot instantiate non-existent class: user in *****************public_html/forums/common.php on line 199" at the bottom.

Basic SRT
Board's URL: http://forums.kolkatet.com
Version of phpBB3: 3.0.0
Was this a fresh install or a(n) update/upgrade/conversion (please be specific)? Upgrade/conversion from 2.0.21
Was this an install through your host? No
MODs you have installed: None
When the problem started: Last ten minutes

Additional information:
Template(s) used: Default SimpleDarkBlue, rest of SimpleDark series installed, as well as prosilver and subsilver2.
Language(s) used: Default en_us
Version of PHP used: 4.4.4
Database and version used: MySQL version 4.1.22-standard
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70389
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Forum is broken, unkown cause

Post by KevC »

Your link is just showing a page full of code for me.

Ask your hosts if php has been turned off by mistake.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

I submitted a ticket, but no idea when they will respond. I jumped to line 199 and it's the PHP error handler, so I guess that's entirely possible. Anything else I can verify or check while waiting for them?
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

Apparently PHP is working correctly. http://www.kolkatet.com/phpinfo.php
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70389
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Forum is broken, unkown cause

Post by KevC »

Try uploading a fresh copy of that common.php file.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

I made a backup for my current one, and uploaded common.php straight from the install archive and no effect.
Surf007
Registered User
Posts: 141
Joined: Wed Jun 20, 2007 1:16 pm

Re: Forum is broken, unkown cause

Post by Surf007 »

try replacing common.php root--language--en--common.php to the original one.
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

I backed up and replaced both en/common.php and en_us/common.php and still no effect.
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

Worst case scenario and I'm unable to locate and fix this error. Can I salvage the database and do a fresh install?

Also, since it's unable to initiate class user, doesn't that mean there's an error in the user declaration? I'm rather inexperienced with PHP, but if it's anything like all the other OOL...
Surf007
Registered User
Posts: 141
Joined: Wed Jun 20, 2007 1:16 pm

Re: Forum is broken, unkown cause

Post by Surf007 »

try replacing whole forum files with new installation files but do not change config.php file. Let it be there original and also remove the instalation folder from it.

If it doesnt work u might need to do a fresh install.
mattheyu
Registered User
Posts: 13
Joined: Sun Mar 16, 2008 6:02 pm

Re: Forum is broken, unkown cause

Post by mattheyu »

Issue is resolved. I backed up my config.php and maintained my database. Downloaded fresh installs of my themes and the en_us lang pack and proceeded to do a reinstall, then replace the files.

Thanks everyone for your help. Probably would have gotten frustrated and given us if it wasn't for you all giving me new ideas to try.
Locked

Return to “[3.0.x] Support Forum”