Hi,
I recently switched to a new server..I'm not exactly sure what's going on, perhaps I'm missing a server configuration of some sort...
for some of my albums, when you click on a thumbnail, the image will not load until you refresh the page, this album is a good example: https://gallery.andrewshemo.com/index.php?/category/263
any ideas?
Piwigo version: 2.10.2
PHP version: 7.3
Web server: nginx 1.17
MySQL version: mariadb 10.2
Piwigo URL: https://gallery.andrewshemo.com
thanks!
Offline
Works for me ¯\_(ツ)_/¯
Try clearing your browser cache.
Offline
I reproduced the issue.
Try increasing php_value max_execution_time in php.ini
That might give the server more time to generate the preview before it times out.
Offline
it's already set to 300, do you think I should increase it higher?
Offline
I bumped it up to 360 and restarted nginx & php-fpm, verified the new time increase was there and it's still having the same issue.
Offline
@erAck,
is there any code I could add to one of the php files to see if it'd pinpoint any problems?
Offline
something I noticed is that it only seems to happen 1x per photo, if it does it initially....almost like it's a cache issue of some sort.
if I click on a photo that then doesn't load and hit refresh, it'll load. if I go back to the previous album location and then try to open the photo that I just loaded, it'll load the first time. I can then go back to that same photo the next day or a week from now and it'll load like normal...this is on different computers, in different browsers and without holding any local browser cache/cookies.
I'm pretty sure my piwigo folders are set up for chmod of 777..is there one for the cache I should look into or an admin setting I might need to change?
Last edited by andrewjs18 (2020-04-09 07:03:35)
Offline
sorry all, bumping this.
my gallery is only half usable at this point..
I went through my nginx.conf file and commented out all non-default configs to see if maybe a config settings was causing my issues...restarted nginx and nothing...still not always loading the photos on the first page load..
Offline
interesting. I was browsing around the forums earlier and came across this thread here: https://piwigo.org/forum/viewtopic.php?id=29381
so I tried stuffing this bit into my localfiles editor: $conf['graphics_library'] = 'ext_imagick';
and it seems to of fixed the issue I was having, the best I can see so far...
Offline