[SOLVED] URGENT - Can't access admin panel in 1.10.3

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

[SOLVED] URGENT - Can't access admin panel in 1.10.3

Post by saltydog »

Hi,

Suddenly (I have no explanation for it) I cannot access my admin panel in CMSMS 1.10.3

I reach the login page, enter my credentials, but then I am getting this error message:

Fatal error: Cannot redeclare class User in <my_web_site_root>/lib/classes/class.user.inc.php on line 36

I have searched the forum for this message, with no success.

Fabio
Last edited by saltydog on Fri Jun 22, 2012 7:14 am, edited 2 times in total.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: URGENT - Can't access admin panel in 1.10.3

Post by saltydog »

This happened few days ago, while I did upgrade to 1.10.3 last month.

I have also tried to run the "install" again (without overwriting tables) but it didn't change.


The site is working perfectly, but I cannot access backend to edit page.

I have also other 1.10.3 CMSMS installations on the same server (ISP) and they are all working on the admin page.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: URGENT - Can't access admin panel in 1.10.3

Post by saltydog »

Any idea here? I am really stuck. I have checked the server's php.ini and I can't find anything wrong.
uniqu3

Re: URGENT - Can't access admin panel in 1.10.3

Post by uniqu3 »

You will need to provide more information so someone can actually help you.
See: http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661

Upgraded from to?
Did you try uploading files again in case something got messed up?
Are you using a custom theme that is not compatible with 1.10.3?
....
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

[SOLVED] URGENT - Can't access admin panel in 1.10.3

Post by saltydog »

Sorry, my fault.
I am using CMSMS since 2005 and I have not detailed the situation because I did all the basic routine controls, reinstallations and so on.

The defect was so sudden (yesterday it was working) that has left me surprised. After the whole day checking CMSMS, it came out the the ISP change (without notice) the root-url-path!!

I still can't realize how the fronted was still working... Anyway, I have changed the new root-url into the config file and it is now running perfectly.

Sorry again,

Fabio
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: URGENT - Can't access admin panel in 1.10.3

Post by Dr.CSS »

I'm glad you got it fixed, the root url has nothing to do with the front end, when they changed it they pointed the URL/domain to the new server/path...

Since you have been using CMSMS for so long you should know how to mark this thread as [solved], so please do...
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3

Post by saltydog »

Anyway, do you agree that the error message "Fatal error: Cannot redeclare class User in ...." is misleading, considering that the problem was a wrong root_url?
Pieter
New Member
New Member
Posts: 4
Joined: Fri Feb 01, 2008 9:26 pm

Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3

Post by Pieter »

I had the very same problem. I upgraded a website from 1.8.1 to 1.10.3 last month. The installation went smooth. Last week, the admin reported the very error mentioned above: "cannot redeclare class User", after logging in to the admin console.

Turns out that the windows machine hosting the live website hosts all its domains in the folder C:\Domains\...; the config file contained paths to C:\domains\... (lowercase D).

I don't know if my host (SoHosted) changed the capitalization of the folder name, or if CMSMS 1.10.3 has become case sensitive since 1.8.1, but changing the paths to C:\Domains\... fixed the problem.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3

Post by calguy1000 »

I don't know if my host (SoHosted) changed the capitalization of the folder name, or if CMSMS 1.10.3 has become case sensitive since 1.8.1, but changing the paths to C:\Domains\... fixed the problem.
NTFS is a case preserving file system, but not case sensitive for file access. CMSMS is, and always has been case sensitive. it just got more case sensitive in 1.10.x when we simplified the config process.i
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”