Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup problem : error


airuma

Recommended Posts

Posted

Ok, you all heard this before. I have that error that says: "Error: Backup directory does not exist. Please set this in configure.php."

 

The Backup Manager under "Title" says : "Backup Directory: DIR_FS_ADMINbackups/"

 

The configure.php file reads:

 

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

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

 

I have a backups folder under admin and it is chmod to 777

 

I tried all other suggestions I read around the forums. :'( What am I missing??

 

Thanks a bunch!

Posted
Ok, you all heard this before. I have that error that says: "Error: Backup directory does not exist. Please set this in configure.php."

 

The Backup Manager under "Title" says : "Backup Directory: DIR_FS_ADMINbackups/"

 

The configure.php file reads:

 

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

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

 

I have a backups folder under admin and it is chmod to 777

 

I tried all other suggestions I read around the forums.  :'( What am I missing??

 

Thanks a bunch!

 

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

Posted

Actually, you need to add a directory called 'backups' to your 'admin' folder. It doesn't exist at the moment.

 

Vger

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

 

That is what it was before, but I saw someone suggest to add the / before backups. Makes no difference either way, doesn't work still.

Posted

Read my post - that is the solution. Nothing to do with pathways or your configure file. In your config file it just needs to be backups/, and in your 'admin' folder you need to have another folder called 'backups' - not 'backup'.

 

Vger

Posted

While we are on this subject :P

 

I read the KB about the Database Backup Manager.... tells me to create folder etc...

but in my admin console it tells me to configure in my configure.php file.... but the KB never said anything about doing anything to the configure.php file????

 

everything is still in its default state right now....

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.thelighthousebooks.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.perfora.net'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.thelighthousebooks.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://ssl.perfora.net/thelighthousebooks.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/thelighthousebooks.com/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/homepages/15/d113630270/htdocs/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

and where is a good place to put the backup folder??? under _private?

Posted

I created that already. And it is backups, not backup.

 

I'm telling you, I read all the posts on the subject I could find and tried everything. Can't figure it out!

Posted
Not sure what you mean. Read my first post, I have all the data there  ;)

 

in your admin configure there should be a statement :

 

define('DIR_FS_ADMIN', 'D:/xxxxxxxxxxxxxx/'); // absolute pate required

 

before :

 

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

Treasurer MFC

Archived

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

×
×
  • Create New...