Guest Posted June 19, 2004 Share Posted June 19, 2004 I hope someone can help me. When I am trying to go to MODULES and back up in the Adminstration, I get this error "Backup Directory: /usr/local/psa/home/vhosts/mysite.com/httpdocsbackups/" now httpdocsbackups is not the correct path. The correct path should read /usr/local/psa/home/vhosts/mysite.com/catalog/backups/ I also get the same error for CATALOG ( Error: Catalog images directory does not exist: /usr/local/psa/home/vhosts/mysite.com/httpdocsimages/) and most of the image files. I am not sure how I managed to get the path wrong, can someone help? How do I replace httpdocs with catalog/ ? Also, when I go to my www.mysite.com/catalog I get the install page again. The installation was complete automatically and I can go to the Administration page. Is this normal? Thank you very much for your help in advance. :) Jatin Link to comment Share on other sites More sharing options...
Guest Posted June 19, 2004 Share Posted June 19, 2004 Back Again, this is my configure.php file in admin/includes/ directory. <?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', ''); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_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', 'www.mysite.com'); define('DB_SERVER_USERNAME', '********'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', 'ecommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Link to comment Share on other sites More sharing options...
241 Posted June 19, 2004 Share Posted June 19, 2004 // 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', ''); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', ''); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); where do you begin. first line has no server defined second line has no server defined There are no absolute paths defined for FS_DOCUMENT_ROOT No define for admin path no define for catalog path no define for FS_ADMIN no define for FS_CATALOG 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 June 19, 2004 Share Posted June 19, 2004 If I define the path in the config rather than leaving it blank I get double path in the url address for example: http://www.mypath.com/catalog/admin/*********.php becomes http://www.mysite.com/catalog/www.mysite.c...dming/********* I must have messed up somewhere whilst installing so I decided to re-install again. Now I am getting this error: Install Step 1: Successfull Install Step 2 (requests this path : /usr/local/psa/home/vhosts/install/oscommerce.sql ): when I click on Continue I get this error message SQL file does not exist: /usr/local/psa/home/vhosts/install/oscommerce.sql I uploaded all the files using FTP to our website so I know this file is there. Anything I can do in install/templates/pages to fix this problem? Once again thanks a alot. PS: I am a newbie so please be patient with me :) Link to comment Share on other sites More sharing options...
241 Posted June 19, 2004 Share Posted June 19, 2004 there was no need to do a re install all that was required was to set the defines correctly, if you get a double path this is a sign that the define is not set correctly and only needs the define set correctly. When you say that you are re installing did you delete the database, if not then you can skip the part of the install for the database, if the database is intact and the files are uploaded you do not need the install, you need only to configure the two configure.php files 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 June 19, 2004 Share Posted June 19, 2004 Problem solved. Thanks 241. As always you were right (I did do some search before posting) I just had to make a few changes to configure.php file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.