10 replies [Last post]
Hunabku's picture
Offline
Joined: 08/14/2007
Juice: 25
Was this information Helpful?

I was unable to uninstall Ubercart - does not show up in the list of modules to uninstall. Yes i have removed all associated modules. I tried manually dropping the uc_ files, but as indicated in this forum - there is data written in variables file, etc.

My problem now is i can't reinstall it - because (i think) there are settings still stored in the DB that indicate that ubercart is still installed, so the install is not executing and the module page does not let me uncheck the core uber modules.

Any advice esta muy bueno . . .

Hunabku's picture
Offline
Joined: 08/14/2007
Juice: 25
really need help here - bump

Perhaps there is a way i can initiate a forced reinstall unless someone knows how i can uninstall all the ubercart related table data?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: really need help here - bump

You have to disable the modules before they show up under the uninstall tab. This is true of all Drupal modules.

Ubercart *does* uninstall cleanly if you do it right - this is something I've tested a number of times in various versions.

To fix your setup, you will have to put the Ubercart distribution back on your server, then disable and uninstall the modules.

<tr>.
Hunabku's picture
Offline
Joined: 08/14/2007
Juice: 25
Thanks TR - Problem i have

Thanks TR -

Problem i have is that i can not disable the core Ubercart modules - they are greyed out and checked. Unless i'm missing something obvious here - it seems like the file(s) that store the core uber modules install settings is confused.

But i can not find anywhere how to clean that up - urg!

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Thanks TR - Problem i have

There are lots of dependencies in these modules. Modules can't be disabled when there are other enabled modules that depend on them. So uninstalling is a multi-stage process. First uncheck all the UC modules you can, then hit the button at the bottom to disable them. Then, go through the list again - you will find that more UC modules can be unchecked, because you have now disabled the modules that depend on them. Uncheck what you can and submit again. You will have to go through this process a number of times until you get everything unchecked and disabled. Then you can go to the uninstall tab and uninstall.

Again, this is a Drupal thing. Ubercart just has a lot more dependencies than most modules, because there are so many component parts.

<tr>.
Hunabku's picture
Offline
Joined: 08/14/2007
Juice: 25
THAT WAS IT! Thanks a

THAT WAS IT!

Thanks a million - i am back in action! I am so happy with Ubercart - have done a good bit of OS commerce and X-Cart and neither of them touches the elegance and simplicity set forth in Ubercart.

Not to mention the tight integration with Drupal!

MadPdog's picture
Offline
Joined: 05/09/2008
Juice: 24
totally stuck with 5.x.1.5

I'd experimented with Ubercart awhile back and then disabled it when it looked like we weren't going to do onsite sales. Things change and I tried firing it up again today with 5.x.1.5 only to get the WSoD. Tried cranking my memory up to 64MB in php.ini but no good.

When in doubt, check the error log, which gives me this to explain the white screen:

PHP Fatal error: Call to undefined function uc_product_node_info() in example.com/sites/all/modules/ubercart/shipping/uc_quote/uc_quote.module on line 170

I couldn't get to my admin pages, so I ended up just doing the brute force deletion of the ubercart directory and manual removal of all uc_* tables in the database (yes, this *was* on a test site so anything I lost was irrelevant).

Anyway, I now can't even install Ubercart again. As soon as I unload the tarball, I get the dread white screen--before I can even get to the Modules page to turn any of the UC modules on.

How can I get Ubercart back? I really liked it when I was experimenting with it before (rc1) and I'm ready to get something live going on if I can only get it installed and running again. Repeating, the problem I'm having happens when I extract the tarball--as soon as I do that I'm dead in the water, with no way to get to my module admin page to turn anything on or off.

Any ideas?

Thanks!

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: totally stuck with 5.x.1.5

Just do a search on that error... somehow Drupal is enabling the quotes module before the product module and causing that error. Puzzled

MadPdog's picture
Offline
Joined: 05/09/2008
Juice: 24
looks like it's back

What worked for me was moving uc_quote out of the Shipping directory. That got rid of the white screen problem so I could get to my module admin page and disable all of the UC modules, then do an Uninstall. After that, I was able to enable the required core modules and put uc_quote back in the Shipping directory. Did a lot of status checks in between steps to see if I needed to run update.php.

Not entirely painless, but Ubercart's back. Smiling

thanks,
Bill

Daman's picture
Offline
Joined: 10/08/2008
Juice: 82
Same error for me. Fatal

Same error for me.

Fatal error: Call to undefined function uc_product_node_info() in example.com/sites/all/modules/ubercart/shipping/uc_quote/uc_quote.module on line 170

Been trying to fix this for a week now.
- Deleted all uc_* tables in the database
- Deleted the uc_quote.module file and this allow me to get into admin to uninstall Ubercart.
- Deleted the ubercart folder in modules folder.

Now when I upload a fresh copy of ubercart I cant install it in admin because I get the same white screen error after just uploading it to the modules folder on the server. Only way I found it to work is if the uc_quote.module wasn't present. I think I have completely ruined this installation. Sad

After searching all these forums I am out of options. Please help!

Willing to pay to get this fixed so that I may continue working on this project. Already delayed.

Dan

SuperDuperDan

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Same error for me. Fatal

Hey Dan... not sure what you may have messed up in your site, but the issue here is that quote was installed before product. This is an unfortunate side effect of the Drupal dependency installation process. This is why I recommend installing the core Ubercart modules first and then going back a second time to install additional Ubercart modules. (Not that I think that should be necessary... it's just a good accommodation.)

I think you're going to need to go into your site's system table and manually disable Ubercart modules before trying again. Deleting the module from the server doesn't solve much, because the database still thinks the module is installed.