Updated to 1.2 a couple of weeks ago and all seemed to go well. I then noticed that the comments was throwing up an error. No big problem, I disabled the comments for now. I then stumbled across another problem... Normally I leave myself logged in to Admin. I logged out to check that a hidden album was 'hidden'. Now I can't log back in!
I get the following error:-
------------------------------
Warning: unpack(): Type H: outside of string in /websitename/zp-core/auth_zp.php on line 52
Warning: Cannot modify header information - headers already sent by (output started at /websitename/zp-core/auth_zp.php:52) in /websitename/zp-core/admin-functions.php on line 185
------------------------------
Pretty sure that this is the same as I was getting with the comments section.
Is this down to the version of PHP or something else? What can I do to sort it out? Thanks.
Comments
Warning: unpack(): Type H: outside of string in /websitename/zp-core/functions.php on line 2377
Check your username and password and try again.
Warning: unpack(): Type H: outside of string in /websitename/zp-core/functions.php on line 2380
So I take it that the nightly build doesn't fix this then?
You need to upgrade your PHP, but not to 5.0.3! The bug is in 4.3.10 and 5.0.3.
EDIT: Just noticed that you said when you log off you are redirected to the upgrade page. Did you run setup after you loaded the nightly build? If not you need to. Zenphoto detects when the files have been upgraded and redirects you to the setup page so that you will run it to make any database changes that might be needed.
Warning: unpack(): Type H: outside of string in /websitename/zp-core/auth_zp.php on line 52