ZenphotoCMS Forum
Admin login keeps redirecting me to admin - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Admin login keeps redirecting me to admin (/thread-8787.html)

Pages: 1 2 3


Admin login keeps redirecting me to admin - thomis - 28-06-2011

after upgrading to 1.4.1 using latest release with fixed bug i get redirected to login screen when trying to access admin.
any ideas on how to solve this?




Admin login keeps redirecting me to admin - acrylian - 28-06-2011

Did you try everything that has been discussed on the forum?




Admin login keeps redirecting me to admin - sbillard - 28-06-2011

Probably you should also describe your setup--specially anything that might not be "standard" stuff. There are a few users having this problem, but since we cannot reproduce it and there no particular configuration descriptions exist, we have no guess as to the problem.

Maybe if everyone having the problem would describe in detail their configurations something would stand out.




Admin login keeps redirecting me to admin - thomis - 29-06-2011

i have a standard installasjon on my domain. use the zenpage plugin, and the zpGalleriffic v1.4 theme. other than that no other plugins other than included in release installed. 1 user who is admin (me) no need for users to log in on frontpage. Frontend of system works perfectly, only the backend that somehow is screwed up. My zenphoto installation worked perfectly on all previous versions but after upgrading to lates zenphoto version everything went bad.

Its tempting to cleanout everything and do a fresh install but then i loose years of data, comments etc

Is this enough info or how do i describe by installation in better detail? Any ideas on stuff to try?




Admin login keeps redirecting me to admin - sbillard - 29-06-2011

Well, the version of Zenphto (in the brackets) would help.
Also your server configuration. PHP version, MySql version, etc.
What options have you chosen? Things like secure-admin, mod_rewrite, etc. that impact how the site runs as opposed to theme configuration options.




Admin login keeps redirecting me to admin - sbillard - 30-06-2011

Everyone having this difficulty please try the nightly build of 29 June. Report if fixed or not.




Admin login keeps redirecting me to admin - fretzl - 30-06-2011

I tried the nightly build of 29 June on different installs.
I'll describe in some shorthand way what I did.
Hope this all makes some sense.

[b]Shared host upgrade[/b]

Was previously logged out -> copy new files -> site URL in browser does not trigger setup (everything works normal)
run setup -> login form -> no success
drop administrators table -> run setup -> setup page -> click "Go" ->page "You may set your admin user and password or run backup-restore" -> choose "set your admin user and password" -> access to admin -> admin tab redirects to overview...
click "backup/restore" -> restore database with previous backup (any backup seems to work) -> click admin tab -> login form -> success, everything works.

[i]Zenphoto version 1.4.1 [7601] (Official Build)
Current gallery theme: Default
PHP version: 5.2.13
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 96M
MySQL version: 5.0.77[/i]

[b]Local network webserver upgrade[/b]

Was previously logged in -> copy new files -> site URL in browser does not trigger setup (everything works normal)
run setup -> setup page -> click "Go" -> page with "You can now View your gallery or administer" -> choose "administer" -> success, everything works.

[i]Zenphoto version 1.4.1 [7601] (Official Build)
Current gallery theme: Default
PHP version: 5.3.2
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 128M
MySQL version: 5.1.49[/i]

[b]Local network webserver. Fresh install[/b]

copy new files -> site URL in browser triggers setup -> click "Go" -> page with:

[i]About to create tables...
Migrating lib-auth data version => version 3
Done with table create![/i]

-> click on "You need to set your admin user and password" -> admin page -> user tab redirects to overview...
drop administrators table -> run setup -> setup page -> click "Go" -> page with:

[i]About to create tables...
Migrating lib-auth data version => version 3
Done with table create![/i]

-> click on "You need to set your admin user and password" -> admin page -> user tab redirects to overview...
etc, etc.....
Could not get Zenphoto installed properly.

[i]Zenphoto version 1.4.1 [7601] (Official Build)
Current gallery theme: Default
PHP version: 5.3.2
Graphics support: PHP GD library bundled (2.0.34 compatible)
PHP memory limit: 128M
MySQL version: 5.1.49[/i]

[b]Local install (XAMPP) Trunk SVN (SVN update)[/b]

Was previously logged in -> copy new files -> site URL in browser triggers setup -> setup page -> click "Go" -> page with "You can now View your gallery or administer" -> choose "administer" -> success, everything works.

[i]Zenphoto version 1.4.1 [7607] (SVN)
Current gallery theme: Default
PHP version: 5.3.0
Graphics support: PHP GD library bundled ( 2.0.35 compatible)
PHP memory limit: 128M
MySQL version: 5.1.37[/i]




Admin login keeps redirecting me to admin - acrylian - 30-06-2011

So in short words the fix in the nightly did work?..:-)




Admin login keeps redirecting me to admin - fretzl - 30-06-2011

LOL ;-)




Admin login keeps redirecting me to admin - mowgli597 - 01-07-2011

Sadly I have the same problem and have tried the fixes noted above but to no avail. The admin login just keeps redirecting me back to the login page.

If I enter what I believe to be the correct user and password combination it returns me to the login page.

If I enter a known bad password it loops back to the login page but includes the warning message: "There was an error logging in. Check your username and password and try again."

Entering the username to request a password reset works - the email message is sent, I log in and change the password, am redirected to the login page and the problem repeats itself.

A new install using the latest nightly build (June 29) didn't fix it, although the setup accepted the admin username and password correctly during the update.

Dropping the administrators table and re-running setup created a new table and entries but the problem still persists.

[i]
URL: http://royal-signals.org.uk/zenphoto
Release level is 1.4.1 (7607)
Gallery theme is based on Zenpage
PHP 5.2.17
MySQL 5.0.92-community-log
Apache version 2.2.17
Comments on photographs enabled, using Mollom spam filter
RSS feed enabled on Gallery and Comments
Everything else standard as far as I can tell (but am unable to get into my configuration to be sure!)[/i]

Mike