Error al conectar con mi server
Pues nada, que al conectar con http://localhost/appserv/ me sale este error:
Warning: main(/lang-english.php): failed to open stream: No such file or directory in c:\appserv\www\appserv\main.php on line 27
Warning: main(/lang-english.php): failed to open stream: No such file or directory in c:\appserv\www\appserv\main.php on line 27
Warning: main(): Failed opening '/lang-english.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\appserv\main.php on line 27
Miro el contenido de main.php y es:
.
.
.
if (empty($appservlang)) {
$appservlang = getenv("HTTP_ACCEPT_LANGUAGE");
}
switch ($appservlang)
{
case "th" :
include("$appserv_root/lang-thai.php");
break;
case "en" :
include("$appserv_root/lang-english.php");
break;
default :
include("$appserv_root/lang-english.php");
break;
}
define("_LPHPNUKE","PHP-Nuke");
define("_LPHPMYADMIN","phpMyAdmin");
define("_LPERL","/cgi-bin/");
// define("_LPHPBB","phpBB2");
define("_APPVERSION","2.4.1");
define("_VMYSQL","4.0.20");
define("_VPHP","4.3.8");
define("_VZENDOPT","2.5.3");
define("_VAPACHE","1.3.31");
//define("_VPHPNUKE","6.5");
define("_VPHPMYADMIN","2.6.0-rc1");
define("_VPERL","5.8.4");
// define("_VPHPBB","2.0-RC2");
define("_APPSERV","AppServ");
?>
----------------------
Main.php me he dado cuenta que no está en el raíz de appserv sino que está en C:\AppServ\www\appserv
¿Cambio el path de main.php o muevo todos los ficheros de C:\AppServ\www\appserv al raíz?
Warning: main(/lang-english.php): failed to open stream: No such file or directory in c:\appserv\www\appserv\main.php on line 27
Warning: main(/lang-english.php): failed to open stream: No such file or directory in c:\appserv\www\appserv\main.php on line 27
Warning: main(): Failed opening '/lang-english.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\appserv\main.php on line 27
Miro el contenido de main.php y es:
.
.
.
if (empty($appservlang)) {
$appservlang = getenv("HTTP_ACCEPT_LANGUAGE");
}
switch ($appservlang)
{
case "th" :
include("$appserv_root/lang-thai.php");
break;
case "en" :
include("$appserv_root/lang-english.php");
break;
default :
include("$appserv_root/lang-english.php");
break;
}
define("_LPHPNUKE","PHP-Nuke");
define("_LPHPMYADMIN","phpMyAdmin");
define("_LPERL","/cgi-bin/");
// define("_LPHPBB","phpBB2");
define("_APPVERSION","2.4.1");
define("_VMYSQL","4.0.20");
define("_VPHP","4.3.8");
define("_VZENDOPT","2.5.3");
define("_VAPACHE","1.3.31");
//define("_VPHPNUKE","6.5");
define("_VPHPMYADMIN","2.6.0-rc1");
define("_VPERL","5.8.4");
// define("_VPHPBB","2.0-RC2");
define("_APPSERV","AppServ");
?>
----------------------
Main.php me he dado cuenta que no está en el raíz de appserv sino que está en C:\AppServ\www\appserv
¿Cambio el path de main.php o muevo todos los ficheros de C:\AppServ\www\appserv al raíz?
1 Respuesta
Respuesta de bubebu
1