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
-Unzip on laptop
-FTP upload of zp-core, plugins, and themes folders
-Ran setup from elotono/zp-core/setup.php per instructions.
Please assist me with this as I have critical photos and text files. Thanks.
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.
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
[25-Jul-2010 06:37:55] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4423
[25-Jul-2010 06:37:55] PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4423
[25-Jul-2010 06:42:11] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4432
[25-Jul-2010 06:42:11] PHP Parse error: syntax error, unexpected '"' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4432
[/blockquote]
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.
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;
IndexIgnore *
RewriteEngine On
RewriteBase /elotono
RewriteRule ^admin/?$ zp-core/admin.php [R,L]
RewriteCond %{QUERY_STRING} ^rss-(.*)&
RewriteRule ^index\.php?$ index.php?rss=%1 [NC,L,QSA,R=301]
RewriteCond %{QUERY_STRING} ^rss-(.*)$
RewriteRule ^index\.php?$ index.php?rss=%1 [NC,L,QSA,R=301]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^tiny/([0-9]+)/?$ index.php?p=$1&t [L,QSA]
RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/([0-9]+)/?$ index.php?p=$1&page=$2 [L,QSA]
RewriteRule ^(.)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.)/page/([A-Za-z0-9_-]+)/?$ index.php?album=$1&p=$2 [L,QSA]
RewriteRule ^page/search/fields([0-9]+)/(.)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA]
RewriteRule ^page/search/fields([0-9]+)/(.)/?$ index.php?p=search&searchfields=$1&words=$2 [L,QSA]
RewriteRule ^page/search/archive/(.)/([0-9]+)/?$ index.php?p=search&date=$1&page=$2 [L,QSA]
RewriteRule ^page/search/archive/(.)/?$ index.php?p=search&date=$1 [L,QSA]
RewriteRule ^page/search/tags/(.)/([0-9]+)/?$ index.php?p=search&searchfields=tags&words=$1&page=$2 [L,QSA]
RewriteRule ^page/search/tags/(.)/?$ index.php?p=search&searchfields=tags&words=$1 [L,QSA]
RewriteRule ^page/search/(.)/([0-9]+)/?$ index.php?p=search&words=$1&page=$2 [L,QSA]
RewriteRule ^page/search/(.)/?$ index.php?p=search&words=$1 [L,QSA]
RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^news/?$ index.php?p=news [L,QSA]
RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
RewriteRule ^news/category/(.)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
RewriteRule ^news/category/(.)/?$ index.php?p=news&category=$1 [L,QSA]
RewriteRule ^news/archive/(.)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
RewriteRule ^news/archive/(.)/?$ index.php?p=news&date=$1 [L,QSA]
RewriteRule ^news/(.)/?$ index.php?p=news&title=$1 [L,QSA]
RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]
RewriteRule ^(.*)/album/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2&album=true [L,QSA]
RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]
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
[25-Jul-2010 06:37:55] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4423
[25-Jul-2010 06:37:55] PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4423
[25-Jul-2010 06:42:11] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4432
[25-Jul-2010 06:42:11] PHP Parse error: syntax error, unexpected '"' in /home3/immacul2/public_html/elotono/zp-core/template-functions.php on line 4432
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?
the .htaccess line IndexIgnore * does not work on some installations. Remove it.
As said before, the other errors are not possible with the 1.4.3 template-functions.php file unless it has been corrupted.
The name of the folder where you install Zenphoto does not matter.