PDA

View Full Version : error messages


MamboCube
11-04-2005, 06:49 AM
anyone know wat these mean ?

Fatal error: Call to a member function on a non-object in /home/****/public_html/forum/includes/functions.php on line 991

Fatal error: Call to a member function on a non-object in /home/****/public_html/forum/includes/functions.php on line 4308

its wat happens when i include global.php in coppermine gallery

anyone know why?

MamboCube
11-06-2005, 12:05 PM
any one?

Marco van Herwaarden
11-08-2005, 02:12 PM
any one?

// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();
Include these lines before calling global.php.

MamboCube
11-08-2005, 05:47 PM
thnx for the reply,

i have tried putting the code u gave me in, but i still get the same errors,

i have included global.php in the coppermine template file

could this be part of the problem?

i would try and put it all in anycontent.php but i dont know how that works,

do i just put (your code) <?php include('global.php'); ?> in anycontent.php?

Marco van Herwaarden
11-09-2005, 01:15 PM
It should be placed inside the php-tags.