Magento Forum

   
Fatal error: Call to a member function getCode() on a non-object in
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Fatal error: Call to a member function getCode() on a non-object in D:\xxxx\www\xxxxxxxxx\app\code\core\Mage\Core\Model\Url.php on line 469

Any Ideas Ive fixed a few problems and will endevour to deal with this Im Loading on wamp server have followed all of the FAQS

Regards Bill

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Im going to load on my real server and just Make it secure cool smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Well after some major Head Scratching and searching It turns out that

D:\xxxx\www\xxxxxxxxx\app\code\core\Mage\Core\Model\Url.php on line 469

If you remove existing app/etc/local.xml and re-run installation wizard. all is good again

This would be good to Know Up front that this file needs to be deleted

How this started for me was I tried to install Magento on my testing server Came accross some
issues with ssl on that server so I switched to up loading this onto my production Server
Obviously this file holds some info form the old install attempt

Hope this can help some one else out there

Bill Bailey

Life is about People and the way we treat them
http://www.billbailey.co.nz

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