D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => ShareCenter® Add-on Applications => Topic started by: vtverdohleb on May 13, 2015, 06:04:12 AM

Title: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on May 13, 2015, 06:04:12 AM
[Add-on] Piwigo v2.7.4

[Description]
Piwigo is photo gallery software for the web, built by an active community of users and developers. Freely available extensions make Piwigo easily customizable. It is notable as a system with many features.

[Version]
Add-on Package v1.00

[Maintainer]
vtverdohleb

[Download link]
DNS-320L Piwigo Package v1.00_05132015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-320L%20Piwigo%20Package%20v1.00_05132015_UA)
DNS-325 Piwigo Package v1.00_05132015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-325%20Piwigo%20Package%20v1.00_05132015_UA)
DNS-327L Piwigo Package v1.00_05132015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-327L%20Piwigo%20Package%20v1.00_05132015)
DNS-340L Piwigo Package v1.00_05132015 (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-340L%20Piwigo%20Package%20v1.00_05132015)
DNS-345 Piwigo Package v1.00_05132015_UA (http://dlink.vtverdohleb.org.ua/Add-On/list.php#DNS-345%20Piwigo%20Package%20v1.00_05132015_UA)

[Resource]
Piwigo http://www.piwigo.org/ (http://www.piwigo.org/)
Piwigo Documentation http://piwigo.org/doc/doku.php (http://piwigo.org/doc/doku.php)
Other Add-ons http://dlink.vtverdohleb.org.ua/Add-On/ (http://dlink.vtverdohleb.org.ua/Add-On/)

[Remarks]
Download and install the Piwigo Add-On.
Click the link for the Piwigo web interface and configure it.
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: chappers80 on June 30, 2015, 02:55:51 AM
Followed the instructions and got this error! Do I need SQL installed on my DNS 320L?


Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'piwigo'@'localhost' (using password: YES) in /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/include/dblayer/functions_mysqli.inc.php on line 67

Warning: my_error(): Couldn't fetch mysqli in /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/include/dblayer/functions_mysqli.inc.php on line 822

Warning: my_error(): Couldn't fetch mysqli in /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/include/dblayer/functions_mysqli.inc.php on line 822
Piwigo encountered a non recoverable error

[mysql error ]
Can't connect to server

#1   my_error /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/include/common.inc.php(118)
#2   include_once /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/index.php(26)
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on June 30, 2015, 08:35:59 AM
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'piwigo'@'localhost' (using password: YES) in /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/include/dblayer/functions_mysqli.inc.php on line 67

Not correctly installed the addon. Do you want to reinstall. The reason work in MySQL. This only happens on the DNS-320L. I have ideas how to solve the problem, but need help from users in testing.
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Brouno on September 26, 2015, 09:04:18 AM
HI, get it working on the DNS-320l

The reason is that nor the user piwigo, nor the database(with schema) is created at install time.

Done manually and all is fine after.

Bruno
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Franck08 on November 06, 2015, 11:39:08 AM
bonsoir,
Pourriez vous me dire comment vous avez créer la base

merci d'avance
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: FurryNutz on November 06, 2015, 12:25:09 PM
Translate to English please.
Thank you.

bonsoir,
Pourriez vous me dire comment vous avez créer la base

merci d'avance
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on November 06, 2015, 03:02:22 PM
bonsoir,
Pourriez vous me dire comment vous avez créer la base

merci d'avance

Le principal «ingrédient» - php-cgi. Cross-compilation Je ne peux pas décrire. Considérez cela comme un secret ;)
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on June 08, 2016, 11:07:04 AM
This add-on works well in its basic installation, but there is a problem when I try to create a new site, using the existing images in the directory.

https://goo.gl/photos/xP1azyatggUWdKX6A

I tried to contact the Piwigo support, but got no answer
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on June 08, 2016, 12:14:24 PM
This add-on works well in its basic installation, but there is a problem when I try to create a new site, using the existing images in the directory.
https://goo.gl/photos/xP1azyatggUWdKX6A
I tried to contact the Piwigo support, but got no answer

