jokerfool Posted November 1, 2014 Share Posted November 1, 2014 Warning: include(): Failed opening 'lang/en.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/name/public_html/db/config.php on line 13 What does the for inclusion mean. Line 13: include 'lang/'.$_SESSION['default_lang'].'.php'; Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/292221-failed-opening-langenphp-for-inclusion-help-please/ Share on other sites More sharing options...
ginerjm Posted November 1, 2014 Share Posted November 1, 2014 Your include statement is trying locate a specific file and it can't find it. That's it in a nutshell. Confirm that the name is what you want and then confirm that it is located where you think it is. Quote Link to comment https://forums.phpfreaks.com/topic/292221-failed-opening-langenphp-for-inclusion-help-please/#findComment-1495493 Share on other sites More sharing options...
jokerfool Posted November 2, 2014 Author Share Posted November 2, 2014 Still not quite understanding. The en.php file is there on the server located in the lang folder. What am I missing here? Quote Link to comment https://forums.phpfreaks.com/topic/292221-failed-opening-langenphp-for-inclusion-help-please/#findComment-1495527 Share on other sites More sharing options...
jokerfool Posted November 2, 2014 Author Share Posted November 2, 2014 Ahhh I see what is happening, all good, thank you, the penny dropped. Quote Link to comment https://forums.phpfreaks.com/topic/292221-failed-opening-langenphp-for-inclusion-help-please/#findComment-1495528 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.