title: Illegal scheme supplied, only alphanumeric characters are permitted in Magento 1.8
body: <p>I am getting this error while logging to my site which is on server </p>
  
  <blockquote>
    <p>Illegal scheme supplied, only alphanumeric characters are permitted</p>
  </blockquote>
  
  <p>I am using magento 1.8. I have checked the URL in <code>core_config_data</code>, it is correct.</p>
  
  <p>Please help me to solve this problem.</p>
  
  <p>This is the error log:</p>
  
  <pre><code>#0 /home/innobmme/public_html/ayurvedachary.com/app/code/local/BTS/1610Fix/Model/Store.php(30): Zend_Uri::factory('localhost/ayurv...')
  #1 /home/innobmme/public_html/ayurvedachary.com/app/code/core/Mage/Core/Controller/Varien/Front.php(313): BTS_1610Fix_Model_Store-&gt;isCurrentlySecure()
  #2 /home/innobmme/public_html/ayurvedachary.com/app/code/core/Mage/Core/Controller/Varien/Front.php(161): Mage_Core_Controller_Varien_Front-&gt;_checkBaseUrl(Object(Mage_Core_Controller_Request_Http))
  #3 /home/innobmme/public_html/ayurvedachary.com/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front-&gt;dispatch()
  #4 /home/innobmme/public_html/ayurvedachary.com/app/Mage.php(683): Mage_Core_Model_App-&gt;run(Array)
  #5 /home/innobmme/public_html/ayurvedachary.com/index.php(87): Mage::run('', 'store')
  #6 {main}
  </code></pre>