Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Unable to access admin panel. 404 Error. Nothing Found. 
 
Gogsi
Jr. Member
 
Total Posts:  17
Joined:  2013-02-18
Las Vegas
 

Hi there.

I was initially unable to access my admin log in page through http://www.doman.com/store/admin
That would give me a 404 Error.

I was initially able to access my admin panel through http://www.domain.com/store/index.php/admin
That would let me log in.

So....in order to fix the former giving me a 404 Error I tried to set a URL in the System>Config>Admin to
http://www.domain.com/store/admin. This produced an error for me and kicked me out of the admin panel completely.

I found the error log (below) but I just can’t seem to find the solution. Help!

---------------------------------------------------------------------------------------------------------------------
Illegal scheme supplied, only alphanumeric characters are permitted

Trace:
#0 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory(’www.top10supple...’)
#1 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Store.php(553): Mage_Core_Model_Store->isCurrentlySecure()
#2 /home/miljod/public_html/store/app/Mage.php(381): Mage_Core_Model_Store->getBaseUrl(’skin’, NULL)
#3 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Design/Package.php(326): Mage::getBaseUrl(’skin’, NULL)
#4 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Design/Package.php(481): Mage_Core_Model_Design_Package->getSkinBaseUrl(Array)
#5 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(979): Mage_Core_Model_Design_Package->getSkinUrl(’reset.css’, Array)
#6 /home/miljod/public_html/store/app/design/adminhtml/default/default/template/login.phtml(32): Mage_Core_Block_Abstract->getSkinUrl(’reset.css’)
#7 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(241): include(’/home/miljod/pu...’)
#8 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#9 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#10 /home/miljod/public_html/store/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#11 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Adminhtml_Block_Template->_toHtml()
#12 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#15 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#16 /home/miljod/public_html/store/app/code/core/Mage/Adminhtml/controllers/IndexController.php(82): Mage_Core_Controller_Varien_Action->renderLayout()
#17 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Adminhtml_IndexController->loginAction()
#18 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(’login’)
#19 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#20 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#21 /home/miljod/public_html/store/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#22 /home/miljod/public_html/store/index.php(87): Mage::run(’’, ‘store’)
#23 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gogsi
Jr. Member
 
Total Posts:  17
Joined:  2013-02-18
Las Vegas
 

Upon renaming the local.sample.xml folder I do not get the error that you do. I still get this (below).

Also I have version 1.7.2 and the code lines 85-92 is:
// session cookie params
$cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath(),
‘domain’ => $cookie->getConfigDomain(),
‘secure’ => $cookie->isSecure(),
‘httponly’ => $cookie->getHttponly()
);

Illegal scheme supplied, only alphanumeric characters are permitted

Trace:
#0 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Store.php(726): Zend_Uri::factory(’www.top10supple...’)
#1 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Store.php(553): Mage_Core_Model_Store->isCurrentlySecure()
#2 /home/miljod/public_html/store/app/Mage.php(381): Mage_Core_Model_Store->getBaseUrl(’skin’, NULL)
#3 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Design/Package.php(326): Mage::getBaseUrl(’skin’, NULL)
#4 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Design/Package.php(481): Mage_Core_Model_Design_Package->getSkinBaseUrl(Array)
#5 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(979): Mage_Core_Model_Design_Package->getSkinUrl(’reset.css’, Array)
#6 /home/miljod/public_html/store/app/design/adminhtml/default/default/template/login.phtml(32): Mage_Core_Block_Abstract->getSkinUrl(’reset.css’)
#7 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(241): include(’/home/miljod/pu...’)
#8 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#9 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#10 /home/miljod/public_html/store/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#11 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Adminhtml_Block_Template->_toHtml()
#12 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /home/miljod/public_html/store/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#14 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#15 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#16 /home/miljod/public_html/store/app/code/core/Mage/Adminhtml/controllers/IndexController.php(82): Mage_Core_Controller_Varien_Action->renderLayout()
#17 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Adminhtml_IndexController->loginAction()
#18 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(’login’)
#19 /home/miljod/public_html/store/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#20 /home/miljod/public_html/store/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#21 /home/miljod/public_html/store/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#22 /home/miljod/public_html/store/index.php(87): Mage::run(’’, ‘store’)
#23 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top