jonathanbolland / drydock

Automatically exported from code.google.com/p/drydock
0 stars 0 forks source link

cannot login into the admin area #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, i just installed drydock on my server (LAMP server).
Everything went fine but, i just can't log into the admin area, it gives me
this error:

" There was an error processing your request.
Possible causes:
Invalid username
Invalid password
Your account has not been approved
Your account has been disabled "

but i repeat, is a fresh install.

Any thoughts?

Thanks.

Original issue reported on code.google.com by fuzionwe...@gmail.com on 5 Feb 2009 at 3:17

GoogleCodeExporter commented 8 years ago
Which version of drydock are you using?  There have been some issues with 
logins that
might not be fixed in the trunk branch (but fixed in the SQLite branch).  Is
THsecret_salt defined in your config.php?

Original comment by all.sta...@gmail.com on 5 Feb 2009 at 3:42

GoogleCodeExporter commented 8 years ago
i'm using the trunk version actually.
the THsecret_salt isn't defined (it's blank) what should i have to write there?

thanks again

Original comment by fuzionwe...@gmail.com on 5 Feb 2009 at 3:50

GoogleCodeExporter commented 8 years ago
Write anything you want, but then you will need to md5 your salted passwords.  

Also, I thought this had been fixed?

If you need help with it, let me know.

Original comment by TaQS...@gmail.com on 22 Feb 2009 at 10:29

GoogleCodeExporter commented 8 years ago
Is there a fix for this on a revision? I'm having troubles with it also as I 
cannot 
log-in to the admin panel. (Also using the trunk 0.3.1)

Thanks.

Original comment by dj.n...@gmail.com on 4 May 2009 at 3:32

GoogleCodeExporter commented 8 years ago
I was still under the impression that something had been put into trunk to fix 
this
issue.  Perhaps this is not the case.  I'll try to look into it over the 
weekend or
next week once I start coding again.

Original comment by TaQS...@gmail.com on 22 May 2009 at 8:24

GoogleCodeExporter commented 8 years ago
Apparently this fix never made it back into trunk some how, so I copied a fix 
from
SVN build back into trunk.  Sorry that it took so long.

If you'd like to fix your build, grab configure.php from the trunk and run the 
config
script again.

Or, if you'd rather keep your install and just can't get it to work, you'll 
need to
manually define THsecret_salt in config.php (It can be anything, just make sure 
it's
something long and hard to guess), by adding
define("THsecret_salt","SOMETHINGHARDTOGUESS"); to config.php

Then run this script (save at salt.php, or something else):
<?php include("config.php"); echo md5(THsecret_salt."YOURPASSWORDHERE"); ?>
Place the resulting salted password into the database and delete the file you 
created
(salt.php)

Original comment by TaQS...@gmail.com on 7 Jul 2009 at 10:14