An error occurred (500 Error) 怎么解决?


TIM截图20180919102551.jpg

源代码
<!DOCTYPE html><html><head><title>Error</title><style type='text/css'>body{background:#f9f9f9;margin:0;padding:30px 20px;font-family:"Helvetica Neue",helvetica,arial,sans-serif}#error{max-width:800px;background:#fff;margin:0 auto}h1{background:#151515;color:#fff;font-size:22px;font-weight:500;padding:10px}h1 span{color:#7a7a7a;font-size:14px;font-weight:400}#content{padding:20px;line-height:1.6}#reload_button{background:#151515;color:#fff;border:0;line-height:34px;padding:0 15px;font-family:"Helvetica Neue",helvetica,arial,sans-serif;font-size:14px;border-radius:3px}textarea{width:95%;height:300px;font-size:11px;font-family:"Helvetica Neue Ultra Light", Monaco,Lucida Console,Consolas,Courier,Courier New;line-height:16px;color:#474747;border:1px #bbb solid;border-radius:3px;padding:5px;}</style></head><body onkeydown="if (event.keyCode == 68) { document.getElementById('exception_message').style.display = 'block' }"><div id='error'><h1>An error occurred <span>(500 Error)</span></h1><div id='content'>We're sorry, but a temporary technical error has occurred which means we cannot display this site right now.<br /><br />You can try again by clicking the button below, or try again later.<br /><br /><div style='display:none' id='exception_message'><textarea rows='15' onfocus='this.select()'>Application error
------
Message: Can't connect master database: Access denied for user 'mylvwen360com'@'localhost' (using password: YES)
Line: 45
------
Build: 3.2.1 20180601
URI: /
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 LBBROWSER
Accept Language: zh-CN,zh;q=0.8
IP Address: 60.216.20.211
------
#0 D:\wwwroot\www.lvwen360.com\system\functions.inc.php(548): core_db->__construct()
#1 D:\wwwroot\www.lvwen360.com\system\aws_app.inc.php(115): load_class('core_db')
#2 D:\wwwroot\www.lvwen360.com\system\aws_app.inc.php(56): AWS_APP::init()
#3 D:\wwwroot\www.lvwen360.com\index.php(23): AWS_APP::run()
#4 {main}</textarea></div><br /><button onclick="window.location.reload();" id='reload_button'>Try again</button></div></div></body></html>
已邀请:

fanta - 有问题请加qq270294661 建站请保留WeCenter版权信息和链接

赞同来自: nbboy

粗体斜体这部分是错误的缘由,一般把这一部分去百度搜索一下就知道原因和解决办法。其他的一大段只是报错显示,无意义。右键-查看网页源代码可以看到这些信息。
 
<!DOCTYPE html><html><head><title>Error</title><style type='text/css'>body{background:#f9f9f9;margin:0;padding:30px 20px;font-family:"Helvetica Neue",helvetica,arial,sans-serif}#error{max-width:800px;background:#fff;margin:0 auto}h1{background:#151515;color:#fff;font-size:22px;font-weight:500;padding:10px}h1 span{color:#7a7a7a;font-size:14px;font-weight:400}#content{padding:20px;line-height:1.6}#reload_button{background:#151515;color:#fff;border:0;line-height:34px;padding:0 15px;font-family:"Helvetica Neue",helvetica,arial,sans-serif;font-size:14px;border-radius:3px}textarea{width:95%;height:300px;font-size:11px;font-family:"Helvetica Neue Ultra Light", Monaco,Lucida Console,Consolas,Courier,Courier New;line-height:16px;color:#474747;border:1px #bbb solid;border-radius:3px;padding:5px;}</style></head><body onkeydown="if (event.keyCode == 68) { document.getElementById('exception_message').style.display = 'block' }"><div id='error'><h1>An error occurred <span>(500 Error)</span></h1><div id='content'>We're sorry, but a temporary technical error has occurred which means we cannot display this site right now.<br /><br />You can try again by clicking the button below, or try again later.<br /><br /><div style='display:none' id='exception_message'><textarea rows='15' onfocus='this.select()'>Application error
------
Message: Can't connect master database: Access denied for user 'mylvwen360com'@'localhost' (using password: YES)
Line: 45
------
Build: 3.2.1 20180601

URI: /
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 LBBROWSER
Accept Language: zh-CN,zh;q=0.8
IP Address: 60.216.20.211
------
#0 D:\wwwroot\www.lvwen360.com\system\functions.inc.php(548): core_db->__construct()
#1 D:\wwwroot\www.lvwen360.com\system\aws_app.inc.php(115): load_class('core_db')
#2 D:\wwwroot\www.lvwen360.com\system\aws_app.inc.php(56): AWS_APP::init()
#3 D:\wwwroot\www.lvwen360.com\index.php(23): AWS_APP::run()
#4 {main}</textarea></div><br /><button onclick="window.location.reload();" id='reload_button'>Try again</button></div></div></body></html>
数据库账号密码错误
 

要回复问题请先登录注册