Jump to content

include_path='.;C:\php5\pear' error


ivi

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/124105-include_pathcphp5pear-error/
Share on other sites

<?

/*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"]);

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.