dogfood Posted May 8, 2003 Share Posted May 8, 2003 I first tried an osCommerce install on a development server and it worked like a charm. I uploaded the same snapshot to my webhost and I immediately start getting some path errors during installation. Warning: main(includes/functions/general.php) [function.main]: failed to create stream: No such file or directory in /www2/R/rm/web/www.mysite.com/catalog/install/includes/application.php on line 28 Fatal error: main() [function.main]: Failed opening required 'includes/functions/general.php' (include_path='/www2/R/rm/web/www.mysite.com/') in /www2/R/rm/web/www.mysite.com/catalog/install/includes/application.php on line 28 How do I proceed? Correct all paths manually? There must be an easier way... Link to comment Share on other sites More sharing options...
dogfood Posted May 8, 2003 Author Share Posted May 8, 2003 All files have been copied correctly to the server, all permissions are set correctly. I start the /catalog/install/install.php file to start the installation. The install.php file points to includes/application.php The application.php file points to includes/functions/general.php ... and this is where things start getting wrong. For some reason, my server doesnt know it is already in the includes subdirectory and interpretes this as /catalog/install/includes/includes/functions/general.php What's wrong? Please help, I'm desperate. :cry: :cry: :cry: The only alternative left for me would be to edit all the pathnames in all files... a huge amount of work. Link to comment Share on other sites More sharing options...
zlack Posted May 8, 2003 Share Posted May 8, 2003 Maybe you typed something wrong during the install. Could you post the configure.php? it relies in your /catalog/includes dir. zlack It's easier to remember, then to forget Link to comment Share on other sites More sharing options...
dogfood Posted May 9, 2003 Author Share Posted May 9, 2003 Maybe you typed something wrong during the install. Could you post the configure.php? it relies in your /catalog/includes dir. zlack Thanks for the reply zlack! This path problem already starts when I'm trying to do the install. There's nothing in configure.php yet: <?php /* $Id: configure.php,v 1.13 2003/02/10 22:30:51 hpdl Exp $ 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', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/catalog/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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', 'mysql'); 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' ?> Link to comment Share on other sites More sharing options...
zlack Posted May 9, 2003 Share Posted May 9, 2003 strange... maybe your snapshot was not ok? did you try to install a milestone? zlack It's easier to remember, then to forget Link to comment Share on other sites More sharing options...
dogfood Posted May 9, 2003 Author Share Posted May 9, 2003 maybe your snapshot was not ok?did you try to install a milestone? That's not the reason. I tried the same snapshot on a few free webhosting accounts and it works fine. The issue must be somewhere in the server config, I think... Link to comment Share on other sites More sharing options...
zlack Posted May 9, 2003 Share Posted May 9, 2003 can't help you any further then :( sorry. good luck! zlack It's easier to remember, then to forget Link to comment Share on other sites More sharing options...
daveyboy Posted May 9, 2003 Share Posted May 9, 2003 bummer - same thing is actually happening to me :( i've tried 3 different snaps and ms1. I'm at a loss maybe something in the virtualsite setup in apache? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.