View Full Version : How can i fix this error
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 554 is not allowed to access /tmp/vbuploadt2XF8s owned by uid 48 in /includes/class_upload.php on line 300
Warning: fopen(/tmp/vbuploadt2XF8s) [function.fopen]: failed to open stream: Permission denied in /includes/class_upload.php on line 300
got this problem :(
FockerFGAA
01-03-2007, 10:31 PM
it points to this line of code
$fp = $this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['cancontrolpanel'] ? fopen($this->upload['location'], 'wb') : @fopen($this->upload['location'], 'wb');
im not a rocket scientist with php and stuff so i only copied that for someone that is better at it than i am. that line seems to have something to do with your admin permissions. perhaps your uid is not specified in the config.php file as being able to access the admin panel?
its happening for all the users cant upload avatars keeps coming up about uploads.
paul41598
01-04-2007, 02:25 PM
check your phpinfo, see if your safe_mode is set to ON I'm thinking that may be the issue
Cheers i think that is the problem
sorted now
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.