"Class not found" error using PHP 5.0.x

Das Forum ist für das Melden von Bugs gedacht. // This forum is intended to report bugs with the APF.
Gesperrt
Benutzeravatar
dr.e.
Administrator
Beiträge: 4555
Registriert: 04.11.2007, 16:13:53

"Class not found" error using PHP 5.0.x

Beitrag von dr.e. » 18.01.2009, 16:06:09

If you are using PHP 5.0.x and 5.1.x the following error could occure:
Fatal error: Class 'filterFactory' not found in ***\core\service\serviceManager.php on line 41
The reason for this error is a PHP bug, that does not export class definitions into the global scope, that are defined with a function (e.g. include is done within a function). Thus, the class does not exist in the relevant scope.

This problem can only be solved updating to > 5.2.0.
Viele Grüße,
Christian

Gesperrt

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast