Guest Posted March 5, 2004 Share Posted March 5, 2004 Hi All, when I go to admin - Tools - Database Backup I get the following 'pink stripe' error. Error: Backup directory does not exist. Please set this in configure.php. Under the 'Title' section it says Backup Directory: /usr/local/etc/httpd/htdocs//admin/backups/ I think the error is the double forward slash between htdocs and admin ?? but I can't actually see where is configure.php to correct that. If i'm on the right track can somebody tell me where to get rid of the // or if i'm way off track can somebody tell me what i need to do to fix the error? Thanks everyone (anyone?) Rob.. Link to comment Share on other sites More sharing options...
burt Posted March 5, 2004 Share Posted March 5, 2004 Create a directory inside admin called backups. Chmod it 777 See your FTP program help files for more details. Link to comment Share on other sites More sharing options...
241 Posted March 5, 2004 Share Posted March 5, 2004 can you post your configure.php file as the // should have appeared after admin if it was to appear anywhere when a wrong path is given 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2004 Share Posted March 5, 2004 here it is.... thanks <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); // define our database connection define('DB_SERVER', ''); define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'catalog'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2004 Share Posted March 5, 2004 oh yeah that did the trick burt (doh!) thanks guys! Link to comment Share on other sites More sharing options...
241 Posted March 5, 2004 Share Posted March 5, 2004 creating the backups directory will resolve the issue, however it does not depart from the fact that the path is shown wrong this is due to not using absolute paths in the configure.php which causes the path to assume the second / However if you are happy with the simple resolve by creating the 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
bmccoach Posted March 15, 2004 Share Posted March 15, 2004 Thanks for the post. It was helpful, however I am still having the same issue. I created the directory inside admin called backups. That changed the error to say " Error: Backup directory is not writeable." How do I make it "writeable"? What does "Chmod it 777" mean? -Novice user, -Blake Link to comment Share on other sites More sharing options...
wondernet Posted March 15, 2004 Share Posted March 15, 2004 If you're using an SSH connection then 'chmod' is the command you use to change the permissions on the file/directory. If you just use an FTP application then you need to set the permission on the backup/ directory to 777, or User, Group, World all to Read, Write, Execute. Link to comment Share on other sites More sharing options...
bmccoach Posted March 15, 2004 Share Posted March 15, 2004 I am not getting it. Sorry - It still gives me "Error: Backup directory is not writeable." I am using Web Shell version 3.0.4 to modify files. I did not see a way to change anything in the "backups/" folder in the admin dir I changed the access rights to the following files: .htaccess backup.php configuration.php What am I missing? I must not be changing the right files???&^%%&^% -HELP (please) :) Link to comment Share on other sites More sharing options...
Guest Posted April 13, 2004 Share Posted April 13, 2004 I'm getting the same error message with a fresh install. However, the backup directory does exist and I have CHMODded it to 777. Any ideas? Should I hard code the paths in configure.php? I'm using shared SSL and pointing to a remote database. Everything else, though, is hosted in the shared directory. Link to comment Share on other sites More sharing options...
Guest Posted April 13, 2004 Share Posted April 13, 2004 I just wrote my web host; they're upgrading their auto-installer. I just realized it was MS 1, after they told me it was MS2. Didn't take much to figure out - no preinstalled modules. So I'm going to upgrade and see if the problem goes away. Link to comment Share on other sites More sharing options...
detsouvalas Posted April 13, 2004 Share Posted April 13, 2004 What am I missing? I must not be changing the right files???&^%%&^% Well, use the same procedure as for the described files and change the permissions of the directory admin/backups! :rolleyes: Antonios Link to comment Share on other sites More sharing options...
aldaffodil Posted April 14, 2004 Share Posted April 14, 2004 Hi...I've figured out the source of this problem. I fought with it for a while and here's the answer: In configure.php in the definition for DIR_FS_ADMIN, make sure you put a forward slash first thing...such as /home/public_html. This should solve the problem. Link to comment Share on other sites More sharing options...
241 Posted April 14, 2004 Share Posted April 14, 2004 robertcook you have no servers defined 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.