更新php版本后,出现许多错误,并且网站无法正常工作。更新php版本后出现错误
[Wed Sep 10 21:47:14.094755 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined variable: text in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094785 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined variable: text in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094794 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined offset: 3 in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094814 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined variable: text in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094822 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined offset: 3 in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094842 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined variable: text in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094849 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined offset: 3 in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094869 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined variable: text in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094876 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Notice: Undefined offset: 3 in /home/**/inc/function.php on line 81
[Wed Sep 10 21:47:14.094902 2014] [:error] [pid 21347] [client 5.28.155.234:59471] PHP Fatal error: Call to undefined function session_register() in /home/**/inc/config.php on line 58
代码:
线81:
{
$text.=$e[$i]." ";
}
配置文件第58行:
session_register("views");
它不是说它就在那里“调用未定义的函数session_register()在/home/**/inc/config.php第58行”? – kkuilla 2014-09-10 10:46:15