Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 16:26

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 17. Jun 2012, 17:16 
Offline

Joined: 16. Jun 2012, 18:04
Posts: 7
Ich hab da zwei verschiedene QNAP

1x TS-219P
1x TS-239 Pro II+

Auf beiden identisches TWG 1.8.8
Auf beiden ist Image Magick definitiv installiert.

[~] # ipkg install imagemagick
Package imagemagick (6.6.9.1-1) installed in root is up to date.
Nothing to be done
Successfully terminated.
[~] # ipkg list | grep imagemagick
imagemagick - 6.6.9.1-1 - A set of image processing utilities.


Allerdings sagt der Installations-check auf der TS-219P

Image Magick Support Not available

Oder ist das ein Problem von QNAP ??

lg dossi


Last edited by dosser on 17. Jun 2012, 18:21, edited 2 times in total.

Top
 Profile  
 
PostPosted: 17. Jun 2012, 18:20 
Offline

Joined: 16. Jun 2012, 18:04
Posts: 7
Für alle die das selbe Problem haben gibts hier die Lösung:

Das Problem liegt an der Apache-Directive "open-Basedir"

Diese sollte so aussehen, damit es mit TWG klappt:

php_admin_value open_basedir none


Das geht entweder direct in der apache.conf
Die liegt bei hier: /etc/config/apache

Ich hab solche direktiven in ein eine eigene custom.conf ausgelagert, sollte mal ein die apache.conf verändert werden.
Die liegt dann hier: /etc/config/apache/custom.conf

Die custom.conf wird in der apche.conf mit folgender directive eingebunden:

include /etc/config/apache/custom.conf


In der custom.conf wird mit folgender directive das Problem mit dem open_basedir behoben:
php_admin_value open_basedir none

Danach den apache neu starten:

restart apache: /etc/init.d/Qthttpd.sh restart



Um diese änderungen durchzuführen ist der zugriff als root auf das NAS notwendig.

Alle Angaben beziehen sich auf die QNAP NAS. Für etwaige Fehler oder Fehlbedienungen übernehme ich keine Verantwortung !!!

Anmerken möchte ich noch , das diese Änderung ziemlich konträr diskutiert wird. Viele sehen das als Sicherheitsproblem.
Wer sich dazu näher informieren möchte findet sicher im Netz genügend Informationen.





lg dossi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy