Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

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.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
  Reply to this topic Start new topic
left right
FixItGregg
post 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

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!
Go to the top of the page 
 
  + Quote Post
xndr
post 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.
Go to the top of the page 
 
  + Quote Post
moondoggy
post Dec 3 2012, 06:45 AM
Post #3


Newbie
*

Group: Members
Posts: 2
Joined: 3-December 12
Member No.: 265,878



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
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 20th June 2013 - 05:43 AM