Log in

View Full Version : Help .. Attachment problem again ..


inshad
04-21-2004, 08:58 PM
whenever I upload a file in my forum it gives me the following message

"Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /tmp owned by uid 0 in /home/virtual/site1/fst/var/www/html/forum/includes/functions_file.php on line 220

Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 505 is not allowed to access /tmp owned by uid 0 in /home/virtual/site1/fst/var/www/html/forum/includes/functions_file.php on line 226"

Zachery
04-21-2004, 09:02 PM
You need to enable safemode in the admincp and chmod a tmp direcotry to 777 as per the instructions

inshad
04-21-2004, 09:11 PM
the safemode is enabled but where can i find the tmp directory ?

Zachery
04-21-2004, 09:23 PM
Youll need to create it and chmod it then.

inshad
04-21-2004, 09:36 PM
am i supposed to create it under admicp dir ?

inshad
04-22-2004, 04:19 AM
:disappointed: