I tried to set up a remote gallery but I found the documentation not helpful. Maybe it's because my scripting knowledge is not good enough.
Can somebody give me a step by step "manual" for how to set up a remote gallary?
Thanks very much.
Hi Laurens,
Are you talking about a remote site in your gallery?
Offline
A rapid search in the wiki give access to 4 detailed pages : http://piwigo.org/doc/doku.php?do=search&id=remote
First : Install the create_listing_file.php on your remote site and try to generate the listing.xml file
Second : do the first step before ;-)
Offline
Thanks for the help so far.
I already found those search topics you meant. (you refered there in an other thread)
I found the create_listing_file.php in the /tools map.
The file has bin transfed to the remote site using a FTP-client. I put it in the root. The photo's stand in a gallery-map.
Then I went to the the browser and filled in the adres (http://"my remote site"/create_listing_file.php
The browser askes if I want to download this file. So I think I can't run the file.
Do I mis something?
I think your remote site deos not support PHP
Could you send us an Url ?
Offline
Hi Laurent,
I try to sent you this email. I will post a announcement on the forum (don't know if it's wise to post an URL there).
The site wich I try to get conneted is;
http://......./......./
The site where Piwigo is running is;
http://........./
Thanks for the help so far.
(edit the mail I sent to Laurent)
As written in my previous post, ziggo.nl does not support PHP on your remote site. You can read it here : https://www.ziggo.nl/#help/steljevraag/php (I used google translate dutch to french)
So you can not generate the XML file on this server.
Offline
That's a bummer.
Plan B, use my Synologie server.
Thanks for the support!!
Oke Plan B;
I created a place on my Synology webserver.
Placed the create_listing_file.php on this server. First it didn't generate thumbnails. After a search found the solution. Set Thumbnails to true in create_listing_file.php.
Then it gave a failure. I created the directory for the thumbnails manually "thumbnails". Then it did create the thumbnails.
Now I facing an other problem;
I got the following failure;
"Warning: filetype() [function.filetype]: open_basedir restriction in effect. File(./..) is not within the allowed path(s): (/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes:/var/packages/MailStation/target/roundcubemail) in /volume1/web/create_listing_file.php on line 944"
line 944 in create_listing_file.php contains;
" switch (filetype($directory."/".$file))"
What did I mis? I tried the to replace "/" on line 944 with "/var/services/web" and "/volume1/web/"
Then the following failure appears;
"Warning: filetype() [function.filetype]: Lstat failed for ./var/services/web/create_listing_file.php.lock in /volume1/web/create_listing_file.php on line 944
944"
Can somebody point me the direction?
Many thanks!
Could you send me the url by MP ?
Offline
I think the open_basedir restriction of your server is very strict.
To avoid this problem move the complete tree in a subdirectory. I mean :
1) create a directory <The_name_you_want> in the root dir of your host
2) move Vakantie directory in this new directory
3) move create_listing_file.php in in this new directory
Offline
To run Piwigo gallery on a Synology web server you have te adjust the file "config_default.inc.php" on line 319.
The default settig for the library is "auto". To get Piwigo working on Synology you have to change the setting for the library to 'gd' on line 319.
This is the only setting i had to change on my Synology NAS to get Piwigo to work.
-------------------------
// Library used for image resizing. Value could be 'auto', 'imagick',
// 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this
// order. If choosen library is not available, another one will be picked up.
$conf['graphics_library'] = 'gd';
-------------------------
Succes
Thanks, Johan this also worked for me.
laurent.duretz wrote:
Could you send me the url by MP ?
I'm trying to install piwigo on my Synology NAS, but i have issue with thumbnails not being shown.
Reading through this forum it's stated that I need to create/move this file 'create_listing_file.php'
Checked my install zip file and this file is nowhere to be found.
Can someone upload this file pls.
Thank you!
All you need to do is edit the file:
config_default.inc.php
which you can find in the directory:
include
change the line:
$conf['graphics_library'] = 'auto';
into:
$conf['graphics_library'] = 'gd';
After it your synology nas should make thumbnails.
Offline