Mantis - Quercus
Viewing Issue Advanced Details
2367 minor always 01-24-08 11:26 05-29-08 20:12
nam  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.2.0  
0002367: spl_autoload does not exist in this PHP installation
(rep by Torsten)

When trying to run an app based on the zend framework
i get the following exception:
/opt/glassfish/domains/domain1/applications/j2ee-modules/quercus/library/ZendFramework/Zend/Loader.php:281: Fatal Error: Uncaught exception of type 'Zend_Exception' with message 'spl_autoload does not exist in this PHP installation'

Notes
(0003031)
antonioco   
05-01-08 02:08   
Hi,

I think you are using old php version. The Zend_Loader checks if function spl_autoload_register() exist. Please be noted the spl_autoload_register() function is added in version 5.1.2. To solve this problem update the PHP you are using.

Hope this small info helps.

Regards,

Antonio Comique, ZCE
(0003121)
ferg   
05-29-08 20:12   
php/0975