appleguru Posted January 2, 2006 Share Posted January 2, 2006 I'm moving my fully configured and working osc install from a php4 server to a php5 server.. can anyone give me a list of changes that need to be made to get it to work? Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2006 Share Posted January 2, 2006 I'm moving my fully configured and working osc install from a php4 server to a php5 server.. can anyone give me a list of changes that need to be made to get it to work? do a search...there are many threads on this subject..... Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 I did do a search.. found lots of threads basically saying download the php5 contrib or grab the latest release as it has php5 fixes built in.. that doesn't help me though as I'm trying to migrate a heavilly modified ms2 install that is currently on a php4 system over to a php5 server... Link to comment Share on other sites More sharing options...
Guest Posted January 2, 2006 Share Posted January 2, 2006 I did do a search.. found lots of threads basically saying download the php5 contrib or grab the latest release as it has php5 fixes built in.. that doesn't help me though as I'm trying to migrate a heavilly modified ms2 install that is currently on a php4 system over to a php5 server... Have you looked at this : http://www.oscommerce.com/forums/index.php?showtopic=179130&hl= Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Have you looked at this : http://www.oscommerce.com/forums/index.php?showtopic=179130&hl= No.. thank you :) :) Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Ok, moved my files and sql db over to my new server and made that one change noted in the thread aove for php5.. The page loads fine.. but you cannot add items to the shopping cart... Also, the admin page says: "Error! Unable to determine the page link! Function used: tep_href_link('', 'selected_box=infobox', 'NONSSL')" When you try to access anything... BTW, I'm also migrating to an SSL-enabled host.. Is there something obvious I might be missing that'd explain this behavior? TIA! -Adam Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Mmm, also, I can't login and the Contact Us form doesn't work... hmm Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Adding some details in hope of fixing this... Main configure file looks like this: <?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.otbmods.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.otbmods.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.otbmods.com'); define('HTTPS_COOKIE_DOMAIN', 'www.otbmods.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_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', '/usr/home/appleguru/otbmods.com/html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'blah'); define('DB_SERVER_PASSWORD', 'blah'); define('DB_DATABASE', 'blah'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Admin config file looks like this: <?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.otbmods.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.otbmods.com'); define('HTTPS_CATALOG_SERVER', 'https://www.otbmods.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/usr/home/appleguru/otbmods.com/html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/usr/home/appleguru/otbmods.com/html/admin/'); // absolute path required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/usr/home/appleguru/otbmods.com/html/'); // 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 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'blah'); define('DB_SERVER_PASSWORD', 'blah'); define('DB_DATABASE', 'blah'); define('USE_PCONNECT', 'true'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Anything look blatantly wrong? Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Also, the server is running apache 2.0.54, PHP 5.0.4, and mysql 4.1.12 if that helps. Any help is much appreciated!! Link to comment Share on other sites More sharing options...
appleguru Posted January 2, 2006 Author Share Posted January 2, 2006 Ah.. found it.. http://www.oscommerce.com/forums/index.php?showtopic=171198 All set now.. thanks guys! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.