Posted by brandonratz on August 18, 2009 at 8:32pm
| 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
#2
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
#3
Oops, I see there is dev work going on here. Ignore patch - it is only the tip of the iceberg!
Cheers
#4
@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.