PDA

View Full Version : Unable to get past initial admin/passwd login phase...


juror8
26-04-05, 07:37 AM
Now I know that there have been quite a few people with the same problem I am currently encountering, but after reading all of the responses, it doesn't look like my issue applies to any post that I have read thus far. Let me explain the problem...

- This is a new install, not an upgrade and I am currently using version 2.0.1
- The MySQL database creation was flawless and didn't give any errors
- From the check.php file, I am receiving no errors regarding the installation...

MySQL Available OK
MySQL Server Version 4.1.7
MySQL Database Connection Connected OK
MySQL Database Select Selected OK
Operating System Linux 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686
PHP Version 4.3.9 OK
Server API apache2handler
Web Server Apache/2.0.52 (Red Hat)
User Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; HCSC Custom IE 6 build HCSC20020522a)
default locale C

session.auto_start Disabled OK
session.save_handler files
session.save_path /var/lib/php/session OK
session.serialize_handler php
session.use_cookies Enabled OK
session.use_trans_sid Disabled OK
file_uploads Enabled OK
/locales/en directory writable Yes OK
/files directory writable Yes OK
/files/temp directory writable Yes OK
root_dir /var/www/html/dotproject


- The dotproject database installation went smoothly also...

Progress:
Applying database updates
There were 0 errors in 1 SQL statements
Applying data modifications
Updating version information
Creating config



Database Installation Feedback: Database successfully setup


Config File Creation Feedback: Config file written successfully

Login and Configure the dotProject System Environment

- And furthermore, when I check the database information in MySQL, I do see the entry for the 'admin' user and it does show the exact MD5 hash that I saw from a previous post, telling me that the user was in-fact created successfully.

- I am still getting a "login failed," using the admin/passwd credentials.

- The only thing that I noticed compared to others' installations is the following line from the install process...

There were 0 errors in 1 SQL statements

- Everyone else seems to have something like 198 and I was wondering if this could be the problem

- If anyone has any recommendations, I would be more than happy to try them or to answer any questions better.

Thank you in advance.

Joe

MatthewGann
26-04-05, 07:49 AM
I'm having the exact same problem at this point. I can't get passed the initial login screen.

I even tried resetting the password in mysql (choosing PASSWORD as the field type in phpmyadmin) and that still gives me the big "login failed."

jgctrg
26-04-05, 12:59 PM
This is my problem, too.

ajdonnison
26-04-05, 05:33 PM
The problem is that you have installed the database manually using the SQL file and then tried to use the installer. This is not the way to do it. You must now drop the database or at least remove the tables you created with dotproject.sql, and then remove includes/config.php and use the installer to create the database.

juror8
27-04-05, 01:55 AM
Wow, thanks for the help. That worked like a charm. I guess I was mixing directions from the older version and the newer one and was banging my head against the wall.

Thanks again

MatthewGann
27-04-05, 04:03 AM
I did do it from the installer...twice.

I'll try again tho :-)

jgctrg
27-04-05, 04:18 AM
The problem is that you have installed the database manually using the SQL file and then tried to use the installer. This is not the way to do it. You must now drop the database or at least remove the tables you created with dotproject.sql, and then remove includes/config.php and use the installer to create the database.
I don't even know how to do what you describe, but I'll delete everything again and give it one more try. Thanks.

jgctrg
27-04-05, 09:42 AM
Looks like I got it successfully installed after deleting database and recreating through installer (as I did the first two times). I suspect I had some sort of trouble with original FTP transfer, or problems with directory permissions. Anyway, I'm happy to report install success.
Onward, and thank you for replying, although I still don't understand your answer, truthfully.

slain
30-04-05, 12:28 PM
Well I can't seem to get past the inital login :( tried mulitple installs,
tried the check.php and all seems ok. The admin hash is as it should be and the entire install seemed to go smoothly enough.

I thought it might be some wierd permission issue so I chown'd it to apache and set the entire directory to 777 in desperation, and still no luck.

specs as follows
Dotproject Version 2.0.1
MySQL Server Version 3.23.58
PHP Version 4.3.8
Web Server Apache/2.0.51
Operating System Linux 2.6.5-1.358smp

any ideas what could be going on here??

cheers

NomadPCs
04-05-05, 04:18 AM
The problem is that you have installed the database manually using the SQL file and then tried to use the installer. This is not the way to do it. You must now drop the database or at least remove the tables you created with dotproject.sql, and then remove includes/config.php and use the installer to create the database.

I can't get it to work, either. I've had lots of trouble with PHP and MySQL 4.1 with authentication not working. I've had to use the mysql OLD_PASSWORD() function in many cases to make things work right, but am not having any luck in this case.

I *did* use the GUI installer, never even tried it command line. I did need to add a username/password to mysql with the OLD_PASSWORD function to get it to install a database at all. BUT - login always fails and tells me I need to enable cookies to log in, which I don't think has anything to do with the actual problem. (I tried 3 different browsers, all have cookies enabled)

Config:
PHP 4.3.10 (installed from source, not RPM)
Apache 1.3.33 (installed from source, not RPM)
Linux version Fedora Core 3
MySQL 4.1.10a (binary install)

Any help would be appreciated.

NomadPCs
04-05-05, 04:44 AM
OK, apparently I am just dumb. But, I'm going to post it here because I'll bet at LEAST one other person out there did the same thing I did.

I'm not sure if there's a bug in a help page/file out there somewhere or if I just misread it. (likely the latter..)

I was using username "admin" and password "password" -- instead of password "passwd".

Did that and now it works fine.