This is a discussion on Failed opening inclusion (include_path='.;c:\php4\pear') within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I have MS2-MAX installed and working properly on IIS web server, running PHP 4.2.2, except when I click modules or ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have MS2-MAX installed and working properly on IIS web server, running PHP 4.2.2, except when I click modules or anything within that section, I get several of the following errors: Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/authorizenet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Below is my catalog/includes/configure.php file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://mydomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://mydomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); 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/'); //Added for BTS1.0 define('DIR_WS_TEMPLATES', 'templates/'); define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/'); define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); //End BTS1.0 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/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', 'mydomain.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'first'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Below is my catalog/admin/includes/configure.php file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://mydomain.com'); define('HTTPS_CATALOG_SERVER', 'https://mydomain.com'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/hosting/webhost/member/userdir/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/hosting/webhost/member/userdir/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/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'mydomain.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'first'); define('USE_PCONNECT', 'true'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Does anything stick out like a sore thumb to anyone about my configuration? I asked my web host if it may have to do with their php setup - they tell me the following: "That would be more of a setup problem because it's not able to find the include path correctly so it's pulling up the default include path in php.ini." I read one post about using the IP address, rather than domain name. I tried that, but my host does not allow browsing via IP address. Any other ideas? Thank you! |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| I was logged in for my previous post - don't know why it did not recognize me. Anyway, I am stumped with this error - any ideas? |
|
#3
| ||||
| ||||
| Yea - I do - it is stupid Windows NTFS file permissions... In Windows Exploder |
|
#4
| ||||
| ||||
| Thanks so much for your prompt reply, Jpf! Per your advice, I applied RWX permissions to IUSR_ accounts from the /catalog/ directory forward. Please correct me if I am wrong, but I believe the permissions on the rest of my web site is irrelevant, right? In any case, this did not solve the problem. I still get same error. In addition, I am concerned about proper security for the /catalog/includes/configure.php file? |
|
#5
| |||
| |||
| Can anyone help me with this? Please, please, please? I do not know what else to do. |
|
#6
| ||||
| ||||
| Hey, you may want to check this out: http://oscdox.com/index.php?name=PNp...horize+net+bug It may be related...
__________________ Michael Sasek osCMax Developer
|
|
#7
| ||||
| ||||
| Thanks for the tip - I fixed that bug. Unfortunately, it is unrelated to mine. I get the same error for all modules. The first one I copied just happened to be the authorizenet.php one. I believe this has something to do with / and \ differences in Linux vs. Windows, but I cannot figure out which line in my configure files is causing the problem. For example, I successfully re-installed which changed the following lines in my admin\includes\configure.php file: After install: define('DIR_FS_ADMIN', 'c:/hosting/webhost/member/userdir/catalog/admin/'); // absolute pate required define('DIR_FS_CATALOG', 'c:/hosting/webhost/member/userdir/catalog/'); // absolute path required Then got the following error when I click on modules in admin: Warning: Failed opening 'c:/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/authorizenet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 NOTE THE REVERSE VS. FORWARD SLASHES Next, I edited the configure.php file to this new setting (correcting the forward slashes): define('DIR_FS_ADMIN', 'c:\hosting\webhost\member\userdir\catalog\admin\' ); // absolute pate required define('DIR_FS_CATALOG', 'c:\hosting\webhost\member\userdir\catalog\'); // absolute path required then got the following error in all of admin: Parse error: parse error, unexpected T_STRING in c:\hosting\webhost\member\userdir\catalog\admin\in cludes\configure.php on line 21 Fatal error: Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\in cludes\application_top.php on line 44 Does this help you help me? |
|
#8
| ||||
| ||||
| In case it may help someone to advise me, below is the entire list of errors I receive after clicking "Modules" in admin (Note the / versus \ syntax and that all errors refer to the modules.php file): Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/authorizenet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/authorizenet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/cc.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/cc.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/cod.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/cod.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/efsnet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/efsnet.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/freecharger.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/freecharger.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/geotrust.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/geotrust.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/ipayment.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/ipayment.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/moneyorder.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/moneyorder.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/nochex.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/nochex.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/paybox.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/paybox.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/paypal.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/paypal.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/paypalipn.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/paypalipn.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/pm2checkout.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/pm2checkout.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/psigate.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/psigate.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/languages/english/modules/payment/secpay.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 129 Warning: Failed opening '/hosting/webhost/member/userdir/catalog/includes/modules/payment/secpay.php' for inclusion (include_path='.;c:\php4\pear') in c:\hosting\webhost\member\userdir\catalog\admin\mo dules.php on line 130 Module Directory: /hosting/webhost/member/userdir/catalog/includes/modules/payment/ |
|
#9
| ||||
| ||||
| Could someone please give me their opinion on this error? Thank you |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Failed opening required... | webmissie | osCommerce 2.2 Installation Help | 6 | 12-24-2003 07:11 AM |
| OsCommerce MS2 with PHP4.1.2? | Lynoure | osCommerce 2.2 Installation Help | 1 | 11-11-2003 12:30 PM |
| Failed opening required 'DIR_WS_TEMPLATESmain_page.tpl.php' | Anonymous | osCMax v1.7 Installation | 1 | 11-04-2003 10:47 AM |
| Sessions do not seem to work on W2K /Apache/ PHP4.2 | oben | osCommerce 2.2 Installation Help | 9 | 08-21-2003 03:44 PM |
| MS2.2_MAX Cookies not functioning-apache1.3.27/php4.3.2 | Demented | osCommerce 2.2 Installation Help | 1 | 08-21-2003 03:41 PM |