![]() |
|
Unable to log in 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: Unable to log in to admin (/thread-12754.html) |
Unable to log in to admin - Bob03 - 2015-06-19 My site has inexplicably locked me out of admin, saying the user-id / password was incorrect (I copy these from my password database). The action which preceded this was an attempt via the host's cPanel to stop the activity log and stats tracking. I have gone through the reset password routine several times but it has not helped. I now keep getting a challenge question which I've not set and can't answer. I have followed the "Login and password problems" advice and dropped the administrators table in my database and then run setup.php. This results in the message “You must restore the setup files from the 1.4.6 [bbddab7675] release.” I'm now completely stumped. Any help or suggestions would be very much appreciated. I have a back-up of the site from immediately before discovering this problem and an export of the database made shortly after. Unable to log in to admin - acrylian - 2015-06-19 Re-download the 1.4.6 package from our archive and re-upload the setup files. That is in Normally you can restore them from the backend to re-run it but since you cannot access that you have to do that manually. Unable to log in to admin - Bob03 - 2015-06-21 Have done this. I re-uploaded the setup files – those in zp-core/setup of the 1.4.6 package. I then ran /ZenGallery/zp-core/setup.php which in turn ran /ZenGallery/zp-core/setup/index.php This generated an error message: ZenPhoto is installed in folder /ZenGallery but my home page is a static html page in the root directory. I took copies of the .htaccess files in the root directory and in folder /ZenGallery and then clicked the button "Replace the existing .htaccess file with the current version". The setup attempt had issued a number of warning messages including one about Zenphoto core files "Some files are missing or seem wrong" with a big long list including: I ignored this and pressed “Go” to re-run the setup, then clicked the link in “You need to set your admin user and password”. When I applied these changes (also setting the challenge question), at /ZenGallery/zp-core/admin-upload.php it said: All I can think of now is to re-instate my previous .htaccess files. Unable to log in to admin - acrylian - 2015-06-21 The file warnings are just that and can be ignored if you are sure about these files. Quote: I took copies of the .htaccess files in the root directory and in folder /ZenGallery and then clicked the button "Replace the existing .htaccess file with the current version". I have no idea about the upload issue. You should review the Zenphoto debug log and the server PHP log for issues. Wrong permissions for example could cause all sorts of problems. Unable to log in to admin - Bob03 - 2015-06-24 The htaccess file has been updated. Many thanks for your help but I think I have to give up on this. I had planned to switch host anyway, so I reckon it will be quicker to re-build the site from scratch. Having said that, I don't seem to be able to install the latest version of ZenPhoto on my new host. But if I can't solve that problem, it will have to be a subject for a separate forum posting. Unable to log in to admin - acrylian - 2015-06-24 The debug log is within [i]I can't find any reference to the server PHP log on my host's cPanel.[/i] It probably comes down to permissions. Some hosts have separate users for FTP upload and the actual scripts. You should also ask your host for help. |