Try the Demo

Magento Forum

   
Problem with database after changing magento directory
 
TLDW
Jr. Member
 
Total Posts:  2
Joined:  2012-06-28
 

Hi All,
Having some real problems with our site after moving magento from /magento/ directory to root directory.
Everything seems to be working fine except customers can’t register with the shop, when they enter their details on the front end the following error appears:

“Associate to Website” is a required value.

If I try and add customer on the backend I get the following error:

Fatal error: Call to a member function setRenderer() on a non-object in /home/thelrcou/public_html/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/Account.php on line 77

Have installed a testing site, and swapped databases over and come to the conclusion that this is a problem with the database, when I switch to a fresh database everything is fine, and also when I switch the testing site to existing database it no longer works!

The website is: http://thelakedistrictwalker.co.uk

If you need any more info please let me know

John

 
Magento Community Magento Community
Magento Community
Magento Community
 
marionnex
Member
 
Total Posts:  32
Joined:  2012-03-30
 

I have the same problem but different cause. I needed to upgrade from 1.4.0.1 to 1.7.

Here’s what I did, I copied the database and transferred all needed tables to the new database.
Everything was successful. I can see the orders, customers, email subscribers, products but opening/editing a customer from admin gived me this error. This is the only problem. Nothing more.

Please help. thanks…

 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Sr. Member
 
Avatar
Total Posts:  154
Joined:  2013-01-13
Warsaw, Poland
 

Hello,

Firstly, you should do the backup of the database. Then you should run the query in phpMyAdmin:

UPDATE `customer_entitySET `website_id` = (SELECT `website_idFROM  `core_websiteWHERE `code` = 'Your website code here');

Where is ‘Your website code here’ should be the code of your website.

 Signature 

Bronze Partner of Magento
• A high-leveled development company – Providing easy, comfortable and useful Magento extensions
• The supporters of qualified and fast service. Find out more here: http://www.gomage.com

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