ZenphotoCMS Forum
Cant re-run setrup - 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: Cant re-run setrup (/thread-13633.html)



Cant re-run setrup - jwaltrip4 - 2021-08-15

ZP 1.5.9

I go into Admin, and see this.

Zenphoto has detected a change in your installation.
Your database software has changed from MySQLi 8.0.25 to MySQLi 8.0.26.
The script SIGNATURE_HASH has changed.
The change detected may not be critical but you should run setup at your earliest convenience




Cant re-run setrup - sbillard - 2021-08-15

HTTP 500 errors typically are caused by file permissions that prevent the server from accessing the script. Check that the setup scripts did indeed get "restored" and also check their file permissions.




Cant re-run setrup - jwaltrip4 - 2021-08-16

this in the setup folder?




Cant re-run setrup - acrylian - 2021-08-16

Yes. If they don't have a .php suffix, they have not been restored correctly.




Cant re-run setrup - jwaltrip4 - 2021-08-16

OK, they do have PHP suffix. Same issue 500 error




Cant re-run setrup - acrylian - 2021-08-16

Then it probably will be permissions as mentioned.




Cant re-run setrup - jwaltrip4 - 2021-08-16

Permissions are rwxrwxrwx




Cant re-run setrup - acrylian - 2021-08-16

Please see here: https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/




Cant re-run setrup - jwaltrip4 - 2021-08-16

My permissions are compliant. Since I am troubleshooting I have given full permissions.




Cant re-run setrup - acrylian - 2021-08-16

If I access the link above I see a blank page. A 500 error normally throws a server warnung. Sure you don't get a PHP fatal error actually?




Cant re-run setrup - jwaltrip4 - 2021-08-16

[Mon Aug 16 13:21:12.866575 2021] [php7:error] [pid 3033342] [client 91.42.189.114:50541] PHP Fatal error: require_once(): Failed opening required '/var/www/cms.brownleefamily.us/zp-core/functions-db-mysqli.php' (include_path='.:/usr/share/php') in /var/www/cms.brownleefamily.us/zp-core/setup/index.php on line 288

This9is the error I see in the syslog




Cant re-run setrup - acrylian - 2021-08-16

That likely is the reason. Since the error has the file all lowercase this indicates that this is not 1.5.9 but probably 1.6a or a mixup of both.. In 1.6a all core files were renamed to lowercase. in 1.5.9 that file is named functions-db-MySQL.php.

1.6a should not be used on live production sites yet.




Cant re-run setrup - jwaltrip4 - 2021-08-16

ok.... so I basically need to re-download 1.59 and reapply it....




Cant re-run setrup - acrylian - 2021-08-16

Yes, in this case that will work. But really caution with "downgrades" in the future as a new relaese especially minor-major or more version jumps may have database changes that can be incompatible as well. But that is not the case with 1.6.a and 1.5.9.




Cant re-run setrup - jwaltrip4 - 2021-08-19

Still did not work.... downloaded 1.5.9, overwrote all of files in web.




Cant re-run setrup - acrylian - 2021-08-19

Make sure your FTP client really overwrite the files correctly and is not set to ignore the case of filenames. Check if the file in question exists.




Cant re-run setrup - jwaltrip4 - 2021-08-19

tricksy Linux commands... Corrected my copy command and that fixed it. Sorry, thanks




Cant re-run setrup - acrylian - 2021-08-20

Great, you found it!