Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'file_put_contents(error.html): failed to open stream: Permission denied' in /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php:188 Stack trace: #0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 188, Array) #1 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php(188): file_put_contents('error.html', '<!DOCTYPE html>...') #2 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(PDOException)) #3 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(PDOException)) #4 [internal function]: think\Error::appException(Object(PDOException)) #5 {main} thrown in /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php on line 188

Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'file_put_contents(): open_basedir restriction in effect. File(error.html) is not within the allowed path(s): (/www/wwwroot/www.tgyc365.com/:/tmp/)' in /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php:188 Stack trace: #0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 188, Array) #1 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php(188): file_put_contents('error.html', '<!DOCTYPE html>...') #2 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #3 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\ErrorException)) #4 /www/wwwroot/www.tgyc365.com/thinkphp/library/think/Error.php(90): think\Error::appException(Object(think\exception\ErrorException)) #5 [internal function]: thi in /www/wwwroot/www.tgyc365.com/thinkphp/library/think/exception/Handle.php on line 188