undefined function dpm() when uploading catalog image

Posts: 5
Joined: 09/04/2008

I am new to drupal and ubercart. And PHP for that matter. Figured I'd get that out of the way.

Anyways, when I go into my taxonomies and edit the catagory listing for a client, I try uploading an image for the catagory, and I get the following error:

Fatal error: Call to undefined function dpm() in /home/ ..... /modules/ubercart/uc_catalog/uc_catalog.module on line 283

If I uncomment line 283, I get the same error for line 286. And if I ucomment that, there's no error, but no image.

By the way, I'm running drupal 6.

Posts: 5353
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

If you're new and trying to use Ubercart, I'd really recommend using Drupal 5. As our forum post information says, Drupal 6 is not yet being supported here. Eye-wink

Posts: 5
Joined: 09/04/2008

Yeah, I've been getting the feeling drupal 6 hasn't been around that long, it's just what my ISP had set up to quickly and easily plug-in. Rebuilding my site completely in Drupal 5 may sound like a task I don't really want to embrace (time consuming), but I have a feeling it may be time saving in the long run. Thanks for the tip.

Posts: 5353
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

No prob. And for what it's worth, if you have other parts of the site to build out and can come back to the store portion in a month we should have a beta release up for you to use.

Posts: 5
Joined: 09/04/2008

Well, I looked into the Drupal 6 'new features' to see what I would be giving up, and decided they were worth fighting for. So I looked a bit deeper and discovered that I just needed the Image Field and CCK modules. So after installing all the standard image modules (which I didn't realize I needed) everything seemed to work fine. So I'm going to keep plugging away and see if I can't make Drupal 6 with Ubercart usable yet. (I can be stubborn and persistant at times)

Now if only I can figure out how to click on the product thumbnails and get a larger view, or maybe even use lightbox I'll be laughing.

Posts: 5353
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

You should be able to just install Thickbox to get the larger product image.

Posts: 5
Joined: 09/04/2008

Thanks again. I discovered the settings in imagecache. And it seems that in but a few hours, I have what appears to be a working shoppingcart system installed. Maybe not as fancy as some of the other ones I've seen, but it'll take time.

Posts: 1
Joined: 09/05/2008

I have the same problem and I installed the same modules. What did you do to get image cache to make it work?