Page 1 of 1

[SOLVED - REMOVE _ UNDERSCORES] Can't login to Admin with IE - Firefox is OK

Posted: Mon Jul 24, 2006 10:32 am
by fredt
I'm using CMSMS 0.13, PHP 5, Apache 2, MySQL5 (it's a UniformServer distro/integration) under Windows XP Family

Install went fine, and site is OK, but I can login to Admin with Firefox only. IE goes into a index/login loop...

I went into debug mode, and hacked /lib/page.functions.php to echo all debug_buffer debug strings (they're not displayed...) like this:
debug_buffer("Found login_user_id.  Going to generate the user object.");
echo ("Found login_user_id.  Going to generate the user object.");

So I get :

No session found. Now check for cookiesNo cookies found. Redirect to login.Debug is on. Redirecting disabled... Please click this link to continue.

Cookies are enabled, and are working on other parts of the site. Site is in IE's Trusted Sites.
[Edit] And I've doublechecked, but I have no Cookie for this site in my IE Temp Files...

As it does work with firefox, I erased the cache... still same.

I tried changing cookie_domain in php ini, still same.

Another trick ? Apache log says
[Mon Jul 24 12:23:06 2006] [error] [client 192.168.0.3] File does not exist: W:/www/admin/themes/default/css/themes, referer: http://intranet_cil/admin/login.php

Plz help !!!
...Of course I can post more info if needed, or open a tunnel for this intranet server if a good soul can help...

Fred

Re: Can't login to Admin with IE - Firefox is OK

Posted: Thu Oct 05, 2006 6:26 am
by iNSiPiD
Could MySQL 5.0 be the problem? I had someone else on IRC with the same problem who was also using 5.0.

Something to do with the new login method? Or is it IE? What version of IE are you running?

Please don't tell me you're the other person that installed IE7. ;)

Re: Can't login to Admin with IE - Firefox is OK

Posted: Thu Oct 05, 2006 8:44 am
by wientanz
I have the same problem here. 3 websites using the same version of CMSMS (update 0.13 -> 1.02), but on different servers.

The login goes into a loop that won't let me login, but here it doesn't matter, whether I'm using IE 6 or Firefox. I have the problem with both browsers.

Re: Can't login to Admin with IE - Firefox is OK

Posted: Thu Oct 05, 2006 9:42 am
by fredt
I'm using IE 6, full patched - not crazy enough to install IE7...

I plan to upgrade to 1.0.2 next week (after *some* DIFFing...) - we'll see what happens.

That's annoying, because I'm using Uniform + CMSMS to build a on-usb-ready-to-run intranet for my customers... and they should be able to administer with any browser...

Thanks !

Re: Can't login to Admin with IE - Firefox is OK

Posted: Sat Oct 07, 2006 8:01 pm
by Debon
Hello guys, just my 2 cents worth. I am also running Canary on my home machine along with Mysql 5.0, apache 2 and I do not have this problem. I am able to view th localhost with both FF and IE6, so I do not believe its a Mysql problem

[SOLVED - REMOVE _ underscores] Re: Can't login to Admin with IE - Firefox is OK

Posted: Sun Feb 18, 2007 10:02 pm
by fredt
Gosh, I found the problem explained & and solution here : http://us2.php.net/manual/en/function.s ... .php#67262

My site was named intranet_mysite... and underscore _ is forbidden by the RFC, so IE doesn't accept sessions from a site with underscore...

Hope it will work for you all !!

Fred