Closed (fixed)
Project:
Mobile Tools
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 11:20 UTC
Updated:
15 Mar 2013 at 06:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
rudiedirkx commentedI removed all
mobile_tools_*variables and then the site worked again.And then I set up redirection and then it failed again.
Line 273+ of
mobile_tools.module:The missing
drupal_get_path_aliasis in that same function (mobile_tools_device_redirect), so I guess it's the redirection. =(Comment #2
rudiedirkx commentedIf I don't redirect and
"Switch theme for a mobile device *", it at least works, but apparantly no caching with this method.Comment #3
RachelIsland commentedI have the same issue here. I can't make this module work at all... :(
Comment #4
davidpinard commentedI have the same issue here too..
Comment #5
rudiedirkx commentedBut apparently nobody cares :(
Comment #6
jmomandown commentedThe answer to this is fairly simple (I remember seeing it a while back but cannot find the thread now).
Line 284: drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH);
should be changed to
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
There is no BOOTSTRAP_PATH, this is why the error is thrown. change that 4 letter word and it will work perfectly
Comment #7
rudiedirkx commentedIs it fixed though? In which release? If It's still wrong in the code, It's still a bug and us not fixed.
Comment #8
jmomandown commentedyes sorry. I was very tired and wasn't thinking. No it is not fixed per the downloadable modules. However, this solves it until the code is updated
Comment #9
devin carlson commentedI can't find any reference to
drupal_bootstrap()in the latest checkout of Mobile Tools 7.x-2.x.Please note that the 7.x-2.x branch of Mobile Tools in unsupported.
Comment #10
truyenle commented#6 work for me. Here is the patch.