Message Text |
If I upload attachments to a comment strage things happen.
- graphic files (gif,png,etc) not showing thumbnails
- not usable in any other way except delete attachement
I am able to upload/use avatars okay however.
./attachments/*.* all <a href="http://scripts.webmastersite.net/wsnlinks/wsnmanual/articles/107"><a href="http://scripts.webmastersite.net/wsnlinks/wsnmanual/articles/107">chmod</a></a> 777 and the files do show in the directory.
I am using:
File attachments naming method: random
Remove File Extensions? yes
Allow All Extensions: yes
Additionally I have log entries such as:
PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /httpdocs/classes/gd.php on line 216
PHP Warning: imagecreatefrompng(templates/default/images/nothumbnail.png): failed to open stream: No such file or directory in /httpdocs/classes/gd.php on line 195
PHP Warning: imagesx(): supplied argument is not a valid Image resource in /httpdocs/classes/gd.php on line 196
PHP Warning: imagesy(): supplied argument is not a valid Image resource in /httpdocs/classes/gd.php on line 197
PHP Warning: Division by zero in /httpdocs/classes/gd.php on line 198
PHP Warning: Division by zero in /httpdocs/classes/gd.php on line 198
Can onyone confirm this? |