The simpler media website CMS
Hello,
I just upgraded from Zenphoto 1.5.7 / PHP 7.4 to 1.6.5 / PHP 8.1.
Here's a few comments on the process. This is just a feedback, if it can help. This is not a support request :-)
Of course I had a few issues, mainly because of my setup or my competencies.
For example, I tried to go straight from 1.5.7 to 1.6.5... it didn't work :-) (and skipping versions is clearly not recommended by the Zenphoto doc. My bad).
I was in Zenphoto 1.5.7 on PHP 7.4. I downloaded all versions from this page:
https://www.zenphoto.org/news/older-versions-archive/
(1.5.8, 1.5.9, 1.6, 1.6.1, etc up to 1.6.5 from the front page).
I upgraded Zenphoto 3 times first: 1.5.7 => 1.5.8 => 1.5.9 => 1.6
Then I upgraded PHP 7.4 => 8.1
Then I upgraded Zenphoto again, 5 times between 1.6 and 1.6.5.
Between each upgrade I did a few tests of the admin page and the site.
Now 2 feedbacks :
1. Each time, the setup lists a few files to delete. Once there was zp-core/zp-extensions/mobileTheme/Mobile_Detect.php, I told the installer to delete it: then the site was not loading anymore. The debug.log said a "Failed opening required" ERROR. I restored the file and it worked.
2. Several times, I got the message, on the setup.php page, that skipping version is not recommended. This is strange because I was upgrading from 1.6.4 to 1.6.5, and it wrote I was skipping 91 versions or something.
So far it seems to work fine, you can visit here:
https://www.cactuspro.com/conophytum-lithops/
Have a nice week-end :-)
Comments
Thanks for the feedback:
Those lists are not directly meant to be deleted. It triggers on the file time being off the majority of the files that "might" indicate something is wrong. You should not delete them right away. Probably we should take this out as no "normal" user will have enough knowledge of the system what to do exactly.
That was a bug in older versions as the internal catalogue calculating that accidentally was missing some versions.
Glad you managed it overall!