ID | Kategorie | Version | Auswirkung | Reproduzierbar | Meldungsdatum | Letzte Aktualisierung |
700 | [openPHPnuke] Module | opn 2.3.x | Schwerer Fehler | Immer | 07.12.2005 16:55:29 | 08.12.2005 00:23:33 |
Reporter | Luke | Status anzeigen | Öffentlich |
Bearbeitung durch | hombergs | Priorität | Normal |
Lösung | Kein Fehler | Status | Geschlossen |
Projektion | Keine | ||
Aufwand | Keiner |
Beginn | |
Fertigstellung |
Zusammenfassung | Mediengalerie Upload Fehler, wenn opn nicht im Hauptverzeichnis installiert ist |
Beschreibung | Wenn in Admin Mediengalerie Methode zur Größenänderung von Bildern auf GD2 gestellt ist:
1 Uploads waren erfolgreich. Klicke auf 'Weiter', um die Dateien den Alben hinzuzufügen. (dann auf weiter klicken) Dann auf Änderungen übernehmen. Dann kommt folgende Fehlermeldung: Fehler: rename_file: cannot rename file [/srv/www/htdocs/web1/html/start/cache/mediagallery_upload_1133905905/lenkrad_lila.jpg] _____________________ Wenn in Admin Mediengalerie Methode zur Größenänderung von Bildern auf ImageMagick gestellt ist: In der MG wieder Bild upload ausführen Dann kommt folgende Fehlermeldung: 0 Uploads waren erfolgreich. Upload-Fehler Dateiname Fehlermeldung lenkrad_lila.jpg Kein Bild oder Datei ist korrupt Anmerkung: Das Bild ist IO, weil es bei einer OPN Installation im Hauptverzeichnis keine Probleme macht ______________ Wenn in Admin Mediengalerie Methode zur Größenänderung von Bildern auf ImageMagick via Perl Aufrufe gestellt ist: Wieder Bild upload auführen. Dann kommt diese Fehlermeldung: Fehler: #!/usr/bin/perl print "Content-type: text/html\n\n"; use LWP::Simple; use CGI; $q = new CGI; $action = $q->param( "action" ); $opnpath = $q->param( "opnpath" ); $file = $q->param( "file" ); $impath = $q->param( "impath"); $format = $q->param( "format"); $hierroot = $ENV{"DOCUMENT_ROOT"}."/"; $hierroot =~ s-//-/-; if ($opnpath eq $hierroot) { if ($action eq "identify") { system ($impath . 'identify -format \''. $format . '\' ' . $file . " 2>&1"); if ($? == -1) { print "failed to execute: $!\n"; } elsif ($? & 127) { printf "child died: signal %d, %s coredump\n", ($? & 127), ($? & 128) ? 'with' : 'without'; } else { printf "%s\n", $?>> 16; } } } #!/usr/bin/perl print "Content-type: text/html\n\n"; use LWP::Simple; use CGI; $q = new CGI; $action = $q->param( "action" ); $opnpath = $q->param( "opnpath" ); $file = $q->param( "file" ); $impath = $q->param( "impath"); $format = $q->param( "format"); $hierroot = $ENV{"DOCUMENT_ROOT"}."/"; $hierroot =~ s-//-/-; if ($opnpath eq $hierroot) { if ($action eq "identify") { system ($impath . 'identify -format \''. $format . '\' ' . $file . " 2>&1"); if ($? == -1) { print "failed to execute: $!\n"; } elsif ($? & 127) { printf "child died: signal %d, %s coredump\n", ($? & 127), ($? & 128) ? 'with' : 'without'; } else { printf "%s\n", $?>> 16; } } } #!/usr/bin/perl print "Content-type: text/html\n\n"; use LWP::Simple; use CGI; $q = new CGI; $action = $q->param( "action" ); $opnpath = $q->param( "opnpath" ); $file = $q->param( "file" ); $impath = $q->param( "impath"); $format = $q->param( "format"); $hierroot = $ENV{"DOCUMENT_ROOT"}."/"; $hierroot =~ s-//-/-; if ($opnpath eq $hierroot) { if ($action eq "identify") { system ($impath . 'identify -format \''. $format . '\' ' . $file . " 2>&1"); if ($? == -1) { print "failed to execute: $!\n"; } elsif ($? & 127) { printf "child died: signal %d, %s coredump\n", ($? & 127), ($? & 128) ? 'with' : 'without'; } else { printf "%s\n", $?>> 16; } } } #!/usr/bin/perl print "Content-type: text/html\n\n"; use LWP::Simple; use CGI; $q = new CGI; $action = $q->param( "action" ); $opnpath = $q->param( "opnpath" ); $file = $q->param( "file" ); $impath = $q->param( "impath"); $format = $q->param( "format"); $hierroot = $ENV{"DOCUMENT_ROOT"}."/"; $hierroot =~ s-//-/-; if ($opnpath eq $hierroot) { if ($action eq "identify") { system ($impath . 'identify -format \''. $format . '\' ' . $file . " 2>&1"); if ($? == -1) { print "failed to execute: $!\n"; } elsif ($? & 127) { printf "child died: signal %d, %s coredump\n", ($? & 127), ($? & 128) ? 'with' : 'without'; } else { printf "%s\n", $?>> 16; } } } |
Schritte zur Reproduzierung | Administration->Einstellungen->Server-> php ftp funktionen |
Zusätzliche Information | Rev.4423 |