Admin page : can't login

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
hanslammerts
Forum Members
Forum Members
Posts: 24
Joined: Thu Aug 18, 2011 2:27 pm

Admin page : can't login

Post by hanslammerts »

Hi,

I'm having a strange issue here that I can't find the solution to in this forum, really.
The problem is that when I want to login on the Admin page, I do get the page itself, but after entering the credentials I'm simply being redirected to the login page again. No errors, not even when I activate debug in config.php. Nothing in error or accesslog, nor in php.log either.
I tried resetting the password of the admin user to admin using the procedure described somewhere in this forum, but that did not solve my problem.
Of course cookies, javascript and popup settings are OK, since I am able to admin my site running at my provider with the same browser.

What I did was the following:
I have a CMSMS site running with my provider. Everything works fine there, but this is a live site, and I wanted to have a develop environment, so I ftp'ed all files in the cmsms directory of the working site to /var/www/cmsms on my Linux server. After this I made a dump of the mysql cmsms database running at my provider, created a new database in mysql on the Linux server at home, and imported the dumped mysql data.
I then had to modify config.php so the urls and paths reflected the new environment.
After this the site was almost OK. I was missing all images. Turned out to be a .htaccess file in /uploads. I renamed this .htaccess file to htaccess.
Now the site is completely browsable on my Linux server at home. Everything seems to work perfectly. Except logging in as administrator to be able to do the developing...... :'(

Does this ring a bell with someone ?

Btw, I'm running Ubuntu 10.04, Apache 2.2.14, PHP 5.3.2 and CMSMS 1.9.4.2.

I hope someone can help me out.
Thanks anyway.

Hans
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Admin page : can't login

Post by calguy1000 »

CMSMS 1.9.4.2 is no longer supported.
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.
hanslammerts
Forum Members
Forum Members
Posts: 24
Joined: Thu Aug 18, 2011 2:27 pm

Re: Admin page : can't login

Post by hanslammerts »

OK, fair enough.

I just upgraded to the latest version 1.10.2 with schema 35. As far as I could see, there were no errors, but I still have exactly the same problem....

How can I see where things are going wrong ? After filling in the credentials on the login page and hitting submit, no errors or warnings are shown. I just come back to the login page again...
Also, the forgot your password procedure seems to do nothing as well.

Please, what am I doing wrong ?

Hans
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Admin page : can't login

Post by calguy1000 »

if you are not getting any errors on the login screen then you are probably experiencing a redirection BACK to the login screen even though the login itself is working.

Try clicking the 'back' button on the browser.

If that is the case, then I would suggest that you check your .htaccess file for anything that doesn't correlate with your config.php. I have seen lots of this type of problem.
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.
hanslammerts
Forum Members
Forum Members
Posts: 24
Joined: Thu Aug 18, 2011 2:27 pm

Re: Admin page : can't login

Post by hanslammerts »

Hi calguy1000,

Thanks for taking the time to read and answer my questions.

Hitting the back button just returns me to my browsers' homepage.
It gets a bit stranger (for me..)
I decided to do a clean install of the latest stable version of CMSMS om my box, without importing any old data from my website.
Just to be sure that there are no strange things in the website data or database. I'm faced with the exact same problem, so I'm beginning to question my PHP installation. The installation procedure, however, does not give me any errors. Everything is green.

On my entire machine I have 6 .htaccess files:

563 Jan 27 2011 /usr/share/zarafa-webaccess/.htaccess
104 Nov 21 17:53 /var/www/cmsms/tmp/.htaccess
412 Nov 5 17:35 /var/www/cmsms/doc/.htaccess
104 Nov 21 17:53 /var/www/cmsms/lib/.htaccess
407 Nov 5 17:35 /var/www/cmsms/plugins/.htaccess
104 Nov 21 17:53 /var/www/cmsms/uploads/.htaccess

As you can see, numbers 2,4 and 6 are equal, and provided during the CMSMS installation.
The first one belongs to an email collaboration package, and should not interfere with CMSMS.
Number 3 and 5 are also provided with the install of CMSMS.

Am I having a problem with one of these .htaccess files, or should I be looking into the installation of PHP more ?

Thanks,

Hans
Locked

Return to “[locked] Installation, Setup and Upgrade”