teleport_init() fails when caching is enabled: undefined function user_access()

christefano - March 19, 2008 - 15:12
Project:Teleport
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:incidentist
Status:needs review
Description

I wrapped the function with an if (function_exists('user_access')) and the problem goes away. It look like Teleport is loading too early in the bootstrap. I wonder why my Drupal environment is so different from everybody else's that this hasn't been noticed before.

AttachmentSize
teleport_init_bootstrap.patch1.18 KB

#1

incidentist - March 23, 2008 - 19:14
Assigned to:Anonymous» incidentist
 
 

Drupal is a registered trademark of Dries Buytaert.