Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup Directory does too exist! ;)


lamp5matt

Recommended Posts

Posted

I'm getting pink death:

Error: Backup directory does not exist. Please set this in configure.php.

 

with the end of the path reported as

httpsdocs/catalog/admin/backups/

 

my configure.php has

define('DIR_FS_ADMIN', '_______httpsdocs/catalog/admin/');

and

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Which exists and is chmodded 777

 

This question seems to come up a lot. As a test, I changed admin/backup.php to read

// check if the backup directory exists

$dir_ok = true;

 

Then it gives me:

Warning: dir(): open_basedir restriction in effect. File(/usr/local/psa/home/vhosts/linecrew.com/httpsdocs/catalog/admin/backups/) is not within the allowed path(s): (/usr/local/psa/home/vhosts/linecrew.com/httpdocs:/tmp) in /usr/local/psa/home/vhosts/linecrew.com/httpdocs/catalog/admin/backup.php on line 353

 

Warning: dir(/usr/local/psa/home/vhosts/linecrew.com/httpsdocs/catalog/admin/backups/): failed to open dir: Operation not permitted in /usr/local/psa/home/vhosts/linecrew.com/httpdocs/catalog/admin/backup.php on line 353

 

What a mess. I don't even want to do backups right now, I'm just averse to errors.

Posted

do you have a folder called backups in /catalog/admin if not create one and chmod it to 755 and see if that works. if it is there, check the permissions are set to 755.

 

bob g

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Posted

you need to create a backups directory in the admin with 777 permissions

Posted

See original post:

 

my configure.php has

define('DIR_FS_ADMIN', '_______httpsdocs/catalog/admin/');

and

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Which exists and is chmodded 777

Archived

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

×
×
  • Create New...