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. 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. 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? 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. 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
Archived
This topic is now archived and is closed to further replies.