Author Topic: NetPBM will nicht ;(  (Read 7027 times)

0 Members and 1 Guest are viewing this topic.

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« 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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
NetPBM will nicht ;(
« Reply #1 on: February 08, 2003, 01:54:16 PM »
Hast Du die Thumbnails auch mit dem Auto-Thumbnailer erstellt?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« Reply #2 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!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
NetPBM will nicht ;(
« Reply #3 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
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« Reply #4 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 ...?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
NetPBM will nicht ;(
« Reply #5 on: February 08, 2003, 05:57:07 PM »
Ich bin mir nicht sicher. Ich denke das war eher auf safe_mode Einstellungen bezogen...

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« Reply #6 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 ...

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« Reply #7 on: February 10, 2003, 08:00:12 AM »
Nochwas. phpinfo sagt:

disable_functions
exec,system,dl,passthru,chown exec

Das war's wohl!  :(  :(  :(

Offline geohei

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
NetPBM will nicht ;(
« Reply #8 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!

Offline god3000

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • http://www.honda-tuning.net
NetPBM will nicht ;(
« Reply #9 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!
i am god...

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
NetPBM will nicht ;(
« Reply #10 on: February 18, 2003, 08:34:06 PM »
Na der Pfad in dem Du ImageMagick installiert hast.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search