"Product" missing from Create Content menu...

Posts: 19
Joined: 01/14/2008

But the product kit one is there...

Specs on my system: Drupal 5.3, ubercart 1 beta1.

I installed all the required and recommended modules, then ticked all the boxes I wanted and at that point I ran into probelms. I'm not sure what is supposed to be there, but I assume that if product-kit is there, then product should be to?

The only thing I can think of is that I had previously installed the ecommerce module and added a couple of products with it. I didn't like it tho so I unticked it all, clicked update then removed the module before installing this one.

Does anyone have any good ideas about how to properly clean out the ecommerce module (which is what I am guessing is causing the problems) so I can get it working properly? Or should unticking all the ecommerce options then removing the module just work?

Any help would be much appreciated - I moved to this module for my online shop as I have read its easier to get going and make look nice (which is what I want - I'm a 4WD modifier not a PHP code genius Smiling )

The site is at http://4wd.dunford.org.nz at the moment while I'm setting it up - then I'll move it to www.4wdstuff.co.nz (if you look there you'll see why I'm building a new site - its a disaster) - the move was supposed to happen before this sat, but I'm worried that I have broken it - would it be best to just wipe it and start again? I'm really not so far into it that a few hours redoing the site would be hugely problematic... but if there is a simple fix then I'd rather do that.

Oh, and kudos to you all for building what appears to be a fantastic module... I look forward to getting it working.

Steve

--

There are no personal problems that can not be overcome with the liberal application of high explosives

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

Well... I'm not really sure why it wouldn't be there, but compatibility issues between ec/Ubercart are as good a guess as any. It's hard for module packages as large as these to totally clean themselves out when removed/uninstalled, so it could be some leftover conflict. There's not much to really do besides poke around in the database, clear out the cache tables, and see if you can turn anything up. Puzzled

Sorry it's not an exact science... is it too late to consider just starting from a new DB?

Posts: 19
Joined: 01/14/2008

I've actually scratch built a new drupal system on my webserver and installed ubercart again from scratch on that one - its amazing how much difference there is. I think I will just start again, it appears the transition from ecommerce to ubercart is going to need some skills and time beyond what I have to throw at the site at this stage (despite the analytical side of my brain wanting to have a crack to see if I can nut it out...)

Thanks for the help

Steve

--

There are no personal problems that can not be overcome with the liberal application of high explosives

Posts: 19
Joined: 01/14/2008

UPDATE

I managed to get it working without rebuilding the site... I just couldn't blow the install away without having a small crack at it. Heres what I did:

Unticked all the Ubercart options (had to go through several rounds of unticking as I was working through dependancies that wouldn't let me untick certain boxes until others were disabled).

Uninstalled the Ubercart module from the uninstall tab of the modules page

Physically removed the ubercart module (I had previously also physically removed the ecommerce module) and untarred a new version just to be safe

Removed all the ImageCache presets back to just the ones I had before

Used PHPMYADMIN to drop all the ec_* tables remaining from the previous ecommerce module

Also dropped the one uc_ table that was left

cleared the cache and cache_* tables

used the content management part of the admin menu to find all old remaining products - at this point I realised I should have done this BEFORE removing ubercart. The old products now had no content-type and as such when I tried to edit them I got errors - I had to manually delete each one byt finding each node number, then going to (for example if it was node 8 ) /node/8/delete for each individual one

At this point I had a general scout around the admin section looking for anything ec or uc related - I don't recall finding anything else. I then reinstalled the uc module by initially just ticking the 4 core boxes and checked things - it all worked fine Smiling

So, hope that helps - its a bit 'hacky' but it saved me a reinstall.

Steve

--

There are no personal problems that can not be overcome with the liberal application of high explosives

Posts: 925
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Ouch. Glad you got it working. I don't know whether you saw this thread: http://www.ubercart.org/forum/support/213/moving_e_commerce_module_uberc... but it sounds like you took similar steps.

Which uc_ table did you have to manually delete? That should be fixed in the code, to save the next person some headaches. Also, did you look at the "variable" table to see if there were any ec_ or uc_ variables left over?

--

<tr>.

Posts: 19
Joined: 01/14/2008

No, never saw that thread - would have been very helpful Smiling

And sorry, I really don't remember which table - I did go and have a look just now to jog my memory but it was late and I was tired when I did it so I just can't recall.

No, never looked in the variable table...

Steve

--

There are no personal problems that can not be overcome with the liberal application of high explosives