Page 1 of 2

Two tries req. to log into 1.2.1

Posted: Tue 22. Feb 2005, 06:32
by Ben
It seems that I have to log into 1.2.1 twice before getting access to the admin area. After the first attempt, there is not a 'errors during login' message. After the second attempt, I'm in. I don't think it is a config issue with my server, as I have several copies / versions of phpWCMS running on this server. After logging out, I can log back in on the first try, assuming that I haven't closed all browser sessions.

Has anyone else experienced having to login twice? Any suggestions or fixes? Thanks.

UPDATE: Here's another thread that I found relating to this issue: http://www.phpwcms.de/forum/viewtopic.php?t=5756.

Posted: Tue 22. Feb 2005, 11:46
by Gnolen
I had this all the time with the old versions but it stopped with the dev. releases for me! Strange that it starts for someone instead. I never tried to solve it though.

Posted: Fri 25. Feb 2005, 08:09
by Reineke
Have the same problem. Are there any fixes?

Posted: Fri 25. Feb 2005, 08:42
by pico
absolut no Idea - after update to 1.2.1 I have this Problem also again.
The courios thing is, that I have two installations at the same Webspace - so everything should be the same, just another Path and Database, and on one installation this Problem occours and on the other not ???? :evil:

Posted: Fri 25. Feb 2005, 09:06
by novallis
I had same problems with another php script (phpbb).

In this case i cleared (deleted) the cookies and the cache of my webbrowser an this fixed my problems - so maybe this can help here also.

Regards
novallis

Posted: Fri 25. Feb 2005, 09:36
by cyrano
hi, i rcognisez this when wcms is installed in a subfolder and not in root.

otherwise it works for me.

Posted: Fri 25. Feb 2005, 09:40
by Ben
Yeah, I think you're right, Cyrano. Good observation.

Posted: Fri 25. Feb 2005, 09:49
by brans
Have you maybe used

yourdomain.com instead of www.yourdomain.com in your conf.inc.php ?!? or have you maybe used some C-NAME (pointed domain) instead of your "main-domain" (only in conf.inc.php)?!?

These are the errors that had to be removed in earlier versions of phpwcms.

Posted: Fri 25. Feb 2005, 10:15
by pico
Hi

conf.inc.php Number One :D I have this:

Code: Select all

$phpwcms["site"]              = "http://www.hdk-online.de/";
$phpwcms["admin_email"]       = "info@hdk-online.de";

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "";
and Number Two this:

Code: Select all

$phpwcms["site"]              = "http://www.simondigital.de/";
$phpwcms["admin_email"]       = "info@simondigital.de";

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "";
both on the same Webspace in virtuell Servers.

Deleting Cache and Cookies on Browsers IE and FF don't solve the Problem.

Sometimes it works by the first try - and another time I need two
I can do it again and again and I don't see a regular in this

Login OK - Logout - Login OK - Logout - Login NO - Login OK - Logout - Login NO - Login OK - Logout - Login OK .. this is the way it goes

:evil:

Posted: Fri 25. Feb 2005, 16:45
by Karla
Experiment with turning OFF "persistent" DB connection maybe?
"conf.inc.php"

Code: Select all

$phpwcms["db_pers"]           = 0;

Posted: Fri 25. Feb 2005, 21:42
by Reineke
@Karla: Worked for me, thx. Are there any disadvantages by turning off that entry?

Posted: Sat 26. Feb 2005, 12:41
by Oliver Georgi
this has to be fixed. No bug - I have to implement a "reset" in user log table when opening login.php.

Oliver

Posted: Wed 30. Mar 2005, 19:14
by toszter
So has this issue been resolved? I can't seem to find anything to suggest it has? I'll take a stab at it because I am having the same problems and I'm annoyed with the double login when showing wcms to my clients.

~toszter

Posted: Wed 30. Mar 2005, 23:09
by Oliver Georgi
this is solved - but not released yet.

Oliver

Posted: Fri 29. Apr 2005, 09:54
by SNap
maybe we can have the codechange for that?