![]() |
|
Zenphoto evaluation: cache issue - 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: Zenphoto evaluation: cache issue (/thread-13130.html) |
Zenphoto evaluation: cache issue - davidarnoult - 2018-09-19 Hello Zenphoto community! For many years, I have been using Drupal 6 + Gallery2 (menalto) combination to build a proper extendable CMS, getting all both world advantages. It rocked for many years. As you know, Gallery2 is now dead and Drupal 6 obviously old. The excellent module to integrate G2 in Drupal 6 is no longer developped either. But it does an excellent job. As you know, technology is moving forward and security with PHP updates are becoming a real issue. Then I definitely need to move on and prepare migration to another system, mostly one photo CMS oriented. After having eliminated Drupal itself as a solution (too far from the photo world), I have selected and been testing for months 2 serious systems that could replace my current one: Piwigo and Zenphoto. Zenphoto is a very good candidate with a good API/theming engine and strong documentation/dev resources, I quite like that. I am evaluating right now its performance. Finding it slow; I am exploring cache facility and it seems that I have problem with it with erratic behaviour. For some unexplained reason, some images cannot be pre cached generated. Image filesize: 21324420 Debug i.php | Arguments: Album: [ 2017/lisbonne ], Image: [ 2017-01-20-172918-lisboa-pt-2.jpg ] Image filesize: 21324420 Debug i.php | Arguments: On the front end, the image cannot be generated either on the go. Is there a way to check with debug why the generation fails? Thank you for your advice David Zenphoto evaluation: cache issue - acrylian - 2018-09-19 Thanks for the kind words in general ;-) Generally Zenphoto caches on request, when it is needed. Systems like Piwigo if I am not mistaken precache general sizes already on uploading. Which makes it seems faster. But themes or plugins can define their own custom sizes. The cachemanager can only cover image to pre-caching if all custom sizes a theme or plugin may need are properly registered. If you can you should try the support build (master) From GitHub as there as been some work regarding the cachemanager just recently. Testing is welcom. Why caching or more exact image processing failes can have several reasons. The most important one is the dimensions/resolution (not file size!) regarding memory usage: Other reasons can be corrupt meta data. The php server log and/or Zenphoto's own debug log should tell a fiew things. You can also click on the thumb (or icon in the master) on using the cachemanager to get some info about the image processing. Hope that helps for a start. Zenphoto evaluation: cache issue - davidarnoult - 2018-09-19 Thank you Acrylian. I will check with github version. How do you activate Zenphoto debug log? Zenphoto evaluation: cache issue - acrylian - 2018-09-19 The GitHub version is the 1.5.1beta so best don't try on an important live site. The general debug log is enabled by default. You can also enable "test release" mode using the Zenphoto evaluation: cache issue - davidarnoult - 2018-09-19 Thanks! I have identified the problem and solved it: php_value max_execution_time was too short. I modified it in htaccess and it has generated the image ;-) Other question: Do you have any idea when the next major release will be available? I will probably wait for it before migrating as it will be a big step for me... Merci. David Zenphoto evaluation: cache issue - acrylian - 2018-09-20 Good you found out! Sorry, we still cannot tell any specific date for the next major release. Too many things unfinished since we also have to work on 1.5.x. It's sadly all about time issues. We know we are way behind everything and are not really glad about it ourselves. I would not wait for that right now especially. We generally try to keep that major release as compatible as possible but changes are not avoidable. |