ivi Posted September 13, 2008 Share Posted September 13, 2008 howdy im gettin' this error when im tryin to load my page (www.iviart.net) on localhost: upgrading from:to 0.4.1.14 applying changes for 0.4.1.9 version applying changes for 0.4.1.10 version applying changes for 0.4.1.11 version applying changes for 0.4.1.12 version applying changes for 0.4.1.13 version applying changes for 0.4.1.14 version Fatal error: require() [function.require]: Failed opening required 'lang/' (include_path='.;C:\php5\pear') in C:\wamp\www\backup\language.php on line 7 when i try to load in online..im getting this one: ( u can check: http://www.iviart.net/main.php?cmd=album ) upgrading from:to 0.4.1.14 applying changes for 0.4.1.9 version applying changes for 0.4.1.10 version applying changes for 0.4.1.11 version applying changes for 0.4.1.12 version applying changes for 0.4.1.13 version applying changes for 0.4.1.14 version Fatal error: require() [function.require]: Failed opening required 'lang/' (include_path='D:\www\pes;D:\tmp\php;.') in D:\WWW\PES\iviartnet\www\language.php on line 7 and it used to work correctly..i didnt change anything..that's the weirdest thing.. Please help! cheers, ivi Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/ Share on other sites More sharing options...
wildteen88 Posted September 13, 2008 Share Posted September 13, 2008 PHP is trying to include the folder lang/ this is not possible, you can only include/require files. Post line 1 - 10 here from language.php Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/#findComment-640720 Share on other sites More sharing options...
ivi Posted September 13, 2008 Author Share Posted September 13, 2008 <? /*checking for security reasons*/ if(!defined("PHPALBUM_APP")){ die("Direct access not permitted!"); } require("lang/".$pa_lang["include_file"]); if(file_exists($data_dir.$pa_lang["translate_file"])){ include($data_dir.$pa_lang["translate_file"]); Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/#findComment-640724 Share on other sites More sharing options...
ivi Posted September 13, 2008 Author Share Posted September 13, 2008 and im using album from www.phpalbum.net (could help ) Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/#findComment-640736 Share on other sites More sharing options...
wildteen88 Posted September 13, 2008 Share Posted September 13, 2008 For some reason the $pa_lang["include_file"] is not defined which is causing the error. You sure your have your script setup correctly? Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/#findComment-640751 Share on other sites More sharing options...
ivi Posted September 13, 2008 Author Share Posted September 13, 2008 well..i didnt change anything and the webpage was working properly... i saw more ppl have the same problem there -> check dont know what to do..nobody is replying there... Quote Link to comment https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/#findComment-640754 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.