Pages (2): 1 2   
Member
Member
hottuna   08-01-2009, 23:09
#1

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

Member
Member
sbillard   09-01-2009, 02:46
#2

http://www.zenphoto.org/support/topic.php?id=3760

Tell us more about your installation.

Member
Member
hottuna   09-01-2009, 03:23
#3

MySQL v5
PHP5
LigHTTP
ZenPhoto v1.2 -- New install

The administrators table is totally empty.

Member
Member
hottuna   09-01-2009, 23:13
#4

Err. Im actually running
zenphoto version 1.2.2 [2983]

Member
Member
sbillard   10-01-2009, 01:15
#5

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.

Member
Member
hottuna   10-01-2009, 03:56
#6

I've tried SVN trunk now
And apache2, and the combination.

Nothing yet, the exact same problem..

Member
Member
hottuna   10-01-2009, 03:57
#7

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.

Member
Member
sbillard   10-01-2009, 04:14
#8

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?

Member
Member
sbillard   10-01-2009, 04:16
#9

You might also set the DEBUG_LOGIN option to true in functions-basic.php. The debug output that creates might give a clue.

Member
Member
hottuna   10-01-2009, 12:40
#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

Member
Member
hottuna   10-01-2009, 14:05
#11

I didn't find anything interesting in the cgi-logs..

Member
Member
sbillard   11-01-2009, 00:15
#12

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.

Member
Member
hottuna   12-01-2009, 09:59
#13

Yes. That's exactly what I did.
To no great success though

Member
Member
hottuna   15-01-2009, 01:30
#14

Are there any other alternatives?

Member
Member
sbillard   15-01-2009, 02:19
#15

Not without you providing us some more information. See my post above.

Member
Member
hottuna   16-01-2009, 21:12
#16

Yes, I tried to save and administrator with those settings.

Member
Member
sbillard   17-01-2009, 02:17
#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.

Member
Member
hottuna   19-01-2009, 17:52
#18

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

Member
Member
hottuna   19-01-2009, 18:03
#19

If you still arent satisfied with the info tell me exactly what info you need. And I'll fetch if..

Member
Member
sbillard   19-01-2009, 18:10
#20

According to this log, you never saved the new admin information after the reset request. It is required you cave the changes.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.