Forums / Cotonti / Support / help with uploading avatars and PFS

theEvilOne
#1 2009-03-11 01:13
ok so I am an admin at a cotonti powered site, and we have a few problems. first of all, no one can upload any avatars, they can only use the one's stored in the premade section, like on this site. the max size and width and are 80x80x80000, and I tried uploading a pic that was 60x60x6800. after pressing upload it says everything's fine, no error messages, but when I look back at my profile where my avatar should be, it just says delete with an x next to it. Is there a way to fix this?

Also, when uploading files to my PFS (and everyone else, i'm assuming) there are a bunch of error messages: Warning: move_uploaded_file(datas/users/evil-smiley-face_12.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/a9133757/public_html/system/core/pfs/pfs.inc.php on line 190

PHP Error Message

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpeBAUJj' to 'datas/users/evil-smiley-face_12.jpg' in /home/a9133757/public_html/system/core/pfs/pfs.inc.php on line 190

PHP Error Message

Warning: chmod() [function.chmod]: No such file or directory in /home/a9133757/public_html/system/core/pfs/pfs.inc.php on line 191

PHP Error Message

Warning: filesize() [function.filesize]: stat failed for datas/users/evil-smiley-face_12.jpg in /home/a9133757/public_html/system/core/pfs/pfs.inc.php on line 193

can anyone shed some light on my situation?
Lombi
#2 2009-03-11 03:06
You dont have the folders there or you didnt set up CHMODs correctly. Please refer to the ftp & chmod video tutorial on the front page to learn how to do it.
<a href="http://www.domenlo.com">Surreal Art</a>