您可以通過cPanel或mysqldump通過SSH訪問執行數據庫備份來獲取數據。您的託管服務提供商應該能夠幫助您。此外,你可以從你的Magento安裝版本解壓縮管理文件。將它下載到您的計算機並解壓縮安裝...然後重新壓縮文件夾app/design/adminhtml
...在適當位置上傳並解壓縮到您的網站上,這將重新安裝PHP頁面。
仔細檢查文件app/etc/local.xml
這通常有數據庫登錄存儲在它。
MySQL數據庫爲您的Magento安裝裏面,有表core_config_data
,並在其中,一些路徑值可能與使用管理,如果故意設置不當的干擾:
mysql> select config_id, path, left(value,30) from core_config_data WHERE path LIKE '%admin%';
+-----------+-------------------------------------------+--------------------------------+
| config_id | path | left(value,30) |
+-----------+-------------------------------------------+--------------------------------+
| 50 | dev/translate_inline/active_admin | 0 |
| 220 | web/secure/use_in_adminhtml | 0 |
| 687 | admin/startup/page | catalog/products |
| 690 | admin/security/use_form_key | 0 |
| 691 | admin/security/use_case_sensitive_login | 1 |
| 692 | admin/security/session_cookie_lifetime | 36000 |
| 745 | admin/url/use_custom | 0 |
| 746 | admin/url/custom | |
+-----------+-------------------------------------------+--------------------------------+
哎呀,爲什麼這聽起來像一個服務器利用我? (服務器重新啓動,管理員訪問被拒絕)。如果它的真實性(即你的系統受到損害),它也將解釋你爲什麼不能再訪問它。 – Ozzy 2012-04-22 23:10:56
默認情況下,Magento不顯示錯誤。你有沒有嘗試把你的Magento進入開發者模式或ini_set('display_errors',1);在你的index.php文件中(找到if塊,然後在裏面放一個「true ||」來強制它)?我會從那裏開始,看看你是否有任何錯誤。 – 2012-04-23 12:50:45