Php Magento错误:SQLSTATE[42S02]:找不到基表或视图:1146 table';shoukat_mgnt1.验证码日志';不';不存在

Php Magento错误:SQLSTATE[42S02]:找不到基表或视图:1146 table';shoukat_mgnt1.验证码日志';不';不存在,php,mysql,.htaccess,magento,error-handling,Php,Mysql,.htaccess,Magento,Error Handling,我是Magento的新手,没有太多的编码想法。 我安装了Magento,然后用一个新的sql文件安装了我的示例数据,这使我的Magento管理面板用户名和密码消失,所以我通过sql数据库创建了我的用户名和密码 但现在当我登录管理面板时,我收到这样的错误:“Magento:出于安全原因,默认情况下禁用异常打印”。但是当我刷新页面时,我可以访问我的管理面板 我在var/errors中打开了error-vile,并将其更改为xml文件 我提到的每件事写在这个文件,请任何人帮助我,否则我将不得不再次安装

我是Magento的新手,没有太多的编码想法。 我安装了Magento,然后用一个新的sql文件安装了我的示例数据,这使我的Magento管理面板用户名和密码消失,所以我通过sql数据库创建了我的用户名和密码

但现在当我登录管理面板时,我收到这样的错误:“Magento:出于安全原因,默认情况下禁用异常打印”。但是当我刷新页面时,我可以访问我的管理面板

我在var/errors中打开了error-vile,并将其更改为xml文件

我提到的每件事写在这个文件,请任何人帮助我,否则我将不得不再次安装magento,并将失去我的所有数据和配置

a:5:{i:0;s:100:"
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'shoukatt_mgnt1.captcha_log' doesn't exist";i:1;s:3388:"
#0 /home4/shoukatt/public_html/mag/includes/src/Varien_Db_Statement_Pdo_Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home4/shoukatt/public_html/mag/includes/src/__default.php(63012): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home4/shoukatt/public_html/mag/includes/src/__default.php(52694): Zend_Db_Statement->execute(Array)
#3 /home4/shoukatt/public_html/mag/includes/src/__default.php(53730): Zend_Db_Adapter_Abstract->query('DELETE FROM `ca...', Array)
#4 /home4/shoukatt/public_html/mag/includes/src/__default.php(54566): Zend_Db_Adapter_Pdo_Abstract->query('DELETE FROM `ca...', Array)
#5 /home4/shoukatt/public_html/mag/includes/src/__default.php(52876): Varien_Db_Adapter_Pdo_Mysql->query('DELETE FROM `ca...')
#6 /home4/shoukatt/public_html/mag/includes/src/Mage_Captcha_Model_Resource_Log.php(100): Zend_Db_Adapter_Abstract->delete('captcha_log', Array)
#7 /home4/shoukatt/public_html/mag/includes/src/Mage_Captcha_Model_Observer.php(276): Mage_Captcha_Model_Resource_Log->deleteUserAttempts('usman')
#8 /home4/shoukatt/public_html/mag/includes/src/Mage_Captcha_Model_Observer.php(233): Mage_Captcha_Model_Observer->_resetAttempt('usman')
#9 /home4/shoukatt/public_html/mag/includes/src/__default.php(21045): Mage_Captcha_Model_Observer->resetAttemptForBackend(Object(Varien_Event_Observer))
#10 /home4/shoukatt/public_html/mag/includes/src/__default.php(21024): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Captcha_Model_Observer), 'resetAttemptFor...', Object(Varien_Event_Observer))
#11 /home4/shoukatt/public_html/mag/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('admin_session_u...', Array)
#12 /home4/shoukatt/public_html/mag/includes/src/Mage_Admin_Model_Session.php(104): Mage::dispatchEvent('admin_session_u...', Array)
#13 /home4/shoukatt/public_html/mag/includes/src/Mage_Admin_Model_Observer.php(69): Mage_Admin_Model_Session->login('usman', '86288844', Object(Mage_Core_Controller_Request_Http))
#14 /home4/shoukatt/public_html/mag/includes/src/__default.php(21045): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#15 /home4/shoukatt/public_html/mag/includes/src/__default.php(21024): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer))
#16 /home4/shoukatt/public_html/mag/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#17 /home4/shoukatt/public_html/mag/includes/src/__default.php(13691): Mage::dispatchEvent('controller_acti...', Array)
#18 /home4/shoukatt/public_html/mag/includes/src/Mage_Adminhtml_Controller_Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#19 /home4/shoukatt/public_html/mag/includes/src/__default.php(13571): Mage_Adminhtml_Controller_Action->preDispatch()
#20 /home4/shoukatt/public_html/mag/includes/src/__default.php(17927): Mage_Core_Controller_Varien_Action->dispatch('index')
#21 /home4/shoukatt/public_html/mag/includes/src/__default.php(17484): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#22 /home4/shoukatt/public_html/mag/includes/src/__default.php(20061): Mage_Core_Controller_Varien_Front->dispatch()
#23 /home4/shoukatt/public_html/mag/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#24 /home4/shoukatt/public_html/mag/index.php(87): Mage::run('', 'store')
#25 {main}";s:3:"url";s:6:"/admin";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

错误会准确地告诉您问题所在

Base table or view not found: 1146 Table 'shoukatt_mgnt1.captcha_log' doesn't exist

扩展正在尝试加载数据库中的表
shoukat_mgnt1
,但由于该表不存在,因此失败。您必须还原表,或重新安装扩展以便重新创建表。

要在屏幕上打印错误,请将
magento\u root/errors/
中的
local.xml.sample
文件重命名为
local.xml


这些设置允许在屏幕上打印错误

将此更改保留在live Magento电子商务服务器上是一种PCI违规行为,因为让访问该站点的任何人都可以看到堆栈跟踪会打开一个安全漏洞。只要去读文件。。。