Fatal error: Uncaught Error: Call to a member function checkPriv() on boolean in /opt/zbox/app/zentao/www/index.php:71 Stack trace: #0 {main} thrown in /opt/zbox/app/zentao/www/index.php on line 71
09:13:21 Uncaught Error: Call to a member function checkPriv() on boolean in /opt/zbox/app/zentao/www/index.php:71
Stack trace:
#0 {main}
thrown in /opt/zbox/app/zentao/www/index.php on line 71 when visiting
登录后退出登录,然后再登录进去,是跳转到域名根目录,地址栏上没有加上/index.php 导致页面显示空白,报如下错误:
Refused to apply style from 'https://xxxxx.com/index.php/theme/default/zh-cn.default.css?v=16.5' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SUPER privilege(s) for this operation<p>The sql is: SET global log_bin_trust_function_creators = 1</p>
SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SUPER privilege(s) for this operation<p>The sql is:
SET global sql_mode = ''</p>
SQLSTATE[42000]: Syntax error or access violation: 1370 alter routine command denied to user 'zentao'@'localhost' for routine 'zentao.get_monday'<p>The sql is:
DROP FUNCTION IF EXISTS `get_monday`</p>
SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'zentao'@'localhost' to database 'zentao'<p>The sql is:
CREATE FUNCTION `get_monday`(day date) RETURNS date
begin if date_format(day, '%w') = 0 then return subdate(day, date_format(day, '%w') - 6);
else return subdate(day, date_format(day, '%w') -1);
end if;
END</p>
09:13:21 Uncaught Error: Call to a member function checkPriv() on boolean in /opt/zbox/app/zentao/www/index.php:71
Stack trace:
#0 {main}
thrown in /opt/zbox/app/zentao/www/index.php on line 71 when visiting
Refused to apply style from 'https://xxxxx.com/index.php/theme/default/zh-cn.default.css?v=16.5' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
请问升级的时候报这个错误;
SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SUPER privilege(s) for this operation<p>The sql is: SET global log_bin_trust_function_creators = 1</p>
SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SUPER privilege(s) for this operation<p>The sql is:
SET global sql_mode = ''</p>
SQLSTATE[42000]: Syntax error or access violation: 1370 alter routine command denied to user 'zentao'@'localhost' for routine 'zentao.get_monday'<p>The sql is:
DROP FUNCTION IF EXISTS `get_monday`</p>
SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'zentao'@'localhost' to database 'zentao'<p>The sql is:
CREATE FUNCTION `get_monday`(day date) RETURNS date
begin if date_format(day, '%w') = 0 then return subdate(day, date_format(day, '%w') - 6);
else return subdate(day, date_format(day, '%w') -1);
end if;
END</p>