Two tries req. to log into 1.2.1

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Two tries req. to log into 1.2.1

Post 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.
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post 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.
Reineke
Posts: 281
Joined: Fri 23. Jul 2004, 15:15

Post by Reineke »

Have the same problem. Are there any fixes?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
novallis
Posts: 121
Joined: Tue 7. Dec 2004, 11:23
Location: Hassloch, Germany

Post 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
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi, i rcognisez this when wcms is installed in a subfolder and not in root.

otherwise it works for me.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

Yeah, I think you're right, Cyrano. Good observation.
brans

Post 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.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Karla
Posts: 223
Joined: Tue 26. Oct 2004, 11:56

Post by Karla »

Experiment with turning OFF "persistent" DB connection maybe?
"conf.inc.php"

Code: Select all

$phpwcms["db_pers"]           = 0;
Reineke
Posts: 281
Joined: Fri 23. Jul 2004, 15:15

Post by Reineke »

@Karla: Worked for me, thx. Are there any disadvantages by turning off that entry?
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

this is solved - but not released yet.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

maybe we can have the codechange for that?
'welcome to the real world!' datensysteme-lenk
Post Reply