3
I'm running XOOPS 2.2.6 and having the same problem.
My error log reports:
[Sat Mar 08 10:50:04 2008] [error] [client xx.141.143.241] PHP Fatal error: Class
wfc_PageHandler does not exist
Handler Name: page in /var/www/vhosts/mydomain.org/httpdocs/modules/wfresource/include/functions.php on line 60, referer:
http://mydomain.org/ The function is:
function &wfp_gethandler( $name, $dirname = 'wfresource', $c_prefix = 'wfp_', $optional = false ) {
global $xoopsModule;
static $handlers;
$name = strtolower( trim( $name ) );
if ( !isset( $handlers[$name] ) ) {
if ( file_exists( $hnd_file = XOOPS_ROOT_PATH . '/modules/' . $dirname . '/class/class.' . $name . '.php' ) ) {
require_once $hnd_file;
}
$class = $c_prefix . ucfirst( $name ) . 'Handler';
if ( class_exists( $class ) ) {
$handlers[$name] = &new $class( $GLOBALS['xoopsDB'] );
}
}
if ( !isset( $handlers[$name] ) && !$optional ) {
trigger_error( 'Class ' . $class . ' does not exist
Handler Name: ' . $name, E_USER_ERROR ); }
if ( isset( $handlers[$name] ) ) {
return $handlers[$name];
}
$inst = false;
return $inst;
}
The part in red is line 60 where it bombs out.
Any ideas? Anybody?
Terrion
Purchase, renew, or transfer your domain name to
Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...