Project:Ubercart Alternative Price
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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

Comments

#1

Title:Error Messages» Ubercart Alternative Price Error Messages

#2

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

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

Status:active» closed (duplicate)

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

Can you help work in that thread?

#5

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

nobody click here