Try the Demo

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
Member
 
Avatar
Total Posts:  68
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.

 Signature 

Enjoy the ride of Magento!
Skype: nitin33singh
Email: nitin33singh@gmail.com

 
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
Member
 
Avatar
Total Posts:  68
Joined:  2011-01-12
 

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

 Signature 

Enjoy the ride of Magento!
Skype: nitin33singh
Email: nitin33singh@gmail.com

 
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
Member
 
Avatar
Total Posts:  68
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.

 Signature 

Enjoy the ride of Magento!
Skype: nitin33singh
Email: nitin33singh@gmail.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
logangibs
Jr. Member
 
Total Posts:  13
Joined:  2012-12-07
 

Object Oriented Programming in any language is the use of objects to represent functional parts of an application and real life entities. For example you may have a Person object to hold the data related to a person and even provide some functionality that this person may be capable of.

Object Oriented Programming has long been used in games to represent the objects such as a User or an Enemy, or even a Weapon. This amazing way of programming has proven just as useful in software and web development.

 Signature 

One of the Biggest Website Development Company in India - EnternalsoftSoultion

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