Closed (duplicate)
Project:
Mobile Tools
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 20:14 UTC
Updated:
30 May 2012 at 17:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidRedirect only runs when Drupal has been fully bootstrapped, so I'm not sure how this is possible?
Comment #2
dalinThis can be traced back to redirect_url_inbound_alter() Which isn't actually doing anything anyway (the redirects here are commented out). So I think the thing to do is remove redirect_url_inbound_alter() which also means that redirect_load_entity_from_path() is never used so that can be removed as well.
Comment #3
dave reidThis is a bug in mobile_tools() which causes hook_url_inbound_alter() to get invoked before a full bootstrap:
drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH); should be drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL) as there is no path bootstrap level.
Comment #4
dave reidAlso, loading a bootstrap to full from inside hook_boot() is also really, really bad. I cannot support this from the Redirect side.
Comment #5
devin carlson commentedThis is a duplicate of #1424092: Fatal error: Call to undefined function drupal_get_path_alias() on every page.