I am using piwigo 2.1.5. When going to Administration->Plugins->Manage->Check for updates I get an error mesage "Connection to server impossible.". Same when I go to "Other plugins available".
Could someone suggest a way to debug this? What server is piwigo trying to contact?
Offline
What are the read/wrote permissions on the plugins directory?
Offline
berthierp wrote:
What server is piwigo trying to contact?
Piwigo tries to contact piwigo.org.
Go to the Administration homepage screen and click on Check for upgrade screen. What happens?
Offline
I'm having the same problem - did you ever solve it?
If I click on "Check for upgrade", I get the error message "Unable to check for upgrade.". So obviously, there's something wrong with outgoing connections. Everything else appears to be working as it should. Any suggestions?
sebhoff
Offline
OK - I think I found the culprit: I need to use a proxy server for outgoing http-connections. I haven't found how to do this when I had a quick look - any pointers?
Sebastian
Offline
I have found a solution to my original problem. I am now running piwigo 2.2.4 under OpenBSD 4.7. In order to get the checking of plugins/update working, I had to do the following:
1) install the php5-curl package:
pkg_add php5-curl
ln -fs /var/www/conf/php5.sample/curl.ini \
/var/www/conf/php5/curl.ini
2) turn allow_url_fopen to On in /var/www/conf/php.ini
3) because the chrooted apache needs name resolution, I have copied the resolv.conf file into its jail:
mkdir -p /var/www/etc
cp /etc/resolv.conf /var/www/etc/
chown -R root:daemon /var/www/etc/
4) restart apache
apachectl stop
apachectl startssl
thx for the tip
Offline
I moved my 2.5 gallery from a webhosting provider to my own VPS. I'm new to configuring servers so pretty much everything may have gone wrong ;)
After the transfer I haven't been able to access the "Check for upgrade" or the "Other plugins available" pages without getting this same error message.
I've also tried to set the permissions for the plugins folder to 777 for files and folders recursively.
I did what Pierre suggested but that didn't fix it for me. Using Debian 7, PHP 5.4.24-1, mysql Ver 14.14, Apache/2.2.22
Any clues what I could try next?
Didn't notice I wasn't logged in when I posted this :/ I guess I could get some sleep now.
Offline