Guest Posted January 10, 2005 Posted January 10, 2005 Hi all, I installed osCommerce on my own server, configured it, changed the colors and fonts and layouts, added new links, new products. Then my friend's domain is up, i installed osCommerce on his server - so it has got all the default files on his server - then i moved all the files from my server to his server by replacing the default files. I changed /catalog/includes/configure.php and /catalog/admin/includes/configure.php so that it points to the correct domain, and DB. Ok. Now i go to the admin control on his server.. and see all the configurations, owner name, currencies, categories, which i thot its ok. But when i go to the online catalog, it still display the default information like "Software (4) DVD Movies (17)" instead of "Gifts" and "Wine" .. and all the "Action" .. "Simulation" instead of "Flowers" .. "Chocolates".. which i see them at my Admin control.. Since the Admin panel confuse me.. i tried adding a new Customer. The new Customer does not show up in my Admin -> Customers -> Customers too. I am confused.. i thot ive changed the configure.php to the DB on his server?? // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'pat_shop'); define('DB_SERVER_PASSWORD', 'pat_shop'); define('DB_DATABASE', 'pat_shopt'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' I dont understand.. Please help.. :'(
Simmy Posted January 10, 2005 Posted January 10, 2005 Sounds like you've only changed one of the configure.php's, there is one for admin and one for catalog!??? Maybe, worth a look!
Guest Posted January 10, 2005 Posted January 10, 2005 post the configure.php files without the database info.
Guest Posted January 10, 2005 Posted January 10, 2005 Sounds like you've only changed one of the configure.php's, there is one for admin and one for catalog!??? Maybe, worth a look! <{POST_SNAPBACK}> Yep yep.. i've changed the one in the catalog. :huh:
Guest Posted January 10, 2005 Posted January 10, 2005 post the configure.php files without the database info. Mibble, do you mean i remove the whole portion of: // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'pat_shop'); define('DB_SERVER_PASSWORD', 'pat_shop'); define('DB_DATABASE', 'pat_shopt'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' in both configure.php ?
Guest Posted January 10, 2005 Posted January 10, 2005 Oh thanks Mibble and Simmy for the help. It works now. It was some file overwriting problems. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.