Help - Search - Members - Calendar
Full Version: Getting An Error When Trying To Upload A Avatar From Other Website..
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
EnigmaArts
Alright, when I try using an image from a url, not uploading one, it gives an error at the top of the page and has a vBulletin message saying 'Upload failed due to failure writing temporary file.'

Error code at the top of the page:
CODE
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 7899 is not allowed to access /tmp/vbuploadkYvAH4 owned by uid 2001 in [path]/includes/class_upload.php on line 273

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


Screenshot:


And here is line 273 from class_upload.php:
CODE
            $fp = $this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['cancontrolpanel'] ? fopen($this->upload['location'], 'wb') : @fopen($this->upload['location'], 'wb');


Btw, while I'm at it... I have another problem, well, I can't add different sections to my home page, e.g have one for site stuff, the next for graphix or something and so on... Everything is just bunched up in a little line, is this a problem with my style or something, and can it be fixed?

To see just visit my site (http://www.EnigmaForums.vndv.com/) and you'll see what I mean.
Trippin7464
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect.
This is a function that is disabled, What it does it it blocks your site from accessing anything outside of your own hosting. So you can't upload images to your host via URL. You'll have to save the image to your computer, then upload it on your forum.

And I'm pretty sure thats a style problem
EnigmaArts
is there anything that I can edit to make it not block images?
Paradoks
well, you have to have the image come from your own host so you would have to save the image and link it from ur image folder.
Trippin7464
No because fopen is a php function that is disabled for security reasons.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.