Guest Posted April 2, 2007 Posted April 2, 2007 I moved my store from one location to another. Everything seems to be working except when I go into admin-modules. I have no modules listed. I know it's in my idmin-includes-configure.php but can't trace it down. Here is a copy of my code. Any help is greatly appreciated :) <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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://www.xxxxxx.net'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxx.net'); define('HTTPS_CATALOG_SERVER', 'https://xxxxxx.xx.xxxxxx.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'xxxxxx.net/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/xxxxxx/'); // absolute path required define('DIR_FS_ADMIN', '/xxxxxx/'); // absolute pate required define('DIR_WS_CATALOG', ''); // absolute path required define('DIR_FS_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/'); // define our database connection THIS PART WORKS GOOD ;)?>
usernamenone Posted April 3, 2007 Posted April 3, 2007 define('HTTP_SERVER', 'http://www.xxxxxx.net'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxx.net'); define('HTTPS_CATALOG_SERVER', 'https://xxxxxx.xx.xxxxxx.com'); is this really a .com and your document root is a .net? define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'xxxx/xxxx/www/xxxx/catalog/'); // where the pages are located on the server absolute path define('DIR_WS_ADMIN', '/xxxxxx/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/xxxxxx/xxxx/xxxx/xxxx/xxxx/catalog/admin/'); // absolute path required define('DIR_WS_CATALOG', ''); // absolute path required this need to be www.yoursite.com/catalog define('DIR_FS_CATALOG', ''); // absolute path required this has to be the file on your server This is just what I noticed right off. Guess you could say there isn't much right about it.
Guest Posted April 3, 2007 Posted April 3, 2007 define('HTTP_SERVER', 'http://www.xxxxxx.net'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxx.net'); define('HTTPS_CATALOG_SERVER', 'https://xxxxxx.xx.xxxxxx.com'); is this really a .com and your document root is a .net? define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'xxxx/xxxx/www/xxxx/catalog/'); // where the pages are located on the server absolute path define('DIR_WS_ADMIN', '/xxxxxx/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/xxxxxx/xxxx/xxxx/xxxx/xxxx/catalog/admin/'); // absolute path required define('DIR_WS_CATALOG', ''); // absolute path required this need to be www.yoursite.com/catalog define('DIR_FS_CATALOG', ''); // absolute path required this has to be the file on your server This is just what I noticed right off. Guess you could say there isn't much right about it. Thank you usernamenone. The define('HTTPS_CATALOG_SERVER') is the shared SSL address my provider gave me. My site is a .net and yes the SSL is .com. It does take you to my site. I have everything working right ... I think. Here is what I changed. (see admin code below) I'm open for advice. When I go to my store and look at products my adress bar is coming up like this; http://www.xxxxxx.netwww.xxxxxx.net/produc...p;products_id=1 Why is it listing my url twice "www.xxxxxx.netwww.xxxxxx.net"??? I have both my configure.php files listed below. This is my catalog>admin>includes>configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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://www.xxxxxx.net'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.xxxxxx.net/'); define('HTTPS_CATALOG_SERVER', 'https://xxxxxx.xx.xxxxxx.com/'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/xxxxxx/xxxxxx.net/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/xxxxxx/'); // absolute path required define('DIR_FS_ADMIN', '/xxxxxx/'); // absolute pate required define('DIR_WS_CATALOG', 'www.xxxxxx.net/'); // absolute path required define('DIR_FS_CATALOG', '/hsphere/local/home/xxxxxx/xxxxxx.net/'); // 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/'); // define our database connection working good ?> This is my catalog>includes>configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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://www.xxxxxx.net'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', 'https://xxxxxx.xx.xxxxxx.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.xxxxxx.net'); define('HTTPS_COOKIE_DOMAIN', 'https://xxxxxx.xx.xxxxxx.com'); define('HTTP_COOKIE_PATH', 'www.xxxxxx.net/'); define('HTTPS_COOKIE_PATH', 'https://xxxxxx.xx.xxxxxx.com/'); define('DIR_WS_HTTP_CATALOG', 'www.xxxxxx.net/'); define('DIR_WS_HTTPS_CATALOG', 'https://xxxxxx.xx.xxxxxx.com/'); 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', '/hsphere/local/home/xxxxxx/xxxxxx.net/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection working good ?>
Guest Posted April 3, 2007 Posted April 3, 2007 Here is a thread that realy help a lot. I suggest using it to compare and update your configure.php(s) http://www.oscommerce.com/forums/index.php?sho...l=configure.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.