Upgrading to new versions of Ubercart

Posts: 37
Joined: 09/30/2007

I recently went from Alpha 7 to new Beta version of Ubercart. Great work from the Ubercart team.
However, I had problems with tables not being created properly in MySQL with resulting warning messages from Drupal. Those pink background notes that we all love, that for some reason show up to non admin users when they shouldn't (minor irritation).

The way I solved the missing variables in tables problem was to run update.php from the browser window, empty cache from the development module and see if the problem went away. When that failed, I went to PHPAdmin on my server and manually created the tables as Ubercart expected from looking at the appropriate Ubercart include file. That gradually made the errors go away. My thought was that there was some sort of coding syntax error in the Ubercart code. How wrong I was.

It turns out, after some digging in the Drupal site, that if you installed Drupal with Fantastico, which because of an earlier version of Ubercart problem, since fixed, was the way recommended; update.php was not installed in your root directory of your site. Consequently, when you thought you were runnning update.php in your browser window, what came back was "page not found." Before you upgrade Ubercart check your root directory for an update.php.

If you don't have one, download the latest Drupal version (not with Fantasico) and uplink the update.php file to your root directory.

My problems, with the exception of the drupal status report telling me my database schema is out of sync, have since gone away. The result is finding that the Ubercart new Beta release is well written and works as advertised. Nice work Kudos to the entire Ubercart team. Thanks for a graeat shopping cart.

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

Oh no! Sorry to hear this has been the source of all your woe. I've been following your threads trying to figure out what we screwed up, so I'm at least glad to see Fantastico may have been the culprit. For what it's worth, I think it's recommended to never install Drupal from Fantastico... primarily because (at least in the past) they weren't staying current with the latest releases of whatever Drupal version it has. This means security fixes could be missing through Fantastico.