Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


danthony2

Recommended Posts

Well now that I am actually selling stuff and it is working out very good I thought I better backup my db, but when I tried I got this page below.

 

Cart_Error_backup.PNG

 

I have checked the configure.php in the admin directory many times. I can't seem to figure out what is wrong.

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.networking-help.biz'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.networking-help.biz');
 define('HTTPS_CATALOG_SERVER', 'https://www.networking-help.biz');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '//home/content/n/h/a/myspace/html/store/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/store/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/store/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/content/n/h/a/myspace/html/store/'); // absolute path required
 define('DIR_WS_IMAGES', '/store/admin/images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 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/');

 

If someone can help me that would be very cool.

Thanks

David

Link to comment
Share on other sites

All that means is the folder 'backups' doesn't exist... it should be located at: catalog/admin/backups/

 

The admin/backup.php file probably will exist but your admin/backups folder isn't created. Just go and create it and the error message will go away :thumbsup:

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

I wish it was that easy...

 

I have checked everything, and it still is driving me crazy. The directory is there and has been there.

 

Backup_Directory.PNG

 

Then I checked the permissions and made sure they were set to 777

 

CHMOD_Backups.png

 

Is this helping any?

 

THanks

David

 

 

All that means is the folder 'backups' doesn't exist... it should be located at: catalog/admin/backups/

 

The admin/backup.php file probably will exist but your admin/backups folder isn't created. Just go and create it and the error message will go away :thumbsup:

Link to comment
Share on other sites

Is there something that matter with this?

 

define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/store/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/store/'); // absolute path required

 

I wish it was that easy...

 

I have checked everything, and it still is driving me crazy. The directory is there and has been there.

 

Backup_Directory.PNG

 

Then I checked the permissions and made sure they were set to 777

 

CHMOD_Backups.png

 

Is this helping any?

 

THanks

David

Link to comment
Share on other sites

Could still use some help on this please.

 

Thank you

 

Is there something that matter with this?

 

define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/store/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/store/'); // absolute path required

Link to comment
Share on other sites

  • 1 month later...

Should it look like this?

 

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

 

Let me know, but I honestly think it might be something more because if you look at the post there are other problems of this nature.

 

Thank you

David

 

Remove DIR_FS_ADMIN . from the backup line and see if that works.
Link to comment
Share on other sites

  • 2 weeks later...
Could still use some help on this please.

 

Thank you

 

 

You have an e where there should be an h in path. If that's not it, then I am having the same problem and could use some help too

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...