NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
joepez
Sep 16, 2013Aspirant
Piwigo plugins and themes access
Anyone know to get Piwigo to access the plugins and themes from within the app?
I installed it, got it setup fine and am able to upload and view photos, but when I go to the Piwigo admin console and either the "Other plugins available" or the "Add a new theme" or really for that matter any Check for Updates tab, all I get is "Connection to server unavailable."
I have no problems accessing my albums, my router is redirecting properly, CURL is running in PHP, and everything else seems fine, except I can't download themes or plugins.
Any ideas?
I installed it, got it setup fine and am able to upload and view photos, but when I go to the Piwigo admin console and either the "Other plugins available" or the "Add a new theme" or really for that matter any Check for Updates tab, all I get is "Connection to server unavailable."
I have no problems accessing my albums, my router is redirecting properly, CURL is running in PHP, and everything else seems fine, except I can't download themes or plugins.
Any ideas?
10 Replies
Replies have been turned off for this discussion
- I had Piwigo installed under 6.0.8 on my RN312 and the updates all worked as they should. I uninstalled it for a while...then tried it again under 6.1.12 and get the same connection unavailable messge.
- joepezAspirantDo you recall if you needed to do anything to get it to work on 6.0.8?
- I do recall that the first thing that updated was the Piwigo version - to 2.5.2 - which means I had an earlier version installed at first. Will see if I kept that version and try reverting to see if it works.
- I just installed super-poussin's piwigo_1.1.1_all.deb file - (actually Piwigo v2.4.7) which is the one I think I installed under 6.0.8. Same problem, cant update, or access plugin updates etc. Maybe its someting in the ReadyNAS update 6.1.2?
- joepezAspirantProbably. I checked all of the settings that people mention on Piwigo's site for this same issue and everything is the way it should be on 6.1.2. Possible this is a new issue though I can't figure out what it could be.
- dsnpevlVirtuoso
joepez wrote: I installed it, got it setup fine and am able to upload and view photos, but when I go to the Piwigo admin console and either the "Other plugins available" or the "Add a new theme" or really for that matter any Check for Updates tab, all I get is "Connection to server unavailable."
I have exactly the same problem. Did anyone find a solution for this yet?
- dsnpevlVirtuosoThe message "Connection to server unavailable" is correct. The PHP code needs to retrieve information from piwigo.org, but the outgoing request seems to get blocked, or the response cannot get back. It could also be a DNS problem.
I put in some extra messages to appear in the browser inside /apps/piwigo/web/admin/include/functions.phpecho "<br>TRY TO READ FROM SOCKET: $host$path";
if (($s = @fsockopen($host,80,$errno,$errstr,5)) === false)
{
echo "<br>errno: $errno";
echo "<br>errstr: $errstr";
echo "<br>UNABLE TO READ FROM SOCKET";
return false;
}
This is the result:
TRY TO READ FROM SOCKET: piwigo.org/ext/api/get_version_list.php?category_id=10&format=php
errno: 113
errstr: No route to host
UNABLE TO READ FROM SOCKET
My guess is that when PHP issues the request towards piwigo.org, the response gets blocked on its way back to the NAS. Or the request is already blocked going out of the intranet by the NAS firewall, by the internet router or inside the ISP network. Not sure how to solve this, as this can have many causes.
With my browser I can read the content of the URL http://piwigo.org/ext/api/get_version_list.php?category_id=10&format=php. It displays:
a:50:{i:0;a:3:{s:2:"id";s:2:"76";s:4:"name";s:3:"2.6";s:13:"nb_extensions";s:2:"39";}i:1;a:3:{s:2:"id";s:2:"75";s:4:"name";s:3:"2.5";s:13:"nb_extensions";s:2:"49";}i:2;a:3:{s:2:"id";s:2:"72";s:4:"name";s:3:"2.4";s:13:"nb_extensions";s:2:"59";}i:3;a:3:{s:2:"id";s:2:"74";s:4:"name";s:5:"2.3.5";s:13:"nb_extensions";s:2:"18";}i:4;a:3:{s:2:"id";s:2:"73";s:4:"name";s:5:"2.3.4";s:13:"nb_extensions";s:2:"19";}i:5;a:3:{s:2:"id";s:2:"71";s:4:"name";s:5:"2.3.3";s:13:"nb_extensions";s:2:"22";}i:6;a:3:{s:2:"id";s:2:"70";s:4:"name";s:5:"2.3.2";s:13:"nb_extensions";s:2:"23";}i:7;a:3:{s:2:"id";s:2:"69";s:4:"name";s:5:"2.3.1";s:13:"nb_extensions";s:2:"35";}i:8;a:3:{s:2:"id";s:2:"68";s:4:"name";s:5:"2.3.0";s:13:"nb_extensions";s:2:"51";}i:9;a:3:{s:2:"id";s:2:"67";s:4:"name";s:5:"2.2.5";s:13:"nb_extensions";s:2:"39";}i:10;a:3:{s:2:"id";s:2:"66";s:4:"name";s:5:"2.2.4";s:13:"nb_extensions";s:2:"39";}i:11;a:3:{s:2:"id";s:2:"65";s:4:"name";s:5:"2.2.3";s:13:"nb_extensions";s:2:"45";}i:12;a:3:{s:2:"id";s:2:"64";s:4:"name";s:5:"2.2.2";s:13:"nb_extensions";s:2:"41";}i:13;a:3:{s:2:"id";s:2:"63";s:4:"name";s:5:"2.2.1";s:13:"nb_extensions";s:2:"54";}i:14;a:3:{s:2:"id";s:2:"62";s:4:"name";s:5:"2.2.0";s:13:"nb_extensions";s:2:"49";}i:15;a:3:{s:2:"id";s:2:"57";s:4:"name";s:5:"2.1.6";s:13:"nb_extensions";s:2:"27";}i:16;a:3:{s:2:"id";s:2:"56";s:4:"name";s:5:"2.1.5";s:13:"nb_extensions";s:2:"32";}i:17;a:3:{s:2:"id";s:2:"55";s:4:"name";s:5:"2.1.4";s:13:"nb_extensions";s:2:"31";}i:18;a:3:{s:2:"id";s:2:"54";s:4:"name";s:5:"2.1.3";s:13:"nb_extensions";s:2:"31";}i:19;a:3:{s:2:"id";s:2:"53";s:4:"name";s:5:"2.1.2";s:13:"nb_extensions";s:2:"33";}i:20;a:3:{s:2:"id";s:2:"52";s:4:"name";s:5:"2.1.1";s:13:"nb_extensions";s:2:"44";}i:21;a:3:{s:2:"id";s:2:"51";s:4:"name";s:5:"2.1.0";s:13:"nb_extensions";s:2:"43";}i:22;a:3:{s:2:"id";s:2:"50";s:4:"name";s:6:"2.0.10";s:13:"nb_extensions";s:1:"1";}i:23;a:3:{s:2:"id";s:2:"46";s:4:"name";s:5:"2.0.9";s:13:"nb_extensions";s:1:"5";}i:24;a:3:{s:2:"id";s:2:"45";s:4:"name";s:5:"2.0.8";s:13:"nb_extensions";s:2:"14";}i:25;a:3:{s:2:"id";s:2:"44";s:4:"name";s:5:"2.0.7";s:13:"nb_extensions";s:2:"15";}i:26;a:3:{s:2:"id";s:2:"43";s:4:"name";s:5:"2.0.6";s:13:"nb_extensions";s:2:"23";}i:27;a:3:{s:2:"id";s:2:"42";s:4:"name";s:5:"2.0.5";s:13:"nb_extensions";s:2:"24";}i:28;a:3:{s:2:"id";s:2:"41";s:4:"name";s:5:"2.0.4";s:13:"nb_extensions";s:2:"21";}i:29;a:3:{s:2:"id";s:2:"40";s:4:"name";s:5:"2.0.3";s:13:"nb_extensions";s:2:"22";}i:30;a:3:{s:2:"id";s:2:"39";s:4:"name";s:5:"2.0.2";s:13:"nb_extensions";s:2:"23";}i:31;a:3:{s:2:"id";s:2:"38";s:4:"name";s:5:"2.0.1";s:13:"nb_extensions";s:2:"25";}i:32;a:3:{s:2:"id";s:2:"37";s:4:"name";s:5:"2.0.0";s:13:"nb_extensions";s:2:"27";}i:33;a:3:{s:2:"id";s:2:"35";s:4:"name";s:5:"1.7.3";s:13:"nb_extensions";s:1:"4";}i:34;a:3:{s:2:"id";s:2:"30";s:4:"name";s:5:"1.7.2";s:13:"nb_extensions";s:1:"8";}i:35;a:3:{s:2:"id";s:2:"29";s:4:"name";s:5:"1.7.1";s:13:"nb_extensions";s:2:"16";}i:36;a:3:{s:2:"id";s:2:"28";s:4:"name";s:5:"1.7.0";s:13:"nb_extensions";s:2:"22";}i:37;a:3:{s:2:"id";s:2:"26";s:4:"name";s:5:"1.6.2";s:13:"nb_extensions";s:2:"14";}i:38;a:3:{s:2:"id";s:2:"25";s:4:"name";s:5:"1.6.1";s:13:"nb_extensions";s:2:"12";}i:39;a:3:{s:2:"id";s:2:"24";s:4:"name";s:5:"1.6.0";s:13:"nb_extensions";s:1:"9";}i:40;a:3:{s:2:"id";s:2:"22";s:4:"name";s:5:"1.5.2";s:13:"nb_extensions";s:1:"5";}i:41;a:3:{s:2:"id";s:2:"21";s:4:"name";s:5:"1.5.1";s:13:"nb_extensions";s:1:"5";}i:42;a:3:{s:2:"id";s:2:"20";s:4:"name";s:5:"1.5.0";s:13:"nb_extensions";s:1:"5";}i:43;a:3:{s:2:"id";s:2:"19";s:4:"name";s:5:"1.4.1";s:13:"nb_extensions";s:1:"2";}i:44;a:3:{s:2:"id";s:2:"18";s:4:"name";s:5:"1.4.0";s:13:"nb_extensions";s:1:"2";}i:45;a:3:{s:2:"id";s:2:"16";s:4:"name";s:5:"1.3.4";s:13:"nb_extensions";i:0;}i:46;a:3:{s:2:"id";s:2:"15";s:4:"name";s:5:"1.3.3";s:13:"nb_extensions";i:0;}i:47;a:3:{s:2:"id";s:2:"14";s:4:"name";s:5:"1.3.2";s:13:"nb_extensions";i:0;}i:48;a:3:{s:2:"id";s:2:"12";s:4:"name";s:5:"1.3.1";s:13:"nb_extensions";i:0;}i:49;a:3:{s:2:"id";s:2:"13";s:4:"name";s:5:"1.3.0";s:13:"nb_extensions";i:0;}} - dsnpevlVirtuosoThe problem seems to be on the outgoing side. Even with wget from the command line on the NAS, the piwigo site cannot be connected to.
someone@nas-FF-FF-FF:/apps/piwigo# wget -p piwigo.org
--2014-02-15 20:03:26-- http://piwigo.org/
Resolving piwigo.org (piwigo.org)... 5.135.164.182
Connecting to piwigo.org (piwigo.org)|5.135.164.182|:80... failed: No route to host.
someone@nas-FF-FF-FF:/apps/piwigo# wget -p http://www.piwigo.org
--2014-02-15 20:03:33-- http://www.piwigo.org/
Resolving http://www.piwigo.org (http://www.piwigo.org)... 5.135.164.182
Connecting to http://www.piwigo.org (http://www.piwigo.org)|5.135.164.182|:80... failed: No route to host.
Since I can access piwigo from a PC on the same intranet, the problem must lie in the NAS.- What would be blocking this outgoing HTTP request?
- How can I enable traffic originating from PHP and setup a connection towards piwigo.org:80?
- dsnpevlVirtuosoSeems the problem could also be at your ISP that may have blacklisted piwigo.org for non-browser access. See this Piwigo forum thread: http://piwigo.org/forum/viewtopic.php?id=22797
- dsnpevlVirtuoso
dsnpevl wrote: Both "Piwigo" and "Koken" look promising at first glance and seem to have active development ongoing.
Did some testing with ReadyNAS Photo II, Piwigo and Koken on RN516. All have pros and cons. Here are some of my experiences as a first-time user:
ReadyNAS Photo II (http://www.readynas.com/?p=5370)
pros- Good interface for the slideshow and to flip through the album.
cons- Further development seems to have stopped (https://www.readynas.com/forum/viewtopic.php?f=145&t=75243#p418797).
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75243
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75244
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75154
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75145
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75127
- https://www.readynas.com/forum/viewtopic.php?f=145&t=75083
Piwigo (piwigo.org)
Build from photographer's perspective with the goal to automate Photo Albums.
pros- Easy to setup
- Comes with a set of build-in themes
cons- Needed to tweak some php.ini values on RN516.
- Some people (as do I) experience problems with "Connection to server unavailable" (https://www.readynas.com/forum/viewtopic.php?f=153&t=72962). This prevents me from downloading new themes.
Koken (koken.me)
Build as Content Management System (CMS) with creative website publishing in mind.
pros- Good CMS, once you get to grips with the Admin pages and the concepts of themes, albums, essays, collections, etc. See the demo site at demo.koken.me.
cons- Needed to tweak some php.ini values on RN516.
- No default themes available in setup on RN516. Confusing for first time users, who think something is wrong.
- Runs extremely slow on RN516 (see fotografeer.nl) and is therefore not really usable for creating/hosting a website on RN516. (Not sure if the CPU/memory is the bottleneck, or PHP settings/limitations.)
Update 2014-09-29: After upgrades of network router firmware, increased down-/upload speed by my provider, a few RN516 firmware upgrades, loading reduced size photo's (instead of the full 12Mbit pictures direct from the camera) and upgrading Koken to Version 0.18.2, the situation has improved dramatically. Themes can now be installed directly from the store. The site builds up much faster. And the Koken web interface speed is also much better now. All-in-all the usability for me has reached a point where I am using Koken as the primary tool for my web-site. See fotografeer.nl.
Related Content
- Aug 18, 2018Retired_Member
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!