我在magento admin end中更改了管理页面的基本网址,但现在它显示404错误。
错误页面读取了这个:
a:5:{i:0;s:67:"Illegal scheme supplied, only alphanumeric characters are permitted";i:1;s:2887:"#0 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Model/Store.php(772): Zend_Uri::factory('www.vitaminbeas...')
#1 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Model/Store.php(588): Mage_Core_Model_Store->isCurrentlySecure()
#2 /home/vitaminb/public_html/s/magento/app/Mage.php(382): Mage_Core_Model_Store->getBaseUrl('web', NULL)
#3 /home/vitaminb/public_html/s/magento/app/code/community/All4coding/Core/Helper/Data.php(64) : eval()'d code(55) : eval()'d code(51) : eval()'d code(1) : eval()'d code(220): Mage::getBaseUrl('web')
#4 /home/vitaminb/public_html/s/magento/app/code/community/All4coding/Core/Helper/Data.php(64) : eval()'d code(55) : eval()'d code(51) : eval()'d code(1) : eval()'d code(345) : eval()'d code(1) : eval()'d code(1) : eval()'d code(30) : eval()'d code(20) : eval()'d code(22) : eval()'d code(1) : eval()'d code(172): All4coding_Core_Helper_Data::getHost()
#5 /home/vitaminb/public_html/s/magento/app/code/community/All4coding/Core/Helper/Data.php(64) : eval()'d code(55) : eval()'d code(51) : eval()'d code(1) : eval()'d code(345) : eval()'d code(1) : eval()'d code(1) : eval()'d code(30) : eval()'d code(20) : eval()'d code(22) : eval()'d code(1) : eval()'d code(19): All4coding_Core_Model_Observer->_updateLicenseKeys()
#6 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Model/App.php(1338): All4coding_Core_Model_Observer->preDispatch(Object(Varien_Event_Observer))
#7 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(All4coding_Core_Model_Observer), 'preDispatch', Object(Varien_Event_Observer))
#8 /home/vitaminb/public_html/s/magento/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#9 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(527): Mage::dispatchEvent('controller_acti...', Array)
#10 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#11 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_Controller_Action->preDispatch()
#12 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#13 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#14 /home/vitaminb/public_html/s/magento/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#15 /home/vitaminb/public_html/s/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#16 /home/vitaminb/public_html/s/magento/index.php(87): Mage::run('', 'store')
#17 {main}";s:3:"url";s:30:"/magento/index.php/beastadmin/";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:5:"admin";}
任何人都可以让我知道如何更改它。我尝试在core_config_data中查找自定义网址,但它不存在。
答案 0 :(得分:0)
这是你在找什么?
在core_config_data中,条目(通常)在表格的第5行和第6行,但不一定是这样,看起来像这样
id |范围| scope_id |路径|值
5 |默认| 0 | web / unsecure / base_url | http://magento.local/
6 |默认| 0 | web / secure / base_url | http://magento.local/
将来最好在更改此类内容之前始终备份magento db,以便轻松恢复。在phpadmin中,只需执行整个数据库的操作。