Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiaoxin2016 opened this issue Mar 3, 2017 · 2 comments
Open

Comments

@xiaoxin2016
Copy link

xiaoxin2016 commented Mar 3, 2017

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目录,然后就一直提示这个错误。

@freefcw
Copy link
Owner

freefcw commented Mar 7, 2017

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

@dotkrnl
Copy link
Collaborator

dotkrnl commented Mar 7, 2017

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants