Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Next Major Release
-
Fix Version/s: 1.7.0
-
Component/s: Zend_Loader
-
Labels:None
Description
Class Zend_Loader_PluginLoader.
Missing require_once in lines 220-222:
if ($pos === null) { throw new Zend_Loader_PluginLoader_Exception('Prefix ' . $prefix . ' / Path ' . $path . ' was not found in the PluginLoader.'); }
and lines 315-317:
if (!class_exists($className, false)) { throw new Zend_Loader_PluginLoader_Exception('File ' . $classFile . ' was loaded but class named ' . $className . ' was not found within it.'); }
This implies autoload feature, but many peoples do not has it.
I had the same problem. I don't think it's assuming autoload feature though, as it uses require_once normally through the rest of the file, so this is clearly a missing require_once.