Fatal error: Call to undefined function uc_cart_add_item

Project:Ubercart Views
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

im having a problem, whenever I click on the add to cart buttom i get this error :
Fatal error: Call to undefined function uc_cart_add_item() in /home/durapowe/public_html/modules/ubercart/uc_product/uc_product.module on line 1520

even though my cart is enabled...
please help me out

Version: 
Ubercart 2.x-dev
larowlan's picture
Offline
Joined: 08/10/2008
Juice: 83
#1

Hi
Have you moved any of your module folders?
This seems like the uc_cart module is not enabled.
From your comments, you say it is so perhaps Drupal can't read or find the file uc_cart.module?
Have a look in your system table in the database to see the path Drupal has recorded for the uc_cart module, make sure the module is actually there and can be read by the web-server.
If the folder/module was/has been moved - you can force Drupal to re-discover the module by going to the modules page as an admin user.
Lee