freefcw / hustoj

the online judge system for acm/icpc

Home Page:http://www.hustoj.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ErrorException [ Fatal Error ]: Call to undefined function __()

xiaoxin2016 opened this issue · comments

SYSPATH/classes/Kohana/Kohana/Exception.php [ 53 ]

48 	 * @return  void
49 	 */
50 	public function __construct($message = "", array $variables = NULL, $code = 0, Exception $previous = NULL)
51 	{
52 		// Set the message
53 		$message = __($message, $variables);
54 
55 		// Pass the message and integer code to the parent
56 		parent::__construct($message, (int) $code, $previous);
57 
58 		// Save the unmodified code

补充:高亮标注53行。

1.{

请问这是哪里的问题,数据库操作执行完成后,git 下载到web目录,然后就一直提示这个错误。

这个没有现场,我也不知道什么情况。另外这个也是涉及到框架里面的东西

chmod a+w -R application/cache application/logs

印象中是这个原因,logs 和 cache 没有给写权限。你先试试看。