williesims 0 Posted August 5, 2006 Module Directory: DIR_FS_CATALOG_MODULESpayment/ This is all I see I am using a unix server 130th.net and os commerce is one of the install options but I cannot get any payment options to list Share this post Link to post Share on other sites
choosealogin 3 Posted August 5, 2006 DIR_FS_CATALOG_MODULES is not defined. It needs to be. That is in catalog/admin/includes/configure.php That line normally looks like this define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 ; 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/'); It looks the same still will not work Sorry this is all new to me what do I need to do Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 try posting the full copy of you catalog/admin/includes/configure.php file here it could be caused by an error on a different line follwing through. Share this post Link to post Share on other sites
choosealogin 3 Posted August 5, 2006 (edited) In that case some of your other paths aren't right, in that same file (admin/includes/configure.php) check this one define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); using $DOCUMENT_ROOT should work....see if yours looks like that or not. You'll see in that file that a lot of the other paths reference DIR_FS_DOCUMENT_ROOT in their paths, like define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); so if it can't find your DIR_FS_DOCUMENT_ROOT, then the other paths won't work either. if it's already defined as $DOCUMENT_ROOT and that's not working, try using absolute paths, instead of the $DOCUMENT_ROOT variable. To find that path, go to your osC admin panel >>tools >> server info and scroll down to where you see "document root"....use the full path you see there for this line define('DIR_FS_DOCUMENT_ROOT', /the/path/you/found/in/admin/tools/serverinfo/); Edited August 5, 2006 by choosealogin Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 <?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', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 choosealogin beat me to that suggestion!! also if you are con a shared server it is better to use databse sessions not file based else you can get problems with customer's cart crossing over etc - change define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 Sorry I relized that there are two copies of the program just deleted on this is the source code for the one that is a problem <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://thegemmarket.com/osc/catalog'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://thegemmarket.com/osc/catalog'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thegemmarket.com'); define('HTTPS_COOKIE_DOMAIN', 'thegemmarket.com'); define('HTTP_COOKIE_PATH', '/osc/catalog/'); define('HTTPS_COOKIE_PATH', '/osc/catalog/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_ADMIN', '/admin/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // protected since inside docroot instead of outside to facilitate addon installer define('DIR_FS_WORK', '/home/thegemm/public_html/osc/catalog/admin/_work/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'thegemm_osc4'); define('DB_SERVER_PASSWORD', 'SDO81yiGop'); define('DB_DATABASE', 'thegemm_osc1'); define('DB_TABLE_PREFIX', 'osc4_'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 you need to add the line: define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); to that file. The file also looks quite customized from the standard osC install Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 Ok I Completely started over and reinstalled. The Program is installed as www.thegemmarket.com/catalog it is in the puplic_html folder. I would welcome someone to see if they can fix it but I have no idea what I am doing wrong or for that matter what i am doing,,,,,,, :blush: This is the new code for the reinstall <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://thegemmarket.com/catalog'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://thegemmarket.com/catalog'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thegemmarket.com'); define('HTTPS_COOKIE_DOMAIN', 'thegemmarket.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_ADMIN', '/admin/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // protected since inside docroot instead of outside to facilitate addon installer define('DIR_FS_WORK', '/home/thegemm/public_html/catalog/admin/_work/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'thegemm_osc5'); define('DB_SERVER_PASSWORD', 'jcpYxaO2ax'); define('DB_DATABASE', 'thegemm_osc1'); define('DB_TABLE_PREFIX', 'osc5_'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> the ftp is thegemmarket.com user thegemm password wil0866 I change it later today before someone says anything Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 try adding the line suggested and report back what error it shows (if any!) Tom Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 no error but still will not work I cannot find the define doc line though Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 Found the problem NO paymen modules The only module listed is newsletter soooo now what? Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 that is as it should be. the newletter should be the only module in the admin/includes/modules directory. the payment modules are all stored under the catalog/includes/modules/payment directory and the admin area accesses them there. That is why it needs the define for DIR_FS_CATALOG_MODULES - to tell the admin area where the catalog area modules are kept. When you go into your admin area and click modules -> payment are you still getting the original error as above? Any other messages? what do you see? Share this post Link to post Share on other sites
williesims 0 Posted August 5, 2006 NO error but no payment options Do these commands tell the program to go to that folder or does it tell it to go to the modules.php script Share this post Link to post Share on other sites
perfectpassion 0 Posted August 5, 2006 The modules.php file that is called up when you click payment uses the DIR_FS_CATALOG_MODULES to look in that folder for all the different payment module files that you have and lists them. when you click modules -> payment, do you not even get a line like: Module Directory: /kunden/homepages/10/htdocs/catalog/includes/modules/payment ? If you do what does it say? Tom Share this post Link to post Share on other sites
williesims 0 Posted August 6, 2006 window for payment opt the above is the link to admin payment opt dont know if it will work but try it config.php This is the config php it is currently under Module Directory: DIR_FS_CATALOG_MODULESpayment/ This is what it says I did try to do as mentioned earlier and change the line to define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); But that made do diff Share this post Link to post Share on other sites
perfectpassion 0 Posted August 6, 2006 it needs a username / password for the admin area - i'll happily have a look if you like - PM me it rather than posting it publically. Share this post Link to post Share on other sites
williesims 0 Posted August 6, 2006 ITS FIXED Thank all of you for you help IF EVER I CAN RETURN THE FAVOR ASK and if any of decied to buy some jewelry hollor at me and I will cut the price if i can Thanks again Share this post Link to post Share on other sites
perfectpassion 0 Posted August 6, 2006 you're welcome - it would seem that your admin configure.php is non-standard - I simply used the standard file and applied your settings as needed! Tom Share this post Link to post Share on other sites
stickerland 0 Posted November 24, 2006 i got the same problem...can someone help me please?? how did you fixed the problem...? thx for reply Share this post Link to post Share on other sites
Mr Evans 0 Posted July 1, 2007 i got the same problem...can someone help me please??how did you fixed the problem...? thx for reply I also have had this problem for two weeks. I really need help with it if anyone can help. I have checked the configure.php file and I have checked the absolute file path and used that in the configure.php file. Thanks Share this post Link to post Share on other sites
allymacneil 0 Posted July 21, 2007 In that case some of your other paths aren't right, in that same file (admin/includes/configure.php) check this one define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); using $DOCUMENT_ROOT should work....see if yours looks like that or not. You'll see in that file that a lot of the other paths reference DIR_FS_DOCUMENT_ROOT in their paths, like define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); so if it can't find your DIR_FS_DOCUMENT_ROOT, then the other paths won't work either. if it's already defined as $DOCUMENT_ROOT and that's not working, try using absolute paths, instead of the $DOCUMENT_ROOT variable. To find that path, go to your osC admin panel >>tools >> server info and scroll down to where you see "document root"....use the full path you see there for this line define('DIR_FS_DOCUMENT_ROOT', /the/path/you/found/in/admin/tools/serverinfo/); I changed: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); to define('DIR_FS_DOCUMENT_ROOT', '/var/www/test/'); and all works, I can now see settings in Admin -> Modules -> Payment, shipping and order total. HTH, Ally "Know that this is your God, who could not consent to send anyone else to save you, but would come himself that he might gain for himself all your love." St Alphonsus Ligouri Share this post Link to post Share on other sites