Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error uploading files
#4
Same problem here with Plesk hosting.
I edited conf/httpd.include to add the upload dir in this way:

Code:
<IfModule mod_php5.c>
   php_admin_flag engine on
   php_admin_flag safe_mode off
   php_admin_value open_basedir "/var/www/vhosts/MYDOMAIN/httpdocs:/tmp:/var/www/vhosts/MYDOMAIN/httpdocs/mydms/content"
</IfModule>

But errors remain:

Code:
[Thu Jan 21 09:38:18 2010] [error] [client 87.219.213.168] PHP Warning:  mkdir() [<a href='function.mkdir'>function.mkdir</a>]: open_basedir restriction in effect. File(/var) is not within the allowed path(s): (/var/www/vhosts/MYDOMAIN/httpdocs:/tmp:/var/www/vhosts/MYDOMAIN/httpdocs/mydms/content) in /var/www/vhosts/MYDOMAIN/httpdocs/mydms/inc/inc.FileUtils.php on line 61, referer: http://MYDOMAIN/mydms/out/out.AddDocument.php?folderid=3

Any idea?

Seems like referenced dir ( File(/var) ) is causing trouble, but no such dir is needed for anything related in inc.Settings.php, is it?
Reply


Messages In This Thread
error uploading files - by jpa - 12-31-2009, 06:53 PM
RE: error uploading files - by administrator - 12-31-2009, 10:48 PM
RE: error uploading files - by jpa - 01-04-2010, 06:23 PM
RE: error uploading files - by administrator - 01-22-2010, 12:10 AM
RE: error uploading files - by administrator - 01-26-2010, 04:54 AM
RE: error uploading files - by administrator - 01-27-2010, 07:50 AM
RE: error uploading files - by administrator - 01-28-2010, 05:09 AM
RE: error uploading files - by akae - 01-28-2010, 05:41 AM
RE: error uploading files - by administrator - 01-28-2010, 04:56 PM
RE: error uploading files - by akae - 01-29-2010, 05:44 AM
RE: error uploading files - by administrator - 01-29-2010, 07:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)