PDA

View Full Version : What is this saying?!


The Scriblerian
07-01-2007, 04:01 AM
On a new forum I'm working on I keep getting this message while trying to upload avatars, can anyone help?

Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid/gid is 13902/13902 is not allowed to access /tmp/vbupload0wcTCz owned by uid/gid 99/99 in /includes/class_upload.php on line 349

Warning: fopen(/tmp/vbupload0wcTCz) [function.fopen]: failed to open stream: Permission denied in /includes/class_upload.php on line 349

Michael Biddle
07-01-2007, 04:02 AM
well looks like a chmod problem where it uploads too.

Shazz
07-01-2007, 04:03 AM
chmod 777 to try it out :)

The Scriblerian
07-01-2007, 04:05 AM
I see. Could you please give me the appropriate steps to fix this?

Michael Biddle
07-01-2007, 04:10 AM
In ftp manager right click and it should show chmod in their, then set it to 777 like shazz said

Shazz
07-01-2007, 04:15 AM
Depending on which FTP you use, or where your files are located. Most of the time you would right click and either chmod is there like whitemike said or it could be named properties

hambil
07-01-2007, 04:17 AM
You can't use certain PHP FTP functions with safemode turned on. I would highly recommend you not use safemode, as many hacks and perhaps vb itself will have issues.

The Scriblerian
07-01-2007, 04:22 AM
Safemode is off and I set to 777 and the message is still there...ugh, hate these kind of things.

Anyone...still having issue?

Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid/gid is 13902/13902 is not allowed to access /tmp owned by uid/gid 0/0 in /includes/class_upload.php on line 349

Warning: fopen(/tmp/vbupload28975) [function.fopen]: failed to open stream: No such file or directory in /includes/class_upload.php on line 349

Those parts sound rather important.

snakes1100
07-01-2007, 05:11 AM
Your host will either need to turn safe mode off or you can try using a htaccess file and see if you can bypass the restriction.

Dismounted
07-01-2007, 06:54 AM
Safe mode is still on, look at the error ;).