4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: geohei on February 07, 2003, 02:57:06 PM

Title: NetPBM will nicht ;(
Post by: geohei on February 07, 2003, 02:57:06 PM
Habe auf der KB meines Providers nachgeschaut. NetPBM scheint installiert zu sein.
Quote
Do you have netPBM installed?
We sure do!
This is set up on all of our servers. This is in the usual place as all of our binaries: /usr/bin, so your scripts shouldn't have any trouble executing this.

Also habe ich in 4images folgendes konfiguriert:

Quote
Conversion tool for thumbnails : NetPBM
If you have selected "ImageMagick" or "NetPBM", enter path : /usr/bin

Trotzdem werden keine Thumbs angezeigt. Woran kann das liegen?

TIA
Title: NetPBM will nicht ;(
Post by: Jan on February 08, 2003, 01:54:16 PM
Hast Du die Thumbnails auch mit dem Auto-Thumbnailer erstellt?

Jan
Title: NetPBM will nicht ;(
Post by: geohei on February 08, 2003, 02:55:39 PM
Ja (hatte ich vergessen zu erwähnen). Genau da kommt die Fehlermeldung nachdem ich "Create thumbnails" klicke:
Quote
Create thumbnail for: 20021207 130238 o (20021207_130238_o.jpg) ....  
Warning: system() has been disabled for security reasons in /home/.arpelblendersybian/geohei/geohei.lu/imagesx/includes/image_utils.php on line 90

Error creating thumbnail!
Title: NetPBM will nicht ;(
Post by: Jan on February 08, 2003, 05:16:27 PM
Wenn system() und exec() deaktiviert sind, kannst Du ImageMagick und NetPBM leider nicht nutzen. Probiere es mal mit GD.

Jan
Title: NetPBM will nicht ;(
Post by: geohei on February 08, 2003, 05:38:57 PM
GD klappt auch nicht!
Soweit ich aus älteren Posting ersehen konnte (teilweise auch von dir), zeigt das dass der Provider seinen Server nicht optimal konfiguriert hat, es also sicherheitstechnisch auch anders ginge ohne system() und exec() zu sperren? War das in etwa so ...?
Title: NetPBM will nicht ;(
Post by: Jan on February 08, 2003, 05:57:07 PM
Ich bin mir nicht sicher. Ich denke das war eher auf safe_mode Einstellungen bezogen...

Jan
Title: NetPBM will nicht ;(
Post by: geohei on February 08, 2003, 07:58:19 PM
Ich finde es dann ziemlich sinnlos dass ImageMagick und NetPBM installiert sind, wenn man sie nicht benutzen darf.

Gibt es kein Workaround eines der beiden Packete doch ans Laufen zu kriegen?

Da GD auch nicht geht, bleibt wohl nur die manuelle Generierung der Thumbs mit anschliessendem FTP Upload (oder direktem Upload in "Add images")?

Werde den Provider mal befragen ...
Title: NetPBM will nicht ;(
Post by: geohei on February 10, 2003, 08:00:12 AM
Nochwas. phpinfo sagt:

disable_functions
exec,system,dl,passthru,chown exec

Das war's wohl!  :(  :(  :(
Title: NetPBM will nicht ;(
Post by: geohei on February 10, 2003, 10:48:40 PM
Mein Hoster hat mir die Lösung gesagt.

Quote
system() is disabled in the Apache-module copy of PHP. It is not disabled
in the CGI copy of PHP. Any script that needs to run external processes
has to be run as a CGI. It's simple to do. Just create an .htaccess file
in your domain's document root with this line it it:

AddType php-cgi .php

Das hat funktioniert. Ich kann jetzt mittels NetPBM Thumbnails erstellen!
Title: NetPBM will nicht ;(
Post by: god3000 on February 18, 2003, 07:53:32 AM
morgen zusammen..

ich hab 4images auf meinem nt-server installiert..und dazu imagemagick...doch wie muß der pfad dann lauten???

bitte um hilfe...danke!
Title: NetPBM will nicht ;(
Post by: Jan on February 18, 2003, 08:34:06 PM
Na der Pfad in dem Du ImageMagick installiert hast.

Jan