Closed (fixed)
Project:
Linkit
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Oct 2010 at 16:32 UTC
Updated:
14 Nov 2010 at 14:10 UTC
Hi !
When using linkit and then try to install the dashboard module it fails because of this:
warning: Missing argument 1 for linkit_dashboard() in /var/www/xxx/sites/all/modules/linkit/linkit.module on line 109.
anyone knows a solution for that ?
Comments
Comment #1
anonLinkit us calling a function called "linkit_dashboard" on line 109.
I bet there is a hook called hook_dashboard in the dashboard module.
I have really no Idea how we both should solve this. Someone has to change function/hook name.
First time ever for me to see a hook conflict.
Comment #2
anonI will change my menu callback from "linkit_dashboard" to "linkit_dashboard_page"
That will solve this issue, but the source problem is in the dashboard module.
For more info see #928588: hook_dashboard conflicts with other *_dashboard functions
Comment #3
anonMy function name is now change to
linkit_dashboard_pageCommitted to 6.x-1.x-dev. This will be available in the 6.x-1.7 release
Comment #4
arnold_mad commentedcan you append your patch so that I can also patch my version ?
Comment #5
anon@arnold_mad: Yes. But unfortunately it seems like I cant make a patch file.
Hope this helps.
EDIT: see #7
The line numbers is from the dev version, so they may be litte diffrent for 6.x-1.6 but I think you can handle that. =)
Comment #6
arnold_mad commentedbut you changed the dashboard module and not the linkit module !?!
Comment #7
anon@arnold_mad oops! Your right, that is the wrong snippet. Sorry..
Here is what I did