![]() |
|
1.4.3 Upgrade - Cannot Login - 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: 1.4.3 Upgrade - Cannot Login (/thread-10227.html) |
1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 I am attempting to upgrade to 1.4.3 and after running setup, I am completely locked out of my galleries. The error message I am getting is "There was an error logging in. Check your user name and password and try again." I am completely sure my user name and password are correct. The methodology used to upgrade was: -Download ZIP of 1.4.3 to local laptop Please assist me with this as I have critical photos and text files. Thanks. 1.4.3 Upgrade - Cannot Login - sbillard - 24-07-2012 Follow the troubleshooting guide on "forgotten passwords". 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 Can you refer to this troubleshooting guide's link? I cannot find it. 1.4.3 Upgrade - Cannot Login - fretzl - 24-07-2012 http://www.zenphoto.org/news/troubleshooting-guide#troubleshooting-security 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 So to be clear, the solution is to delete the Admin table and re-run setup. Is that correct? Furthermore, I am not clear about which line in the htaccess file to uncomment (ie remove the hash tag.) Is it: RewriteRule ^index.php$ zp-core/zp-extensions/site_upgrade/closed.html [NC,R=302,L] -or- RewriteRule ^$ plugins/site_upgrade/closed.html [NC,R=302,L] Notice also that I adjusted the path in line 15 to reflect where the file is actually located. Is this correct? Thank you. 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 I dropped the Admin table and reran setup (re-uploaded the setup php script to the core folder.) I got a clean page with the Go button, clicked, and then was taken to a 500 Internal Server Error page. Any thoughts on why I got the 500 error? 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 Here is an update: I can go to the root page without a problem, that is http://www.immaculatemoney.com However, I still get the HTTP 500 error when going to the directory in which I have had ZP located, that is http://www.immaculatemoney.com/elotono. Are there any clues to look for in the htaccess file that could explain this? [strong]EDIT[\strong] Here is the change log: [blockquote][25-Jul-2010 06:26:17] PHP Parse error: syntax error, unexpected ';' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4433 1.4.3 Upgrade - Cannot Login - sbillard - 24-07-2012 check your file permissions and try without the .htaccess file. 500 errors are caused by the server refusing to serve up the page. 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 Sbillard, Many thanks- I will check now. I know that they were set to 666 level. Should I do 777 for the .htaccess file? For now, I will delete htaccess (after backing up) and post my findings. 1.4.3 Upgrade - Cannot Login - sbillard - 24-07-2012 The errors you post are an indication of a corrupted FTP upload. Those lines in 1.4.3 cannot cause the errors shown. A corrupted upload could also cause the 500 errors. The file permissions are correct for the files presuming your server does allow them. You can try 0777, but many servers consider that too loose and will give errors. Sorry, but this is a server unique thing. Well behaved and configured servers work with 0666. For all others you have to experiment. 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 The problem is definitely in the htaccess file: /home3/immacul2/public_html/elotono/.htaccess: Invalid command 'htaccess', perhaps misspelled or defined by a module not included in the server configuration Here is my htaccess file, please assist me in correcting: htaccess file version 1.4.3.1; When Zenphoto requires changes to the rewrite rules:First make a copy of this file as 'oldhtaccess' in the zp-core folder so setup can test for unmodified filesUpdate the above and the define in setup.phpIndexIgnore * RewriteEngine On RewriteBase /elotono Redirection for site updates--remove the comment crosshatches from the following rules"closed.html" in the plugins/site_upgrade folder is the target for the rewrites. You can changethis file to suit your needs.RewriteRule ^index.php$ plugins/site_upgrade/closed.html [NC,R=302,L]RewriteRule ^$ plugins/site_upgrade/closed.html [NC,R=302,L]End redirection for site updatesRewriteRule ^admin/?$ zp-core/admin.php [R,L] Rewrite rules for replaced ?RSS-xxx query parameters
RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME} -f [OR] put no rules before this linerewrite rule for tinyURLsRewriteRule ^tiny/([0-9]+)/?$ index.php?p=$1&t [L,QSA] RewriteRule index.php$ index.php [L,QSA] Rewrite rule addition for searchRewriteRule ^page/search/fields([0-9]+)/(.)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA] Rewrite additions for zenpage
RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA] RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA] Catch-all - everything else gets handled in PHP for compatibility.RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA] 1.4.3 Upgrade - Cannot Login - Jondavman - 24-07-2012 I added back the setup files and the 500 error went away; it allowed me to initiate setup again, up to the point of clicking GO button. I got the same error: [25-Jul-2010 06:26:17] PHP Parse error: syntax error, unexpected ';' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4433 From what I can glean from this, the password redirect is not loading properly. Please Note: I have Zen in directory called elotono, NOT ZenPhoto. Does this require me to make adjustments before I hit the GO button? 1.4.3 Upgrade - Cannot Login - sbillard - 24-07-2012 the .htaccess line As said before, the other errors are not possible with the 1.4.3 The name of the folder where you install Zenphoto does not matter. |