What's stopping you to change the link to the directory with photos? "./mnt/..." Means "the current directory". Correctly so "/mnt/..."
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on June 08, 2016, 12:21:06 PM
before installing the add Piwigo, I already had a lot of photos in this directory

Yes, but I only put /mnt/...
the system itself that changes to ./mnt/... and right there is what is the problem and I can not change the directory. any directory I put in the create new site, it changes to ./...
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on June 08, 2016, 01:03:00 PM
I'm sure I test add-on, before you put on the site. I have to Piwigo had no problems. Although I liked more http://dlink.vtverdohleb.org.ua/Add-On/#Koken
1. After leaving the D-Link I support guaranteed only paid addons. Free - only in case of problems in the add-on.
2. Moderator "FurryNutz" strongly recommends that users access are made available to third parties via Teamviewer and similar programs. I do not know any other way to solve the problems of local user.
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on June 09, 2016, 06:27:58 AM
in add-on there is no problem when you create a manually album and up one or some pictures by the browser.
the problem occurs when we have a lot of pictures, already organized in directories at the root of the NAS.
the Piwigo has a tool that allows just point to the directory and it create albums, but it shows the error image. I've tried updating the Piwigo to the 2.8.1 version and the error persists.

Now look, when I create a directory /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/fabiano/  and then create a new site for this directory, it works. That is, the Piwigo is attached to directories that are in /mnt/HD/HD_a2/Nas_Prog/Piwigo/piwigo/ , and does not allow the change to other root directories

