login (not really) problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
oekmed
Posts: 103
Joined: Tue 2. Aug 2005, 17:27
Location: Burgdorf (Hannover)

login (not really) problem

Post 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
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

Double login

Post 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?
The only limits that exist, are those we impose on ourselves!
-me
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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. :wink:

Regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

code ok

Post 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.
The only limits that exist, are those we impose on ourselves!
-me
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

did you see this?

Browser input line:
First login:
http://www.example.com

Second login:
http://example.com

:?:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

url fix?

Post by loub0999 »

The only limits that exist, are those we impose on ourselves!
-me
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Please have a look into the browser input line before and after the first login.
Did you see the same addresses? :roll:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

url issues

Post 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...
:)
The only limits that exist, are those we impose on ourselves!
-me
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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 :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
loub0999
Posts: 28
Joined: Sun 10. Dec 2006, 04:27
Location: Montreal, Quebec, Canada
Contact:

thanks for the hint!

Post 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! :)
The only limits that exist, are those we impose on ourselves!
-me
Post Reply