williesims Posted August 5, 2006 Share 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 Quote Link to comment Share on other sites More sharing options...
choosealogin Posted August 5, 2006 Share 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/'); Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share 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. Quote Link to comment Share on other sites More sharing options...
choosealogin Posted August 5, 2006 Share 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 Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share 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', ''); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share 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'); Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share 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' ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share 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 Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share Posted August 5, 2006 try adding the line suggested and report back what error it shows (if any!) Tom Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share Posted August 5, 2006 no error but still will not work I cannot find the define doc line though Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share Posted August 5, 2006 Found the problem NO paymen modules The only module listed is newsletter soooo now what? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share 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? Quote Link to comment Share on other sites More sharing options...
williesims Posted August 5, 2006 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 5, 2006 Share 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 Quote Link to comment Share on other sites More sharing options...
williesims Posted August 6, 2006 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share 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. Quote Link to comment Share on other sites More sharing options...
williesims Posted August 6, 2006 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share 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 Quote Link to comment Share on other sites More sharing options...
stickerland Posted November 24, 2006 Share Posted November 24, 2006 i got the same problem...can someone help me please?? how did you fixed the problem...? thx for reply Quote Link to comment Share on other sites More sharing options...
Mr Evans Posted July 1, 2007 Share 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 21, 2007 Share 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.