Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

back php error


Guest

Recommended Posts

Posted

when ever i go to do a database backup i get this error:

 

Warning: file_exists(): open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/home/httpd/vhosts/norpacfish.com/httpsdocs:/tmp) in /home/httpd/vhosts/norpacfish.com/httpdocs/catalog/admin/backup.php on line 424

 

Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): (/home/httpd/vhosts/norpacfish.com/httpsdocs:/tmp) in /home/httpd/vhosts/norpacfish.com/httpdocs/catalog/admin/backup.php on line 425

 

anyone have any ideas? also i can do the backup and all just fine i am just wondering why i get this error.

 

thanks!

 

~Will

Posted

Did you created a backups folder under admin chmod at 777 ?

Posted
open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s):
Your host is using open_basedir for security reasons. As a result, you do not have access to /usr/bin/gzip, because it is not in an area that web server scripts are allowed to access.

 

The basic fixes are to have the host turn off open_basedir or to have the host provide a copy of the zip executable somewhere that the web server can access.

 

Good luck,

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...