View Full Version : Admin User/Password not accepted
CryoGenID
01-08-2008, 02:59 PM
Hey :-)
I just installed the software (RC2) and tried to login using my username and password which I had defined during setup.
But I always get "Authentication Required".
I already looked into the main.php-file and saw that the suggestion with the session.cache_limiter ist correctly set to "nocache".
So that can't be it...
Also I have enabled the display_errors and display_startup_errors but none appear anywhere.
I have looked into the db and the admin-user is correctly set up there.
I have also used the md5 hash from a thread here and exchanged that but that password also doesn't work :-(
What else can I do to be able to login?
System:
PHP 5.2.4
MySQL 5.0.45
Gentoo Linux
On the same server I have for example Typo3 and Mantis running without difficulties...
Any help is really appreciated ;-)
Thanks!
Best regards,
Christian
CryoGenID
01-10-2008, 10:56 AM
Anyone? :(
Anyone? :(
This is indeed strange. Are you willing to give the address and (test) username and password?
I want to take a look myself, because at the moment I am not sure what is going wrong.
CryoGenID
01-10-2008, 11:52 AM
Thanks for your reply!
Sure, here is the data:
URL: http://helpdesk.xentea.com/scp/index.php
Username: admin
Password: test
If you enter the correct username&password it says: "Authentication Required"
If you enter a wrong username&password it says: "Invalid Login"
So the systems seems to check if username&password is correct... :confused:
Thanks for helping me :-)
Best regards,
Chris
Thanks for your reply!
Sure, here is the data:
URL: http://helpdesk.xentea.com/scp/index.php
Username: admin
Password: test
If you enter the correct username&password it says: "Authentication Required"
If you enter a wrong username&password it says: "Invalid Login"
So the systems seems to check if username&password is correct... :confused:
Thanks for helping me :-)
Best regards,
Chris
I get the same problem. Not that I thought it would be different btw :) but you never know.
It's hard to figure out what's wrong on someone else his server, but let's see what we can do.
The message "Authentication Required" is found in 3 files. Can you change 2 of them? I want to know which one shows up.
In ./scp/login.php change it to "Authentication Required 1" and
in ./scp/staff.inc.php change it to "Authentication Required 2".
Are you sure sessions are working? Can you do a test for yourself?
Edit: I sent a PM to you
CryoGenID
01-10-2008, 01:10 PM
Thanks a lot for your answer, I will answer via PM ;-)
dma02
01-14-2008, 05:00 PM
Hey,
Were you able to figure the issue with the admin login?
I've just completed my install and got the same error.
Please advise.
CryoGenID
01-15-2008, 09:08 AM
Hey :-)
We have solved it yesterday...
It was a problem with the Zend Optimizer which was deactivated...
Not it is running fine :)
Big thanks to 4ice and peter for your help! *ThumbsUp* :-)
Best regards,
Chris
mivex
01-17-2008, 03:33 PM
Sorry but i don't understand, i have always the same errors. duringthe login with my administrator user and password there is the same error :" Authentication Required"
what can I do to solve this problem?
mivex
01-18-2008, 10:13 AM
To solve the problem of "Authentication Required" you need to go on your DB mysql select the table OST_STAFF, click to show and go to your user admin string and modify, go to the tab "isactive" and change from 1 to 0.
after try to login.
I solved this problem in this way
Sparklesperson
01-26-2008, 12:01 AM
I seem to have my username correct, but I can't get in. I'm locked out now, I think.:(
Is there a way to reset that?
Patricia
I seem to have my username correct, but I can't get in. I'm locked out now, I think.:(
Is there a way to reset that?
Patricia
Try to add the following row in your database:
INSERT INTO `ost_staff` VALUES (0, 1, 1, 'testadmin', 'test', 'admin', 'd8578edf8458ce06fbc5bb76a58c5ca4', 'test@test.com', '', '', '', '', 1, 1, 1, 0, 0, 0, 0, NULL, 0, '2008-01-26 01:29:17', '2008-01-26 01:29:31', '2008-01-26 01:29:17');
This is a user of the group admins, login with:
Username: testadmin
Password: qwerty
Are you using version RC2?
Deceth
02-05-2008, 03:12 PM
Hello,
I just took the time to register to these forums to let those who are having this problem know how I solved it.
Many people may be experiencing this issue because of a problem with php_sessions.
My webhost, Ipower, recently migrated to a new hosting platform. In so doing, some of the changes have caused certain php powered applications to stop working. I believe this also affects a few other hosts such as Powweb and Ipowerweb, and any Ipower reseller hosts that just upgraded to vdeck 3.0.
With respect to this problem, the following is the solution I used.
I created a folder called "phpsessions" outside of my public_html folder. That is to say, if the following is the path to my public_html folder:
/home/users/web/blah/ipw.domain/public_html
then I created:
/home/users/web/blah/ipw.domain/phpsessions/
Next, open up "main.inc.php"
Look for:
//Start the session
session_start();
Replace with:
//Start the session ini_set("session.save_path","/home/users/web/blah/ipw.domain/phpsessions/");
session_start();
Hopefully this solution will help others experiencing the same problem. I believe you can also fix this problem by editing the php.ini file on your server, however since I am running multiple php application I thought it best to use this solution so as to not break anything else in the process of fixing this.