Fatal error: Call to undefined function: is_a() in ***/httpdocs/new/lib/log4php/config/LoggerPropertySetter.php on line 108
someone a solution for this problem, it's when I want to make a new clean install...
Fatal error, LoggerPropertySetter.php
Re: Fatal error, LoggerPropertySetter.php
What version of php are you running?
Re: Fatal error, LoggerPropertySetter.php
Yeah, I think cmsms has slowly had it's minimum version put up to 4.2.0 now....
Between log4php and smarty, I don't have much choice.
Between log4php and smarty, I don't have much choice.
Re: Fatal error, LoggerPropertySetter.php
I had the same problem trying to run on an old PHP version. In fact is_a()
is not supported until PHP 4.2.0
If you cannot upgrade,here's a snippert of code from the official PHP
documentation that will emulate is_a() :
if (!function_exists('is_a')) {
function is_a( $object, $className ) {
return ((strtolower($className) == get_class($object))
or (is_subclass_of($object, $className)));
}
}
(I have NOT tested it)
M. Abdul Mannan.
abdul.mannan@hotmail.com
http://mannan.zabvision.edu.pk
is not supported until PHP 4.2.0
If you cannot upgrade,here's a snippert of code from the official PHP
documentation that will emulate is_a() :
if (!function_exists('is_a')) {
function is_a( $object, $className ) {
return ((strtolower($className) == get_class($object))
or (is_subclass_of($object, $className)));
}
}
(I have NOT tested it)
M. Abdul Mannan.
abdul.mannan@hotmail.com
http://mannan.zabvision.edu.pk