Seite 1 von 1

Fehlermeldung bei Attachements und Avatars

Verfasst: 04.02.2008 21:08
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

Verfasst: 09.02.2008 17:41
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__);

Verfasst: 17.02.2008 04:37
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 !!!