varnco Posted October 3, 2005 Posted October 3, 2005 I just transferred my site from a local server to my web server, both running Unix. I've configured the web site, so looks like it's working right (images show, etc.) However,my payment, shipping and order total modules aren't showing and when I click on the install button, nothing happens, but there's a path showing on the admin page: home/varn/public_html/pokerguard/catalog/includes/modules/payment/ I've read about a gazillion postings on others having this problem and how to fix it. I've tried all, and none seem to work, so I'm sure i am missing something small somewhere. Can somelone look at my code and let me know what needs to be changed that I can't see? catalog/admin/configure.php: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://www.pokerguard.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.pokerguard.com'); define('HTTPS_CATALOG_SERVER', 'https://www.pokerguard.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/varn/public_html/pokerguard/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/varn/public_html/pokerguard/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/varn/public_html/pokerguard/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/'); catalog/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://www.pokerguard.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.pokerguard.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.pokerguard.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); 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', '/home/varn/public_html/pokerguard/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Help!!!!
varnco Posted October 3, 2005 Author Posted October 3, 2005 I have CHMOD all directories 777 My database backup manager won't let me backup my files either. It's surely a config problem that I just can't see. I ran a path.php file (from a rec. on these boards) and the path comes back as such: /home/varn/public_html/pokerguard/catalog So, I think I have the paths correct on my config files, right?
241 Posted October 3, 2005 Posted October 3, 2005 admin define('DIR_FS_DOCUMENT_ROOT', '/home/varn/public_html/pokerguard/catalog/'); // where the pages are located on the server should be define('DIR_FS_DOCUMENT_ROOT', '/home/varn/public_html/pokerguard/catalog'); // where the pages are located on the server removal of slash from end of path catalog define('HTTP_COOKIE_DOMAIN', 'http://www.pokerguard.com'); should be define('HTTP_COOKIE_DOMAIN', 'www.pokerguard.com'); removal of http:// do you get any error messages for the backup manager, maybe a timeout message 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.
varnco Posted October 3, 2005 Author Posted October 3, 2005 All seems to be fine now. The last things I did were these: 1) I noticed there is a config.php in catalog/admin and in catalog/admin/includes. 2) Given #1 above, I edited config.php in the includes directory and added a / at the begging of the files that needed a root. Everything appears to be working, including backup. Should there NOT be a config.php file in the catalog/admin folder? Aren't these supposed to be in the include folders?
241 Posted October 3, 2005 Posted October 3, 2005 there should be a configure.php in catalog/includes/ and also a seperate one for the admin in catalog/admin/includes also you need to make sure that there are none in catalog/includes/local and none in catalog/admin/includes/local as configure.php files located in the local folders overide those in the includes folders 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.
varnco Posted October 3, 2005 Author Posted October 3, 2005 admin define('DIR_FS_DOCUMENT_ROOT', '/home/varn/public_html/pokerguard/catalog/'); // where the pages are located on the server should be define('DIR_FS_DOCUMENT_ROOT', '/home/varn/public_html/pokerguard/catalog'); // where the pages are located on the server removal of slash from end of path catalog define('HTTP_COOKIE_DOMAIN', 'http://www.pokerguard.com'); should be define('HTTP_COOKIE_DOMAIN', 'www.pokerguard.com'); removal of http:// do you get any error messages for the backup manager, maybe a timeout message Thanks, BTW.. I went ahead and made the changes mentioned above, and everything works fine too. I think I was being a dummy and working on a config.php file that is under admin that shouldn't be there. I should've been working on the config.php file under admin/includes. Thanks again.
241 Posted October 3, 2005 Posted October 3, 2005 there is a file in admin called configuration.php however this is not a file that should need to be touched 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.
MJP Posted October 30, 2005 Posted October 30, 2005 Thank You, 241! I was having the same problem with the modules. Your help solved it! Appreciate it!
Guest Posted November 7, 2005 Posted November 7, 2005 Thank You from me as well. I have been battling almost all day with shipping and payment modules and the simple change in config fixed it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.