I've recently incorporated PHP includes into my website. However, i've been having problems getting it to display 'news/index.php'. All I get is 2 errors. They are;
Warning: include_once(/news/index.php) [function.include-once]: failed to open stream: No such file or directory in _____________ on line 332
Warning: include_once() [function.include]: Failed opening '/news/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in _____________ on line 332
I got a friend to look over it and he says that it appears to be failing to include the file 'english_langmsg.php'.
I've yet to try any of the other news categories yet, but I assume they would display the same error.
Do you have any idea as to how I could solve this problem? Many thanks :)
Warning: require_once(language/) [function.require-once]: failed to open stream: No such file or directory in /home/teenuzco/public_html/news/index.php on line 86
Fatal error: require_once() [function.require]: Failed opening required 'language/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/teenuzco/public_html/news/index.php on line 86
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
You mentioned it appears to be trying to include the file "english_langmsg.php", The system hasn't used these file names since version 3.4, now they're just called english.php, spanish.php etc in 3.7.