Hi all - looking to get some peace of mind here, so hope you can help.
I have built a custom theme based on Modern theme in Magento 1.5.1, installed Magento 1.6.0 on a new server, moved database and imported and activated my new theme. Got everything working, except thie weird error:
When I created a new customer or logged in with an existing one, I would initially get a blank page/error 500, but only until I reloaded the page - then the user would be created/logged in.
I tried everything short of a fresh install, cache clearing, deleting users, orders in database etc. but could not get rid of the error. Finally I just commented out the line that was giving trouble in Item.php and now everything seems to be fine.
I would like to be sure, though, so I hope you can help with reassuring me that I should’nt worry about this
Here is the function from Item.php (/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php - I realise that I should make a copy of it and move to “local")
* Customer login bind process
* @return Mage_Catalog_Model_Product_Compare_Item
public function bindCustomerLogin()
Here is the text from the servers error.log
PHP Fatal error: Call to undefined method Mage_Catalog_Helper_Product_Compare::setCustomerId() in /srv/www/mememaker.com/public_html/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php on line 175, referer: http://mememaker.com/index.php/customer/account/login/
I have googled the error for hours on end, but have not seen the exact error anywhere else. Obviously I don’t get this error now, since I commented out the call it mentions..
Here is a link to the doc for Mage_Catalog/Mage_Catalog_Model_Product_Compare_Item
I do, however get this error, not sure they are related, though:
client denied by server configuration: /srv/www/mememaker.com/public_html/app/etc/local.xml
I hope someone are able to help me with this!