Ubercart Alternative Price Error Messages

brandonratz - August 18, 2009 - 20:32
Project:Ubercart Alternative Price
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

On a fresh install of Drupal 6.13 and Ubercart 2.x rc4 I receive this on modules list:
warning: Missing argument 1 for uc_alternative_price_menu() in C:\wamp2\www\uber\sites\all\modules\uc_alternative_price\uc_alternative_price.module on line 84.

On product edit when I add feature > alternative price I receive this error:
Fatal error: Call to undefined function db_next_id() in C:\wamp2\www\uber\sites\all\modules\uc_alternative_price\uc_alternative_price.module on line 455

#1

brandonratz - August 18, 2009 - 20:33
Title:Error Messages» Ubercart Alternative Price Error Messages

#2

gollyg - January 30, 2010 - 11:53
Status:active» needs review

Seems the Drupal 5 signature for hook_menu was being used to add CSS.
Attached patch moves it to hook_init, and should remove the error message

AttachmentSize
uc_alternative_price.patch 629 bytes

#3

gollyg - January 30, 2010 - 12:08
Status:needs review» active

Oops, I see there is dev work going on here. Ignore patch - it is only the tip of the iceberg!

Cheers

#4

greggles - February 2, 2010 - 22:50
Status:active» duplicate

@gollyg: Did you see #489618: Converting module to 6.x?

Can you help work in that thread?

#5

gollyg - February 4, 2010 - 10:48

Yep, saw it after i posted the patch. Will try to test the current patched version and feedback.

 
 

Drupal is a registered trademark of Dries Buytaert.