daveyboy Posted May 9, 2003 Posted May 9, 2003 While trying to run install, I'm getting the error- Fatal error: Failed opening required 'includes/functions/general.php' (include_path='/usr/local/lib/php:/php/includes') in /usr/home/username/www/catalog/install/includes/application.php on line 28 these lines in application.php seem to be hardcoded- require('includes/functions/general.php'); require('includes/functions/database.php'); require('includes/functions/output.php'); require('includes/functions/html_output.php'); so, if I start building the structure from application.php thats required it works until the next occurance. is there something I'm missing in setting up the website, an alias perhaps? its happening in multiple snapshots and well as ms1. Thanks In Advance :)
daveyboy Posted May 9, 2003 Author Posted May 9, 2003 thats where its get wacky 'includes/functions/general.php' is then a virtual path from the original, so if you create '/usr/home/username/www/catalog/install/includes/includes/functions/' that portion works then it moves on to another files with the same pathing issues. basically its looking deeper instead of back for the includes. I'm also pretty sure changing the line to '../includes/functions/general.php' works as well. just seems like something is missing. I can't see manually changing all of these files, and unfortunately this isn't a variable settting :(
wapboy Posted May 16, 2003 Posted May 16, 2003 I am getting exact same problem, did you ever get an answer. Going through and changing all includes/requires doesn't seem like fun Paul
Guest Posted May 18, 2003 Posted May 18, 2003 I'm having the exact same problem. I figured it would be something to do with the configure.php file where these directories/paths are defined. But it all looks right. Seems such an annoying stumbling block, surely someone knows the solution ... i hope :)
wapboy Posted May 18, 2003 Posted May 18, 2003 This is a major problem with OsCommerce - don't know why but Open software it ain't - seems to be designed for one type of host I've downloaded plenty of different php products but in comparison, this is a long way short of being a decent product. If you can't install it, then it is not worth it. And i certainly can't install it. Paul
rseigel Posted May 18, 2003 Posted May 18, 2003 That's BS Paul. OSC is being used by hundreds (probably thousands) of LIVE SHOPS. Do you think they're all on the same type of host? Hardly. Don't say crap like that when you obviously have no idea what you're talking about.
Guest Posted May 18, 2003 Posted May 18, 2003 Surely it can't be a matter of changing the paths manually in each script ? Is there something wrong in the general configuration details from configure.php? For example here's what i'm using with the domain/user name made generic: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.mydomain.com'); // 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', '/home/my_user_name/public_html'); define('DIR_FS_CATALOG', '/home/my_user_name/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); like daveyboy says, the scripts are looking deeper instead of in relation to the main site. For example, the file application_top.php that lives inside the includes directory is looking for the includes directory within the includes directory - jeez it's hard to make this sound right :?
wapboy Posted May 18, 2003 Posted May 18, 2003 Hey Ron My point was I've downloaded plenty of php products and they all install neatly - but this one doesn't. Read the forums - there are plenty of people out there having problems installing this product and the ones that are working seem to keep referring to IIS. But regardless of that it don't work as downloaded. I like the product and it seems to be the best shopping cart around, but if it don't work on a download what does that mean - plenty of freeware does but this doesn't. Maybe I'm stupid, but how come there are plenty of posts on the forums with the same errors and nobody has provided an answer. Dream on baby Paul
rseigel Posted May 18, 2003 Posted May 18, 2003 The point is that it works. Period. The only requirements are: 1) PHP 3+ 2) mySQL 3) register_globals on That's it. As long as those requirements are met then it's the fault of the person installing it - NOT OSC. 99.9% of the time the fault lies in the wrong settings in configure.php. Questions? :?
wapboy Posted May 18, 2003 Posted May 18, 2003 Ron You're missing the point - this and other forums are full of people who are having problems installing this software (probably only 0.01% of users if you are right). If you can help then respond to the posts but don't belittle. So how do you get round the requires problem??? Paul
rseigel Posted May 18, 2003 Posted May 18, 2003 Considering you haven't bothered to ask a question about your specific situation here there's no answer to your question. You seem to be content to merely belittle OSC and the developers that have spent years developing it. Is it their fault you can't figure out how to change a few simple variables? Hardly.
Guest Posted May 19, 2003 Posted May 19, 2003 99.9% of the time the fault lies in the wrong settings in configure.php. Questions? :? sorry to interupt ... are the settings given above wrong? What would the right settings be?
valley Posted May 25, 2003 Posted May 25, 2003 I have installed and had been working with the OSc cart for the last two months without much knowledge (with a lot ofhelp from this forum) . So do many others . So OSc is a great software. There are unpredictable problems depending on purticular situations which gives everyone reasons to thgink and develop like this one... I have setup an exact copy of the ccatalog, admin and the database (my ISP allows THREE) on the same server . I have Installed everything in to a new directory catalog_dev and just changed "catalog" to "catalog_dev" in the configure files in both catalog/includes and admin/includes. My New store loads normally and evrything works fine However my Admin page comes with this strange error message. Fatal error: Failed opening required 'includes/application_top.php' (include_path='./') in /home/affili43/affili43-www/catalog_dev/admin/index.php on line 13 The two configure files have the following settings ORIGINAL : define('DIR_FS_DOCUMENT_ROOT', '/home/affili43/affili43-www'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/affili43/affili43-www/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/affili43/affili43-www/catalog/'); // 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/'); The NEW ONE define('DIR_FS_DOCUMENT_ROOT', '/home/affili43/affili43-www'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog_dev/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/affili43/affili43-www/catalog_dev/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog_dev/'); // absolute path required define('DIR_FS_CATALOG', '/home/affili43/affili43-www/catalog_dev/'); // 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/'); I have tried to changethe path of Includes to without solving the problem define('DIR_WS_INCLUDES', '/home/affili43/affili43-www/catalog_dev/admin/includes/'); Can someone think of a reason ? Many thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.