Closed (duplicate)
Project:
Mobile Tools
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2011 at 02:21 UTC
Updated:
17 Mar 2012 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
justin2pin commentedNot sure if this is the same issue, but when I initially installed mobile_tools -- before upgrading context -- I white screened because the earlier version of context did not use the function context_get_plugin(). The attached patch uses function_exists("context_get_plugin") rather than module_exists("context"), which will at least prevent a fatal PHP error.
To get context integration, you'll still need to upgrade to the latest stable context release.
Comment #2
gantenx commentedIt's different issue. Well, it looks like I didn't clearly say what the problem was. :-P
I was using Context 6.x-3.0 and Mobile Tools 6.x-2.2 to detect client's device. My system detected devices correctly until I updated Mobile Tools to 6.x-2.3 version. There was no error message appeared. It just failed in device detection.
:)
Comment #3
danielphenry commentedjust hit this one as well. Any ideas what is causing this?
Comment #4
danielphenry commentedGot it. Real simple fix so I didn't bother to create a patch
in mobile_tools.module
function mobile_tools_init
line 217
Should be:
Just a problem of using the wrong polarity in the if statement.
Comment #5
bachbach commented#4 works for me, thanks !
Comment #6
barrapontoThis has been fixed in #1118108-5: Call to a member function execute() on a non-object in /home/... /all/modules/mobile_tools/mobile_tools.module on line 221, but it's not very clear in the issue.