Page 1 of 1
login (not really) problem
Posted: Wed 23. Aug 2006, 13:09
by oekmed
Hi,
meanwhile I have some launched some firstclass installations (from 1.2.6 to 1.2.8.). Working fine, without any problems, ...but sometimes I have to login 2 times. Why?
So I've upgrade a 1.2.6 to a 1.2.8. The 2.6 needs a "double login", in the 2.8 it's ok.
Otherwise, I've upgrade a 2.7 to a 2.8, in the 2.7 it neeeds no "dl", but now in the 2.8.
This "maybe problem" occurs the last years. Any reason??
Thank's
Burkhard
Double login
Posted: Sat 13. Jan 2007, 18:01
by loub0999
I upgraded from the public stable version to 1.2.8. and I have the above problem, I have to login twice to get access to admin panel. Any advice?
Posted: Sat 13. Jan 2007, 18:10
by flip-flop
Hi,
please validate your conf.inc.php settings.
Those are normally the correct settings:
Code: Select all
// site values
$phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/';
// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
And if you login at the second time, please have a look into your browser input line.
Regards Knut
code ok
Posted: Sat 13. Jan 2007, 18:24
by loub0999
I looked at the config file and those lines are as you typed them. I don't get any error message, like when I mistype my username or password. The login page simply reloads when I press the form button.
Posted: Sat 13. Jan 2007, 18:27
by flip-flop
did you see this?
Browser input line:
First login:
http://www.example.com
Second login:
http://example.com

url fix?
Posted: Sat 13. Jan 2007, 18:31
by loub0999
Posted: Sat 13. Jan 2007, 18:38
by flip-flop
Please have a look into the browser input line before and after the first login.
Did you see the same addresses?

url issues
Posted: Sat 13. Jan 2007, 18:43
by loub0999
Holy cow they changed!?
It does as you say first url is without www :
http://firsttimesellers.com/phpWCMS/login.php
then when I press login, the page reloads and the url is:
http://www.firsttimesellers.com/phpWCMS/login.php
Why is this happening? And most importantly, is it easy to fix? Or do I just tolerate double login?
Thanks for your help by the way...

Posted: Sat 13. Jan 2007, 18:52
by flip-flop
It is a apache configuration problem of your provider or the .htaccess.
My hint: DO the first login with http://
www.fir......
Regards Knut

thanks for the hint!
Posted: Sat 13. Jan 2007, 19:02
by loub0999
That is actually an easy fix! It works!
I wouldn't know the first thing about Apache configurations. I was using the URL supplied by the Fantastico installation. It gave me the URL with no WWW. I've updated my bookmarks and it is now working properly!
You rock! Thanks a lot for your help!
