Hi,
Just recently using piwigo on Windows. Having trouble with the web upload very slow. Did some investigation and to do with fetchRemote function timing out. See http://piwigo.org/forum/viewtopic.php?id=25454
What is the purpose of fetchRemote in min\include\functions_upload.inc.php? I have commented out the call to fetchRemote and everything appears to work (photos uploaded and thumbnails generated). Is it to do with generating cache?
I suspect the problem is due to single PHP thread on Windows and fetchRemote uses curl to itself which will timeout as no new PHP thread available to handle the curl request. Not sure if the norm with Windows or just my setup (nginx and PHP cgi).
Piwigo version: 2.7.4
PHP version: 5.6.12
MySQL version: 5.6.26
Offline
Hello
that's your setup
some of the devs like me use windows without a problem
Offline
Thanks for the response. I will have another look at my PHP setup.
But can I ask, what is the purpose of fetchRemote function called at the end of each file upload? I have commented out that line and haven't noticed any missing functionalities.
Offline
if curl fails or is an issue you can disable it
https://github.com/Piwigo/Piwigo/blob/c … .php#L2026
several methods are tried successively is case of issues
Offline