Line 455 uc_alternative_price.module
$pfid = (empty($form_values['pfid'])) ? db_next_id('{uc_product_features}_pfid') + 1 : $form_values['pfid'];

Need to convert to http://api.drupal.org/api/function/db_last_insert_id/6

We're looking into this now, just posting these issues so we can track them as we work on this module.

Comments

Jeff Burnz’s picture

Title: Call to undefined function db_next_id() » Rewrite form_submit's

OK looking more closely we have to rewrite/upgrade the form_submit functions.

(note to self - http://drupal.org/node/144132)

Balmer’s picture

Is this fixed? All I get from using this module is:

Fatal error: Call to undefined function db_next_id() in /hermes/bosweb/web266/b2667/ipw.rivendellnaturals/public_html/lipbalmlabz/shopwholesale/modules/uc_alternative_price/uc_alternative_price.module on line 454

Since db_next_id is a Drupal 5 function...I don't see how this module ever could have worked for anyone.

greggles’s picture

Note that the project was seeking a co-maintainer and I've now marked it as abandoned.

I'm no longer maintaining it and should have clarified this a while ago.