IDKategorieVersionAuswirkungReproduzierbarMeldungsdatumLetzte Aktualisierung
700[openPHPnuke] Moduleopn 2.3.xSchwerer FehlerImmer07.12.2005 16:55:2908.12.2005 00:23:33

ReporterLukeStatus anzeigenÖffentlich
Bearbeitung durchhombergsPrioritätNormal
LösungKein FehlerStatusGeschlossen
 ProjektionKeine
AufwandKeiner 

Beginn
Fertigstellung

ZusammenfassungMediengalerie Upload Fehler, wenn opn nicht im Hauptverzeichnis installiert ist
BeschreibungWenn 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 ReproduzierungAdministration->Einstellungen->Server-> php ftp funktionen
Zusätzliche InformationRev.4423