Francois Monsjou Posted March 11, 2010 Share Posted March 11, 2010 Hi everybody I just transferred my website to a new server and changed the database accordingly. However the payment, shipping, backup modules are not working anymore. So I guess I did not properly connect to the root folder. It is just that I can not see what I did wrong. Can anybody out there check my coding please? Thanking you in advance <?php define('HTTP_SERVER', 'http://top-gear.co.nz'); define('HTTP_CATALOG_SERVER', 'http://top-gear.co.nz'); define('HTTPS_CATALOG_SERVER', 'http://top-gear.co.nz'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/www/top-gear.co.nz'); define('DIR_WS_ADMIN', '//admin/'); define('DIR_FS_ADMIN', '/home/www/top-gear.co.nz/admin/'); define('DIR_WS_CATALOG', '//'); define('DIR_FS_CATALOG', '/home/www/top-gear.co.nz'); 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('DB_SERVER', 'mysql7.quadrahosting.com.au'); define('DB_SERVER_USERNAME', 'top999_top999'); define('DB_SERVER_PASSWORD', 'Musel1960'); define('DB_DATABASE', 'top999_topgear'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
web-project Posted March 11, 2010 Share Posted March 11, 2010 define('DIR_FS_DOCUMENT_ROOT', '/home/www/top-gear.co.nz'); define('DIR_FS_CATALOG', '/home/www/top-gear.co.nz'); define('DIR_WS_ADMIN', '//admin/'); define('DIR_WS_CATALOG', '//'); I think it should be like that: define('DIR_FS_DOCUMENT_ROOT', '/home/www/top-gear.co.nz/'); define('DIR_FS_CATALOG', '/home/www/top-gear.co.nz/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_WS_CATALOG', '/'); Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
Francois Monsjou Posted March 12, 2010 Author Share Posted March 12, 2010 Hi Alex Thank you so much for your reply but unfortunately it is still not working. Any other suggestions? Many thanks Cheers Frans Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 12, 2010 Share Posted March 12, 2010 Hi Alex Thank you so much for your reply but unfortunately it is still not working. Any other suggestions? Many thanks Cheers Frans I'n thinking you need to remove the / in front of admin. define('DIR_FS_DOCUMENT_ROOT', '/home/www/top-gear.co.nz/'); define('DIR_FS_CATALOG', '/home/www/top-gear.co.nz/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_WS_CATALOG', '/'); Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Francois Monsjou Posted March 15, 2010 Author Share Posted March 15, 2010 Thank you Alex but unfortunately it is still not working. Maybe ignorant question can one have 2 oscommerce websites sharing the same database??? This is the backup code which used to work on my old server. Could there be any other issues aside of configuration which stops my modules not working? Cheers Frans Code as follows <?php define('HTTP_SERVER', 'http://top-gear.co.nz'); define('HTTP_CATALOG_SERVER', 'http://top-gear.co.nz'); define('HTTPS_CATALOG_SERVER', 'http://top-gear.co.nz'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/www/top-gear.co.nz/'); define('DIR_WS_ADMIN', '//admin/'); define('DIR_FS_ADMIN', '/home/www/top-gear.co.nz/admin/'); define('DIR_WS_CATALOG', '//'); define('DIR_FS_CATALOG', '/home/www/top-gear.co.nz/'); 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/'); Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted March 15, 2010 Share Posted March 15, 2010 That looks like the configure.php file in your admin directory. How about the one in your catalog? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.