Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when trying to make a backup


thomas_lundqvist

Recommended Posts

Hi!

 

Getting this when trying to make a backup:

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gzip) is not within the allowed path(s): (/home/xxxxxx/:/tmp/:/opt/php-fastcgi/xxxxxx:/usr/local/php5/lib/php/) in /home/xxxxxx/domains/takbox.se/public_html/butiken/admin/backup.php on line 443

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/zip) is not within the allowed path(s): (/home/xxxxxx/:/tmp/:/opt/php-fastcgi/xxxxxx:/usr/local/php5/lib/php/) in /home/xxxxxx/domains/takbox.se/public_html/butiken/admin/backup.php on line 444

 

Line 443:

if (file_exists(LOCAL_EXE_GZIP)) $contents[] = array('text' => '<br>' . tep_draw_radio_field('compress', 'gzip') . ' ' . TEXT_INFO_USE_GZIP);

Line 444:

if (file_exists(LOCAL_EXE_ZIP)) $contents[] = array('text' => tep_draw_radio_field('compress', 'zip') . ' ' . TEXT_INFO_USE_ZIP);

 

BTW, I am not using any zip when doing my backups.

 

TIA!

 

/Thomas

Running osCommerce Online Merchant v2.2 RC2a - http://www.takbox.se/butiken

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...