Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Guest

Recommended Posts

Posted

Just logged into my admin panel and noticed this ?

 

I cant for the life of me remeber ho to fix it

 

Any ideas

Posted

create a directory called backups in the admin directory

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted
Tried this, but it still gives up the same error

 

Make sure you assign write permissions to the directory. If osC cannot write to the folder you will get the same error

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Hav tried that too but still nothing,

 

Here is the source form my configure.php

 

define('HTTP_SERVER', 'http://www.sparksmusic.co.uk'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.sparksmusic.co.uk');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', '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 . 'includes/backups/');

 

Is there anything wrong with the code ?

Posted

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

 

this path means that you would need to create the directory in admin/includes normally this reads

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

and that is why I stated that you would need to create the directory backups in admin

 

 define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog/');

 

should be

 

 define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog');

 

without the / at the end

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Hi

 

I have tried all the above and stillg ettingthe same error in the admin panel

 

Is there anythingI can do soyou can check to see what I have done wrong, I havechanged the CHMOD on the directory to 777 is this correct ?

 

Thanks

Posted

so your admin/includes/configure.php looks like this

 

define('HTTP_SERVER', 'http://www.sparksmusic.co.uk'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.sparksmusic.co.uk');
define('HTTPS_CATALOG_SERVER', '');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/content/DesignerPlus/s/p/sparksmusic.co.uk/web/catalog/'); // absolute path required
define('DIR_WS_IMAGES', '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/');

 

and you have a directory catalog/admin/backups which has the permission set CHMOD 777

 

NOTE: the FS_ADMIN path was wrong

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...