Problem after installing XAMPP 1.6.8
Posted: 11. October 2008 12:08
Hi !
I have build web site under XAMPP 1.4.16 who work well, but since the installation of XAMPP 1.6.8 i meet some problems like this one :
Warning: include(new-visitor.inc.php) [function.include]: failed to open stream: No such file or directory in C:\Serveur\www\test\index.php on line 63
Warning: include() [function.include]: Failed opening 'new-visitor.inc.php' for inclusion (include_path='.;C:\Serveur\xampp\php\pear\') in C:\Serveur\www\test\index.php on line 63
The code is the following one :
what's wrong with this code under XAMPP 1.6.8 as work well with XAMPP 1.4.16 !!!
Thanks to help me !
I have build web site under XAMPP 1.4.16 who work well, but since the installation of XAMPP 1.6.8 i meet some problems like this one :
Warning: include(new-visitor.inc.php) [function.include]: failed to open stream: No such file or directory in C:\Serveur\www\test\index.php on line 63
Warning: include() [function.include]: Failed opening 'new-visitor.inc.php' for inclusion (include_path='.;C:\Serveur\xampp\php\pear\') in C:\Serveur\www\test\index.php on line 63
The code is the following one :
- Code: Select all
<?
// DETECTION LANGUE ET REDIRECTION
if ($langue=="")
{
$lang = explode(",",$HTTP_ACCEPT_LANGUAGE);
$lang = StrToLower(substr(chop($lang[0]),0,2));
if ($lang == "") {}
elseif (eregi("fr", $lang))
{
$langue="FR";
}
else $langue="ENG";
}
if ($langue=="ENG") {$lvc_include_dir = 'admin/stats_en/include/';}
if ($langue=="FR") {$lvc_include_dir = 'admin/stats_fr/include/';}
include($lvc_include_dir.'new-visitor.inc.php');
?>
what's wrong with this code under XAMPP 1.6.8 as work well with XAMPP 1.4.16 !!!
Thanks to help me !