ZenphotoCMS Forum
Gallery blank, could be PHP upgrade? - 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: Gallery blank, could be PHP upgrade? (/thread-13735.html)

Pages: 1 2


Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Hi.

My ZenPhoto install has just disappeared and the page is blank. I did manage to get into the /zp-core/admin.php but now it just seems to be hanging. My host is DreamHost. I see I'm on PHP 7.4

@Acrylian, is there anyway I could hire you to get the install working again? It's mostly a legacy site of fashion week images, but I am trying to add to it regularly again and would love to have it working.

Thanks,

Simon




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Just to clarify my bad articulating above. The install is still all on the server etc. It's just not showing anything when you go to the gallery.

Trying to load the backend I get: 504 Gateway Timeout (whatever that means).




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

Please review the debuglog and if you can the PHP error log of the server. Also please post the Zenphoto version.
If you cannot access both via the install itself you can directly via FTP. The log is within /zp-data and the version in /zp-core/version.php

is there anyway I could hire you to get the install working again?

Theoretically yes but if you are not in Germany it may be a bit complicate sadly. Please contact me directly, see https://www.zenphoto.org/pages/paid-support/




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Thank you for the speedy reply.

I will FTP in now and take a look.

If payment is an issue, I can get my sister in Dusseldorf to pay you?




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

No payment is not the issue, bureaucratic things are respectively may… More on that if you contact me directly.




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Okay, I've just FTP'd in using FileZilla.

in /zp-data there is a bunch of debug.log files, going to debug-10.log but I see the last dates on them were in 2017?

And there is no version.php file in the folder.

Not sure what to do?




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

No, look at the debug.log one without number. For some reason we just number the archived older ones (will put it on the list to use a date string instead).




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Thanks - managed to pull it and it's a huge file. The last updates were in 2017 to it.

Still trying to see what version I have of the install as there's no version.php




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Managed to get into the admin page and got the following:

Zenphoto version 1.5.7 (Official build)
Server software: Apache
PHP version: 7.4.15
PHP memory limit: 500M (Note: Your server might allocate less!)
MySQLi version: 8.0.28

So I chose to re-install and the Mod_rewrite check was in red at the end. Is this a potential issue?




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

That sounds as if all is so far as if everything should work. 1.5.7 ist a bit older already though (well 1.5.9 is from last year, too).

Still trying to see what version I have of the install as there's no version.php
There must be one within /zp-core.

I doubt that modrewrite is the reason as the homepage at least should work. Furthermore the modrewrite check not always 100% reliable as there is no exact way to check it.

If there is really no error that is unfortunate. What theme are you using?




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

And/or any third party plugins used?




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Thanks Acrylian.

Plug-ins are only standard installed ones.
Theme is just a modified (basic changes, as in logo and colours) ZenPage.

How do I update to 1.5.9? Not really sure, and would it affect the albums + database?

Thanks




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

22 active plugins:
cacheManager
class-video
contact_form
deprecated-functions
hitcounter
iOS
keyboardnav-extended v1.0.1
print_album_menu
reCaptcha
rewriteTokens
rss
security-logger
site_upgrade
tinymce4
tinyURL
trivialSpam
uploader_http
uploader_jQuery
userAddressFields
zenpage
zenphoto_news
zenphoto_sendmail




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

iOS is for sure not an official plugin, so might (or might not) be a reason for trouble. It should be in the /plugins/. To disable it without backend access, just remove it from there (it might be a php file and a folder of the same name).

Depending when you made the changes to the Zenpage theme it of course might be missing a change. However since the install has not been updated since 1.5.7. the sudden problem is rather not related to that itself.

You find the update instructions here:
https://www.zenphoto.org/news/installation-and-upgrading/
It's a bit technical, sorry.




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

Not really sure, and would it affect the albums + database?

No, it "should" not but a (database) backup is always recommended. For the database there is an included tool.




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Thanks, I'll get onto this right away and delete the iOS folder. I think I tried putting that in there about 10 years ago. haha.




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

That still exists but last update seems to be 5 years ago.
https://github.com/djmonta/zenphoto-iOS-plugin/

It might or might not cause trouble.




Gallery blank, could be PHP upgrade? - acrylian - 03-08-2022

Another obvious thing you can test taht cause blank page is the file and folder permissions: https://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders/

These do not cause log entries. These things can (although should not) happen if the host does some updates or internal migrations on servers.




Gallery blank, could be PHP upgrade? - SimonD - 03-08-2022

Checking this now, have deleted and disabled iOS.




Gallery blank, could be PHP upgrade? - SimonD - 04-08-2022

So I took time to try the following:

  • all permissions
  • changed the theme to the basic one
  • database check

And still just have a generated blank file (with nothing in it) for the site page.