cancel
Showing results for 
Search instead for 
Did you mean: 

Magento on a localhost for upgradesimulation gets no acces tp database

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Magento on a localhost for upgradesimulation gets no acces tp database

 

Spoiler

"Illegal scheme supplied, only alphanumeric characters are permitted

Trace:
#0 /var/www/html/magento/includes/src/__default.php(35210): Zend_Uri::factory('http//192.168.1...')
#1 /var/www/html/magento/includes/src/__default.php(18176): Mage_Core_Model_Store->isCurrentlySecure()
#2 /var/www/html/magento/includes/src/__default.php(18005): Mage_Core_Controller_Varien_Front->_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
#3 /var/www/html/magento/includes/src/__default.php(20808): Mage_Core_Controller_Varien_Front->dispatch()
#4 /var/www/html/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#5 /var/www/html/magento/index.php(87): Mage::run('', 'store')
#6 {main}

 

" is the error i get when visiting magento in my Browser.

The install is local on a 2nd PC. Switched already baseurls from localhost to http://localhost/magento and more none works.

I already comented out the cookies at Varien.php.

Added:

 

Spoiler

Go to app/code/core/Mage/Core/Model/Store.php and paste below code at line number 711

if ( false !== strpos($secureBaseUrl, ‘{{base_url}}’) ) {
$secureBaseUrl = Mage::getConfig()->substDistroServerVars(‘{{base_url}}’);

}

Played around with the local.xml

and retraced my steps and undo thee changes to those files didnt find a working solution.

Someone got any more ideas?

 

P.S. i have myphpadmin and it works.

1 REPLY 1

Re: Magento on a localhost for upgradesimulation gets no acces tp database

Can you post your local.xml so we can see what you have?

Magento Moderator since 2009
Keep Calm and Clear Cache!