Mantis - Quercus
Viewing Issue Advanced Details
1811 minor always 06-21-07 11:22 06-25-07 07:13
nam  
sam  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001811: zend framework parsing error
(rep by Kibo)

I am trying to make Zend Framework run on Resin 3.1 I get this error

/c:/projekti/Vast_ZF2/library/Zend/Registry.php:89: expected ',' at (token
291) in
Registry.php:88: {
Registry.php:89: self::setInstance(new self::$_registryClassName());
Registry.php:90: }

here is part from that file

class Zend_Registry extends ArrayObject{
private static $_registryClassName = 'Zend_Registry';
.....
..
protected static function init()
{
//this is where error ocures though only in Qurcus
self::setInstance(new self::$_registryClassName());
}

This would be something like

self::setInstance(new Zend_Registry());

and it works on PHP 5.1.4 Apache , but not in Resin.

Notes
(0002082)
sam   
06-25-07 07:13   
php/1811