Fehlermeldung bei Attachements und Avatars

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
mrgreen
Mitglied
Beiträge: 168
Registriert: 06.07.2006 02:02

Fehlermeldung bei Attachements und Avatars

Beitrag von mrgreen »

Hallo,

wenn ich mich in meinem Board neu registriere und bei ersten Beitrag ein Anhang beifügen möcht, kommt diese Fehlermeldung....
Warning: passthru() has been disabled for security reasons in /www/htdocs/w008caae/mrgreen.info/www/attach_mod/includes/functions_thumbs.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/www/attach_mod/includes/functions_thumbs.php:166) in /www/htdocs/www/posting.php on line 677

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/www/attach_mod/includes/functions_thumbs.php:166) in /www/htdocs/www/includes/functions.php on line 1050
Der Anhang wird mit gepostet aber die Fehlermeldung ist trotzdem unschön.


Fehler 2 ist der, wenn ich als neues Mitglied ein Avatar nehme welches größer ist als Erlaubt.
Unable to upload file

DEBUG MODE

Line : 251
File : usercp_avatar.php
Wenn ich ein Avatar nehme welches den passenden Größen entspricht, wird es auch angenommen aber eigentlich sollte im Falle falls es zu groß o.a. ist, sowas kommen....

"Ihr Bild ist zu groß. Nehmen Sie eines, welches passt"

Installierte Mods :
Default Avatar MOD 1.0.1
Attachment Mod Version 2.4.3


mfg
mrgreen
mrgreen
Mitglied
Beiträge: 168
Registriert: 06.07.2006 02:02

Beitrag von mrgreen »

Hat denn niemand eine Lösung parat :(

Kann ich entsprechende Zeilen nicht so umformen das Sie etwas anderes ausgeben.....

/includes/functions_thumbs.php
passthru($imagick . ' -quality 85 -antialias -sample ' . $new_width . 'x' . $new_height . ' "' . str_replace('\\', '/', $source) . '" +profile "*" "' . str_replace('\\', '/', $new_file) . '"');

und


/includes/usercp_avatar.php
message_die(GENERAL_ERROR, 'Unable to upload file', '', __LINE__, __FILE__);
mrgreen
Mitglied
Beiträge: 168
Registriert: 06.07.2006 02:02

Beitrag von mrgreen »

Also beim ersten Fehler glaube ich eher das es ein Fehler meines Hosters ist.
10.2 Could not attach File, but Post has been stored / Filesize is 0 all over the time
If you get the Error Message 'Could not Attach File. Post has been stored' after submitting your Post.

Either your Provider does not allow the function filesize(), which is very bad, because nothing can be done to solve the problem, or your Temporary PHP Directory is not setup properly.

(Only for people hosting their own Website)

Every Attachment uploaded to the board will go into the PHP Temporary Upload Directory.
Please check the Permissions of this Directory and make sure PHP is allowed to write to it.
Sieht wohl so aus als ob ich nicht schreiben darf....


Für den zweiten Fehler fällt mir leider gar nichts ein.

Ich bitte um Hilfe !!!
Antworten

Zurück zu „phpBB 2.0: Mod Support“