Our production site is using CMSMS 1.2.4 under Unix. I'm trying to create a test installation on a workstation running Windows XP.
I have access to the production site via FTP and I know the admin and MySQL logon credentials.
I copied all the production files to my workstation, followed the upgrade procedures and CMSMS is now at version 1.9.4.1 with PHP 5.3.5 and MySQL 5.5.8 running on Apache 2.2.17 (under Windows XP).
I exported the production MySQL database and reimported it locally. After editing config.php, the test site displays correctly in Firefox and IE.
The problem is with the admin console. It works normally on the production version.
In the test version, I'm able to log in, but if I click on any menu item that points to a PHP file other than admin/moduleinterface.php, I'm thrown back to the login page. IOW, if I click on a menu item that points to listcontent.php, imagefiles.php, edituser.php, etc., I wind up at the login screen.
Any ideas about how to get the admin console to work correctly would be very much appreciated.
[SOLVED] Getting thrown out of the Admin console
[SOLVED] Getting thrown out of the Admin console
Last edited by AndyA on Mon Jun 06, 2011 11:30 am, edited 2 times in total.
Re: Getting thrown out of the Admin console
have you verified that all paths are set correctly in the config.php file in the test installation??
Re: Getting thrown out of the Admin console
Hi Andy,
It could be your admin theme is out of date.
When you hover over a link, does the ending php file have the session key appended?
It should look something like this:
If the ?sp_= is not there, clicking a link would put you out of the admin console.
To fix it, check you have a recent, or latest version of the admin theme NCleanGrey or similar.
/m
It could be your admin theme is out of date.
When you hover over a link, does the ending php file have the session key appended?
It should look something like this:
Code: Select all
http://example.com/admin/listcontent.php?sp_=97e6e8d3
To fix it, check you have a recent, or latest version of the admin theme NCleanGrey or similar.
/m
Re: Getting thrown out of the Admin console
jmcgin51 said:
myshko said:
Is there a way for me to switch to the NCleanGrey theme manually?
Thanks and regards, Andy
Yes, I've checked and the config.php file is correctly configured.have you verified that all paths are set correctly in the config.php file
myshko said:
No, it does not. (The links to moduleinterface.php do have a session key, which is why they apparently work.)When you hover over a link, does the ending php file have the session key appended?
The problem is that to change the admin theme, I need to get into Global Settings, but to do that, I need to use a link to siteprefs.php (without the session key).check you have a recent, or latest version of the admin theme NCleanGrey
Is there a way for me to switch to the NCleanGrey theme manually?
Thanks and regards, Andy
Re: Getting thrown out of the Admin console
Hi Andy,
Yes, there is a way.
Make:
This:
Hope that helps,
/m
Yes, there is a way.
- Delete all the themes in your /admin/themes/ folder
- Upload just the 'default' theme from the latest CMSMS build
- Login to the admin panel
- Admin will revert to using the default theme (very barebones) and you can now upload new themes and apply them
Make:
Code: Select all
http://example.com/admin/editprefs.php
Code: Select all
http://example.com/admin/editprefs.php?sp_=3e8b6393
/m
Re: Getting thrown out of the Admin console
Hello myshko,
Thanks for your very clear reply. I now have a working test site.
best regards, AndyA
Thanks for your very clear reply. I now have a working test site.
best regards, AndyA