(https://lh3.googleusercontent.com/jMT17LitO3a_uLKa649Wc9AHDicX2LhXQ8xFMWH-kvzhnvnGp3zsu2IjIU-02VuRw7BfUvXI5qFaRjK4Y6xP1OrYlSoExRBeUfYrFltr43YHaxt9aeoVvkGJefz_tsj2MmsLaPTHkwFRTv7kkEkBvX8Nk8zejUV9ThouhYNCRkkyeFN5JT8XS-jVcyc88g-dA3loiJJdVmAMNS3esSoy74zB7Ce-2GniNYukxEo64JWZztVvXvQJu-N-A4BLBVG4yggxtxDai2IRd8HiyGpmDRnSh4rCUAV4ONKS06b8qahcs6MM5-mkg6TShDnyvmcAYWpJv64qLa8HeFTWJvXBGTbhQGTlRMAF3nS_NSxaznzTpqxrHWLmHCl_RwzLk5aZ2ZDF3szx1wA5DYVUqhXrKBA5tc-hYK0DpnFWQohl0JIG7buwRNQ0kWk37W2UuQNuiseq0fFYG417oyaPpOG4CffacAoTIV8l89OSJ7gYw0SrVsVxM9OhmiBYjEZbPaePabeY1opTtav84ssGniYUriV5nIuRFg06nX9Ikrn5niK6A5MpsB3cmijWi3zcpV3Bzg7EwqgnJbD7Aj_SRht_Hu-yRXMYbq8=w1357-h976-no)



Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on October 31, 2016, 11:32:19 AM
I'm still trying to work with Piwigo. as the previous problem has been resolved. now I'm having trouble with an extension of php.
I have a very large number of pictures, more than 10K, and the gd php library is too slow to generate thumbnails of photos.
I read a lot about it and the recommendations is to install ImageMagick it is faster.
I found that this Piwigo installation already has a collection of built-in ImageMagick, but I can not carry it in PHP.
Has anyone experienced something similar? how can I load the ImageMagick in php.

In time, I found this facility to DNS323, in my case, is the DNS320L
http://www.shadowandy.net/2007/12/setting-up-lighttpd-1417-with-imagemagick.htm
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on November 01, 2016, 07:53:47 AM
I tried many things and one of them was installed by ffp, imagemagick this repository http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/PACKAGES.html
and changed the php.ini file with data
extension_dir = "/mnt/HD/HD_a2/ffp/lib"
extension=libmagick.so

but still get the error
PHP Warning:  PHP Startup: Cannot dynamically load libmagick.so - dynamic modules are not supported in Unknown on line 0
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on November 28, 2016, 09:19:13 AM
I'm sure I test add-on, before you put on the site. I have to Piwigo had no problems. Although I liked more http://dlink.vtverdohleb.org.ua/Add-On/#Koken
...

In your case, in both piwigo and koken, the library that works is the imagemagick or gd library?
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on November 29, 2016, 03:12:49 AM
[root@DNS-327L 1]# /mnt/HD/HD_a2/Nas_Prog/Koken/bin/php-cgi -m
[PHP Modules]
calendar
cgi-fcgi
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mcrypt
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
xml
xmlreader
xmlrpc
xmlwriter
zip
zlib
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on November 29, 2016, 03:48:23 AM
And when you display the image gallery, it does not load very slowly?

It is for this reason that I would like to load the imagemagick library.
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: vtverdohleb on December 01, 2016, 05:58:32 AM
And when you display the image gallery, it does not load very slowly?

It is for this reason that I would like to load the imagemagick library.

I do not understand what you want from me ... In the "add-on" has everything you need!

Code: [Select]
[root@DNS-327L bin]# /mnt/HD/HD_a2/Nas_Prog/Piwigo/bin/stream -version
Version: ImageMagick 6.9.1-2 Q16 arm 2015-05-15 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC

[root@DNS-327L bin]# ls -la /mnt/HD/HD_a2/Nas_Prog/Piwigo/lib/
drwxr-xr-x    3 root     root          4096 Dec  1 15:44 .
drwxr-xr-x   10 root     root          4096 May 18  2015 ..
drwxr-xr-x    3 root     root          4096 May 15  2015 ImageMagick-6.9.1
lrwxrwxrwx    1 root     root            26 Dec  1 15:46 libMagick++-6.Q16.so -> libMagick++-6.Q16.so.6.0.0
lrwxrwxrwx    1 root     root            26 Dec  1 15:46 libMagick++-6.Q16.so.6 -> libMagick++-6.Q16.so.6.0.0
-rwxr-xr-x    1 root     root       2746771 May 15  2015 libMagick++-6.Q16.so.6.0.0
lrwxrwxrwx    1 root     root            28 Dec  1 15:46 libMagickCore-6.Q16.so -> libMagickCore-6.Q16.so.2.0.0
lrwxrwxrwx    1 root     root            28 Dec  1 15:46 libMagickCore-6.Q16.so.2 -> libMagickCore-6.Q16.so.2.0.0
-rwxr-xr-x    1 root     root       9441155 May 15  2015 libMagickCore-6.Q16.so.2.0.0
lrwxrwxrwx    1 root     root            28 Dec  1 15:46 libMagickWand-6.Q16.so -> libMagickWand-6.Q16.so.2.0.0
lrwxrwxrwx    1 root     root            28 Dec  1 15:46 libMagickWand-6.Q16.so.2 -> libMagickWand-6.Q16.so.2.0.0
-rwxr-xr-x    1 root     root       2260290 May 15  2015 libMagickWand-6.Q16.so.2.0.0
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on December 01, 2016, 06:33:45 AM
I reported the whole problem on this topic: http://forums.dlink.com/index.php?topic=65853.0 (http://forums.dlink.com/index.php?topic=65853.0)

I know there are library files in piwigo as well as koken, but they are not compatible with php.

As I reported on the other topic, I tried in several ways to enable imagemagick with php, however I have the error:
Code: [Select]
PHP Warning: PHP Startup: Can not dynamically load libmagick.so - dynamic modules are not supported in Unknown on line 0
The gd library is native to php, however it overloads the memory too much and has very slow loading of the images. For this reason I would like to load the imagemagick library, but I can not.

In piwigo, a way to display the imagemagick library is this: http://piwigo.org/doc/doku.php?id=user_documentation:faq:pictures_missing (http://piwigo.org/doc/doku.php?id=user_documentation:faq:pictures_missing)
In koken there is also a form, which I demonstrated in the topic quoted, including with the images of the attempts.

thanks for your atention.
Title: Re: Add-on "Piwigo v2.7.4" for D-Link NAS
Post by: Fabiano Pinheiro on May 15, 2017, 05:48:14 AM
No one could solve this?
http://forums.dlink.com/index.php?topic=65853.0 (http://forums.dlink.com/index.php?topic=65853.0)
 :'( :'( :'( :'(