Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

OOP PHP
 
byocycles
Jr. Member
 
Total Posts:  5
Joined:  2012-11-19
 

Not sure if i am posting in the correct area on this forum but basically on my website if i click on learn more about product i get the following php error

Fatal error: Call to a member function beginTransaction() on a non-object in /var/www/vhosts/byocycles.co.uk/httpdocs/app/code/core/Mage/Core/Model/Abstract.php on line 313

the line its referring to is below

$this->_getResource()->beginTransaction();

i haven’t done any OOP PHP before so i don’t really understand whats its after

Any help would be great

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mage Magician
Sr. Member
 
Avatar
Total Posts:  98
Joined:  2011-01-12
 

There might be some problem in any custom module. Tell me when you are getting this error then i can help you out.

 
Magento Community Magento Community
Magento Community
Magento Community
 
byocycles
Jr. Member
 
Total Posts:  5
Joined:  2012-11-19
 

Its on the front end of my website so when i click on the option \\\\\\\"learn more\\\\\\\” i get

Fatal error: Call to a member function beginTransaction() on a non-object in /var/www/vhosts/byocycles.co.uk/httpdocs/app/code/core/Mage/Core/Model/Abstract.php on line 313

Might be easier if i but the url here so you can see what im on about http://byocycles.co.uk/index.php/electric-bikes/folding-bikes.html?dir=descℴ=colour

then on that page there is the option to \\\\\\\"learn more\\\\\\\” about the product the other two options work fine

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mage Magician
Sr. Member
 
Avatar
Total Posts:  98
Joined:  2011-01-12
 

This thread will help you to resolve your problem. http://www.magentocommerce.com/boards/viewthread/17179/

 
Magento Community Magento Community
Magento Community
Magento Community
 
byocycles
Jr. Member
 
Total Posts:  5
Joined:  2012-11-19
 

Hey,

Thanks for your response but unfortunately i haven’t made any headway in this problem is there a simple guide for this as the thread i got guided to i didn’t really get it any help most appreciated

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mage Magician
Sr. Member
 
Avatar
Total Posts:  98
Joined:  2011-01-12
 

Actually, there is no simple guide to get it fixed. This error occurs mainly if there is any miss configuration in any custom module and you called that module in product detail page.

I would advice to check all custom modules used in product detail page and investigate.

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