Closed (fixed)
Project:
Clicky - Web Analytics in Real Time
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2008 at 18:20 UTC
Updated:
17 Jun 2008 at 11:41 UTC
Running update.php after enabling Get Clicky generated the following message -
warning: Missing argument 1 for getclicky_menu() in /home/xxxxxxxxxx.com/dev/public_html/sites/all/modules/getclicky/getclicky.module on line 20.
Can't find any settings or othet Get Clicky page, probably related to the above ;¬)
Comments
Comment #1
John Bryan commentedhook_menu() in Drupal 6 no longer has the $may_cache argument. Removing this argument from the module stops the error message but the admin/settings get-clicky menu item still does not get created.
Looks like you need to check for differences in hook & function behaviour in Drupal 6 for this module. There are many but the changes are minor, e.g. arguments that were "nid" (node id) are now $node (the whole node object).
regards
John Bryan
Comment #2
John Bryan commentedComparing with a working hook_menu from another module I have got the menu link working:-
Original
Updated
Presumably though there could easily be other hooks of functions not upgraded for Drupal 6?
Comment #3
gloscon commentedGet Clicky is updated to Drupal-6 now.
http://drupal.org/project/getclicky
Comment #4
gloscon commentedRelease node:
http://drupal.org/node/266049
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.