Yet Another Wordpress Image Upload Issue |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Zymic Free Web Hosting - General Discussion & Help |
||
![]() |
Yet Another Wordpress Image Upload Issue |
||
Feb 5 2012, 02:14 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 2-February 12 Member No.: 228,552 |
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 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! |
|
|
May 23 2012, 03:03 PM
Post
#2
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 22-May 12 Member No.: 242,829 |
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. |
|
|
Dec 3 2012, 06:45 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 3-December 12 Member No.: 265,878 |
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 |
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 20th June 2013 - 05:43 AM |