markymrk22 Posted January 12, 2006 Posted January 12, 2006 I am desperate. I just switched servers. moved over entire db, webfiles - email, everything. everything is working great - only thing is All my modules are gone - for example if you go to checkout - there are no shipping options, or payment options. Where have these modules gone?? - I have the option to install them when you go to the admin panel - however when I click on install - nothing happens. -- nor do I even see a trace of past modules. Does anyone have any ideas? Please help. Thank you, Mark
MoisesZaragoza Posted January 12, 2006 Posted January 12, 2006 I had that problem not so long ago. what I did was a Backup of my DB and the site then I re intall osc Downloaded the config.php (important) Re upload the original website (will all the bells and wissles) + the config.php that you just downloaded and re upload the DB in case anything got overitten at the end of the day the code will be good
markymrk22 Posted January 12, 2006 Author Posted January 12, 2006 let me see if I understand you. start from scratch. install a brand new oscommerce then bring over files and db except for old configure.php files? is this correct? is there another way? Thanks Mark
ozcsys Posted January 12, 2006 Posted January 12, 2006 I am desperate. I just switched servers. moved over entire db, webfiles - email, everything. everything is working great - only thing is All my modules are gone - for example if you go to checkout - there are no shipping options, or payment options. Where have these modules gone?? - I have the option to install them when you go to the admin panel - however when I click on install - nothing happens. -- nor do I even see a trace of past modules. Does anyone have any ideas? Please help. Thank you, Mark This is usually caused by an incorrect path setting in your admin/includes/configure.php file Double check and make sure that all of them are correct. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
markymrk22 Posted January 12, 2006 Author Posted January 12, 2006 all of the paths are correct. all that would matter is the module path right? this is what it used to be on my windows server - and still remains on my linux server define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); anyone see an error with it?
markymrk22 Posted January 12, 2006 Author Posted January 12, 2006 I have been through all my config files - many times. All the paths are correct. Does anyone have any ideas? I tried removing and restoring all the files already also. where is the root directory defined?
markymrk22 Posted January 12, 2006 Author Posted January 12, 2006 still pulling my hair out overhere. anyone have any suggestions??
markymrk22 Posted January 13, 2006 Author Posted January 13, 2006 admin config file <?php /* $Id: configure.php,v 1.3 2003/09/30 16:13:41 serg 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', 'true'); // 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', ''); ?> catalog config file <?php /* $Id: configure.php,v 1.4 2003/10/01 09:08:17 serg 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', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mydomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mydomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', '/catalog/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/'); // define our database connection define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Can anyone see any problems with these files??
MoisesZaragoza Posted January 13, 2006 Posted January 13, 2006 What you can do is intaling OSC in a sub directory and moving and modifing the configure.php at the end of the day the code will be good
Recommended Posts
Archived
This topic is now archived and is closed to further replies.