Guest Posted March 9, 2007 Share Posted March 9, 2007 Hi, I just did a brand new install according to the install instructions in the PDF (very useful thank you!) But, all the way through the install procedure I got an error about not being able to find config.inc.php. The install process still worked, and now the admin site and shop are both showing the following sort of errors: Warning: main(config.inc.php): failed to open stream: No such file or directory in /home/.sites/45/site47/web/shop/language/en/lang.inc.php on line 2977 Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='') in /home/.sites/45/site47/web/shop/language/en/lang.inc.php on line 2977 My global.inc.php file looks like this: $glob['dbdatabase'] = 'xxxxxxx_my_db_xxxxxx; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = 'xxxxx'; $glob['dbprefix'] = 'shop_'; $glob['dbusername'] = 'xxxxxx'; $glob['installed'] = '1'; $glob['rootDir'] = '/home/.sites/45/site47/web/shop'; $glob['rootRel'] = '/shop/'; $glob['storeURL'] = 'http://www.suttonrugby.zenwebhosting.com/shop'; Is there anything else I can do to sort this issue out please? Steve Quote Link to comment Share on other sites More sharing options...
Guest Posted March 9, 2007 Share Posted March 9, 2007 Hi, I messed about with the lang.inc.php file and added this to the end of the file: $sroot = $_SERVER["DOCUMENT_ROOT"]; include($sroot."/shop/language/en/config.inc.php"); Seems to have solved the problem.. Is this the correct solution? Steve Quote Link to comment Share on other sites More sharing options...
Guest Ionias Posted March 20, 2007 Share Posted March 20, 2007 Hi, I messed about with the lang.inc.php file and added this to the end of the file: $sroot = $_SERVER["DOCUMENT_ROOT"]; include($sroot."/shop/language/en/config.inc.php"); Seems to have solved the problem.. Is this the correct solution? Steve This worked for me as well. Thanks for the information. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.