Page 1 of 1
[SOLVED] URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 8:40 am
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
Re: URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 10:38 am
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.
Re: URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 3:39 pm
by saltydog
Any idea here? I am really stuck. I have checked the server's php.ini and I can't find anything wrong.
Re: URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 3:52 pm
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?
....
[SOLVED] URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 4:03 pm
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
Re: URGENT - Can't access admin panel in 1.10.3
Posted: Thu Jun 21, 2012 6:36 pm
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...
Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3
Posted: Fri Jun 22, 2012 7:33 am
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?
Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3
Posted: Wed Jul 04, 2012 8:04 pm
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.
Re: [SOLVED] URGENT - Can't access admin panel in 1.10.3
Posted: Wed Jul 04, 2012 10:09 pm
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