Help - Search - Members - Calendar
Full Version: Yet Another Wordpress Image Upload Issue
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
FixItGregg
trying to set featured image on a page.
when trying to upload file I get,

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp//bg.tmp) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/zymichost.com/f/i/x/fixitgregg/htdocs/wordpress/wp-includes/functions.php on line 2340

Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 655298 is not allowed to access /tmp owned by uid 0 in /www/zymichost.com/f/i/x/fixitgregg/htdocs/wordpress/wp-admin/includes/file.php on line 177

Dismiss “bg.jpg” has failed to upload due to an error
The uploaded file could not be moved to /www/zymichost.com/f/i/x/fixitgregg/htdocs/wordpress/wp-content/uploads.


i've done the chmod 777 for the upload and wp-content folders already.
I have tried with the new and old uploader.

any tips?
Thanks!
xndr
I'm having the exact same issue.

Has anyone figured this out?

EDIT:

My SOLUTION is creating a new folder called tmp inside wp-content and then adding the following line to wp-config.php:
define('WP_TEMP_DIR', '/www/zymichost.com/x/x/x/xxx/htdocs/wp-content/tmp');
where the path to the newly created tmp folder is taken from your control panel.
I have set the permissions for wp-content/tmp and wp-content/uploads to 775.

I searched this forum to no avail. Hope this helps someone until a better solution.
moondoggy
QUOTE(xndr @ May 23 2012, 03:03 PM) *
I'm having the exact same issue.

Has anyone figured this out?

EDIT:

My SOLUTION is creating a new folder called tmp inside wp-content and then adding the following line to wp-config.php:
define('WP_TEMP_DIR', '/www/zymichost.com/x/x/x/xxx/htdocs/wp-content/tmp');
where the path to the newly created tmp folder is taken from your control panel.
I have set the permissions for wp-content/tmp and wp-content/uploads to 775.

I searched this forum to no avail. Hope this helps someone until a better solution.


Same issue on drupal 6 and wordpress am I missing something please answer
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-2013 Invision Power Services, Inc.