( ! ) Fatal error: Call to undefined function drupal_goto() in /vol/a89b7ec1/srv/002/web/sites/all/modules/mobile_tools/mobile_tools.module on line 679
Call Stack
# Time Memory Function Location
1 0.0000 56224 {main}( ) ../index.php:0
2 0.0003 71852 drupal_bootstrap( ) ../index.php:16
3 0.0031 131452 _drupal_bootstrap( ) ../bootstrap.inc:983
4 0.0042 309316 bootstrap_invoke_all( ) ../bootstrap.inc:1044
5 0.0080 656672 module_invoke( ) ../bootstrap.inc:585
6 0.0080 657164 call_user_func_array
( )
../module.inc:450
7 0.0080 657340 mobile_tools_boot( ) ../module.inc:0
8 0.0088 678676 mobile_tools_detection_init( ) ../mobile_tools.module:94
9 0.0089 678744 mobile_tools_redirect( ) ../mobile_tools.module:122

Steps:
Enabled the module
On admin/settings/mobile-tools, specified Automatic redirection, left all other settings default (as far as I can remember)
Hit Save configuration button
Boom

Sorry for just dumping the returned call stack here, I'll be back if I find something more..

Comments

twom’s picture

Assigned: Unassigned » twom

By changing the main functionality from hook_init to hook_boot, probably drupal_goto() is not yet defined yet.
I'll write my own drupal_goto() and check if I use other functions that could be a problem.

twom’s picture

Status: Active » Needs review

Should be fixed!!

Thanks for reporting!

twom’s picture

Status: Needs review » Closed (fixed)