Page 1 of 1
[Solved] Can't Login to Admin panel
Posted: Thu Aug 09, 2007 11:53 pm
by DaveMcK
Hello!
I am using Apache 2.2.4, PHP 5.2.1, and MySQL 5.0.41 all running on eCS 1.2 and serving my website. I decided to try CMS 1.1 and was able to install it without any errors. When I try to login to the Admin page, I am asked for my user name and password for it, and I type them in, but the page does not proceed - the browser status bar shows 'transferring' then the name and password disappear; there is no error given (I tried other passwords and they would give an 'invalid' type error).
I searched around the forums and found mention of needing cookies on - they are. I tried both Firefox 2.0.0.5 and SeaMonkey 1.1.3 both with the same result. There was also mention of needing the correct session.save_path and the path I have set seems to work.... at least it is full of small files all starting with sess_(the install said it was good too). I tried deleting and reinstalling everything a couple of times but no change.
I am totally new at using CMS (and all of the web server stuff) so it most likely is a 'user error'... but what? Can anyone offer any insight?
Regards,
Dave McKenna
Re: Can't Login to Admin panel
Posted: Fri Aug 10, 2007 12:05 am
by Dr.CSS
Did you go thru the install exactly like in the handbook walk thru?...
config.php set to the right permissions first, did you look in it to see that it's got all the right paths?...
Re: Can't Login to Admin panel
Posted: Fri Aug 10, 2007 12:19 am
by DaveMcK
Hi Mark,
Yes, I followed the online handbook install instructions (3 times). Install always seemed to go smoothly. I looked over config.php and everything seems OK except... there is a parameter: 'image_transform_lib_path' that points at a non-existent path (looks like for an ImageMagick install which I do not have). Could this be the problem? I don't remember a requirement for ImageMagick....
Regards,
Dave McKenna
Re: Can't Login to Admin panel
Posted: Fri Aug 10, 2007 7:53 pm
by Pierre M.
Welcome Dave,
thank you for searching the forums first and finding sessions config and cookies. To know if these are ok, you can try another PHP-SQL software (like phpBB) and diagnose if the issue is CMSms related or not.
Assuming your sessions etc are ok (have a look at the "cookies" window of Firefox), I have only a very poor idea now : mistyping. Case ? Num/Caps lock on ? Can you try with an awfully simple password like lowercase "bush" that you can change after ?
BTW, what does "all running on eCS 1.2" mean ?
Pierre M.
Re: Can't Login to Admin panel
Posted: Sat Aug 11, 2007 2:35 am
by DaveMcK
Hi Pierre,
I'm still a beginner with this stuff... but I do have PHPMyAdmin installed and it works fine and does not show any problems with anything. Can you point me to some kind of diagnostic information for sessions config?
During the several installs I tried different passwords and user names, but it didn't seem to matter (tried upper and lower case as well ['lowercase bush' ... that gave me a chuckle!]).
eCS 1.2 is the operating system I am using (see
www.ecomstation.com). I know of 2 other people using it with a similar setup as I have with CMS and they had no trouble installing and using it... guess I'm the lucky one...
I still need to try installing ImageMagick... been busy with other things.
Thanks for your consideration.
Regards,
Dave McKenna
Re: Can't Login to Admin panel
Posted: Sat Aug 11, 2007 11:20 am
by Pierre M.
Hello again,
on the product information page, I read :
eComStation is fully OS/2 compatible and will run your existing OS/2 applications
This week, somebody else has a problem with sessions. Know what ? He uses an unsupported webserver called "cherokee".
You have a running PhpMyAdmin, he has a running phpBB. So PHP-SQL apps can run inside your unsupported environnements. And you have testimonies that tell you even CMSms can run well inside.
I think anybody using
unsupported infrastructure should first ask for help about this infrastructure. I hope somebody knowing eCS can help you (may be on eCS forums ?). This way, you could extend the supported OS list.
BTW : running OS/2 on legacy harware is funny, you may like extensible
DamnSmallLinux or DSL-N too
Pierre M.
<Solved> Can't Login to Admin panel
Posted: Sat Aug 11, 2007 11:51 pm
by DaveMcK
Hi Pierre,
I apologize for posting questions about CMS being used on an unsupported OS... I was only looking for some ideas what to look for. As it turns out, I found the problem.
In the php.ini file in the [Sessions] section there is a parameter: session.cookie_domain=. I had put my domain name there. CMS uses 'localhost' in the URL of the link of the login form. If I change 'localhost' to 'www..com' it works. If I remove my domain name from the php.ini file session.cookie_domain= (and leave it blank), it works. Maybe this is peculiar to eCS... in any case now I can dig in to CMS!
Regards,
Dave McKenna
P.S. - Athlon 64x2 hardware is considered legacy already? This stuff is moving way too fast....
Re: Can't Login to Admin panel
Posted: Sun Aug 12, 2007 2:03 am
by Dr.CSS
Glad to see it was resolved, you need to click the Modify button on your first post and add [solved] to that subject line... thanks, we may have other users who may want to run the same setup...
Re: [Solved] Can't Login to Admin panel
Posted: Sun Aug 12, 2007 10:51 am
by Pierre M.
This is good news.
As you has said PhpMyAdmin works ok, I had thought you met the requirement of "
working PHP sessions".
We can now add eCS as a working OS

Have fun with CMSms
Pierre M.