renix Posted August 19, 2005 Share Posted August 19, 2005 Worked on an oscommerce site on my home pc - running Apache and PHP. Had my host put my database on server, then copied my catalog to the server. After getting through all the global variables issues (installed mod), I'm unable to connect to the db on the new server, even though I've set things up as per host's directions - changed usernames and passwords and server paths in configure.php files (both of them). Host says the install directory is missing. It is, because I deleted it after installing on my home pc. How do I proceed? Do I need to run the oscommerce install on the server, then replace the catalog files with my new ones? Are there other files that I might need to change? Any assistance would be greatly appreciated. Thanks, Mike Link to comment Share on other sites More sharing options...
Guest Posted August 19, 2005 Share Posted August 19, 2005 no, your host is incorrect. sounds like besides going thru everything in the configure.php you may need another host. Link to comment Share on other sites More sharing options...
AlanR Posted August 19, 2005 Share Posted August 19, 2005 Host says the install directory is missing. It is, because I deleted it after installing on my home pc. <{POST_SNAPBACK}> That's because your configure.php file is not set. In application_top.php you'll find: // include server parameters require('includes/configure.php'); if (strlen(DB_SERVER) < 1) { if (is_dir('install')) { header('Location: install/index.php'); } } If the DB_SERVER server line is blank ('') it looks for the install directory. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.