Creating Admin account during setup fails. - hottuna - 2009-01-08
Hi!
I've run the installation and it works flawlessly (ie filling my sql schema with table and populating some tables). I enter the setup admin account dialogue and fill it up, but when I've submitted it I'm redirected back to the same page asking me to create an admin account.
I've looked in the administrators table, but nothing has been entered into it.
Since writing to the tables worked before I dont understand whats wrong.
I get 2 dialogues:
*Password reset request.
You may now set admin usernames and passwords.
*Saved
Creating Admin account during setup fails. - sbillard - 2009-01-09
http://www.zenphoto.org/support/topic.php?id=3760
Tell us more about your installation.
Creating Admin account during setup fails. - hottuna - 2009-01-09
MySQL v5
PHP5
LigHTTP
ZenPhoto v1.2 -- New install
The administrators table is totally empty.
Creating Admin account during setup fails. - hottuna - 2009-01-09
Err. Im actually running
zenphoto version 1.2.2 [2983]
Creating Admin account during setup fails. - sbillard - 2009-01-10
Since it is a new install, I suggest you try the nightly build to see if that makes a difference. Also, if possible, try with an Apache server.
Creating Admin account during setup fails. - hottuna - 2009-01-10
I've tried SVN trunk now
And apache2, and the combination.
Nothing yet, the exact same problem..
Creating Admin account during setup fails. - hottuna - 2009-01-10
Is there a way to disable password hashing for admin accounts?
If i can disable it i can easily create a new account and see if thats the problem.
Creating Admin account during setup fails. - sbillard - 2009-01-10
With the nightly build there is a script--functions-auth.php which contains the hashing function. You can change it to use the password in clear text.
But if you admin table is empty then the sql update is not happening so you will just run into some other difficulty. Have you checked your CGI error logs to see if any errors were generated?
Creating Admin account during setup fails. - sbillard - 2009-01-10
You might also set the DEBUG_LOGIN option to true in functions-basic.php. The debug output that creates might give a clue.
Creating Admin account during setup fails. - hottuna - 2009-01-10
This is the output i get from debug_log:
Thanks for the help by the way.
zp_getCookie(dynamic_locale): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= zp_getCookie(zenphoto_auth): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin.php [11] no admin or reset request zp_getCookie(dynamic_locale): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= zp_getCookie(zenphoto_auth): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request zp_getCookie(dynamic_locale): SESSION[]=, COOKIE= zp_getCookie(dynamic_locale): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= zp_getCookie(zenphoto_auth): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request zp_getCookie(dynamic_locale): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= zp_getCookie(zenphoto_auth): SESSION[b55c20c14e2e4e5b01db826547be8b1c]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request
Creating Admin account during setup fails. - hottuna - 2009-01-10
I didn't find anything interesting in the cgi-logs..
Creating Admin account during setup fails. - sbillard - 2009-01-11
That is just telling us that the administrators table is empty. Did you attempt to save an adminsitrator with this debug setting? That would be the interesting debug data.
Creating Admin account during setup fails. - hottuna - 2009-01-12
Yes. That's exactly what I did.
To no great success though
Creating Admin account during setup fails. - hottuna - 2009-01-15
Are there any other alternatives?
Creating Admin account during setup fails. - sbillard - 2009-01-15
Not without you providing us some more information. See my post above.
Creating Admin account during setup fails. - hottuna - 2009-01-16
Yes, I tried to save and administrator with those settings.
Creating Admin account during setup fails. - sbillard - 2009-01-17
The debug data you provided DOES NOT SHOW a save of the admin. Unless you can provide that debug information we will have NO clue as to what is happening.
Creating Admin account during setup fails. - hottuna - 2009-01-19
Hi. I deleted my debug_log.txt file and did a single create admin accout retry.
This is th result:
zp_getCookie(dynamic_locale): SESSION[]=, COOKIE= zp_getCookie(zenphoto_auth): SESSION[]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (template-functions.php [13]) from index.php [15] no admin or reset request zp_getCookie(zenphoto): SESSION[]=, COOKIE= zp_getCookie(zenphoto_image_search_params): SESSION[]=, COOKIE= zp_getCookie(dynamic_locale): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKI$ zp_getCookie(zenphoto_auth): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-edit.php [11] no admin or reset request zp_getCookie(dynamic_locale): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKI$ zp_getCookie(zenphoto_auth): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-plugins.php [10] no admin or reset request zp_getCookie(dynamic_locale): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKI$ zp_getCookie(zenphoto_auth): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request zp_getCookie(dynamic_locale): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKI$ zp_getCookie(zenphoto_auth): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request zp_getCookie(dynamic_locale): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKI$ zp_getCookie(zenphoto_auth): SESSION[74ef5f4fd5fc6fa946032bbd6a2d0077]=, COOKIE= Backtrace: checkAuthorization() checkAuthorization called from require_once (auth_zp.php [33]) from require_once (classes.php [12]) from require_once (class-load.php [6]) from require_once (admin-functions.php [16]) from admin-options.php [10] no admin or reset request
Creating Admin account during setup fails. - hottuna - 2009-01-19
If you still arent satisfied with the info tell me exactly what info you need. And I'll fetch if..
Creating Admin account during setup fails. - sbillard - 2009-01-19
According to this log, you never saved the new admin information after the reset request. It is required you cave the changes.
|