PHP Fatal error: Call to undefined function module_implements() in /includes/bootstrap.inc on line 838

greg.harvey - October 23, 2009 - 15:00
Project:Cache Router
Version:6.x-1.0-rc1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Any ideas as to what might be causing this? It falls over as soon as I enable my cacherouter settings array in settings.php, which looks like this, for the record:

<?php
$conf
['cache_inc'] = './sites/all/modules/contrib/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
 
'default' => array(
   
'engine' => 'file',
   
'shared' => TRUE,
   
'prefix' => '',
   
'path' => '/tmp/filecache/ecuk',
   
'static' => FALSE,
   
'fast_cache' => FALSE,
  ),
);
?>

#1

greg.harvey - October 23, 2009 - 15:04

Should note, works fine on local laptop. Breaks on CentOS 5.2 test server. =/

#2

greg.harvey - October 23, 2009 - 15:13

Weirdness. Deleted the directory, re-created it and re-set the permissions and it worked fine. Though quite why the directory name would cause a bootstrap problem relating to a missing function, I do not know.

So mine is fixed, but I'll leave this open as I don't think I should've ever seen this error, so it's still a bug - maybe the function call will give you some clue?

#3

crea - December 21, 2009 - 04:01
Category:bug report» support request
Status:active» fixed

More likely problem with your installation. Why would Cacherouter affect core function ?

#4

greg.harvey - December 21, 2009 - 08:49

Fair enough - I'd forgotten about this anyway. Never saw it again.

 
 

Drupal is a registered trademark of Dries Buytaert.