Try the Demo

Magento Forum

   
Missing URL information in config. 
 
misterpatrick
Member
 
Total Posts:  74
Joined:  2010-03-30
 

Hello all,

having a problem copying over a site using phpmyadmin. The SECURE_URL inside the database is correct and I\’ve searched the various local.xml but somewhere a URL is showing up incorrectly and stylesheets, js etc is not loading on the frontend or backend. Looking at the source, instead of pulling the entire URL, it\’s getting just the directory and not the full http. Looking at head.html it looks like this is returning the wrong results:

<?php echo $this->getCssJsHtml() ?>
<?php echo $this->getChildHtml() ?>
<?php echo $this->helper(\'core/js\')->getTranslatorScript() ?>
<?php echo $this->getIncludes() ?>

Everything from page.xml, so somehow my addCss and addJs are pulling the wrong stuff. Anyone know where this needs to be changed in the config or in the database? I copied the full site over and only updated my local.xml file, is there another file that needs to be changed to reflect the new URL?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
ssfence1
Jr. Member
 
Total Posts:  3
Joined:  2011-03-13
 

Try this:
http://www.magentocommerce.com/wiki/recover/restore_base_url_settings

I just had a similar issue today and thanks to chiefair, I am up and running again!

Hope it helps!

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