Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.1
-
None
-
eZP 5.1.0 with eZFlow 5.1.0
PHP 5.3.25 from MacPorts
MySQL 5.1.68 from MacPorts
Apache 2.2.24 from MacPorts
Mac OS X
Description
First run after installation was failing with error:
PHP Fatal error: Cannot redeclare class eZObjectForwarder in /xxx/yyy/ezp510/ezpublish_legacy/kernel/common/ezobjectforwarder.php on line 18
XDebug output led me to ezpublish_legacy/extension/ezflow/autoloads/eztemplateautoload.php file where commenting line 52 out helped to run eZPublish:
... 48 if ( !function_exists( 'eZPageForwardInit' ) ) 49 { 50 function eZPageForwardInit() 51 { 52 //include_once( 'kernel/common/ezobjectforwarder.php' ); 53 $forward_rules = array( 54 'block_edit_gui' => array( 'template_root' => 'block/edit', 55 'input_name' => 'block', 56 'output_name' => 'block', 57 'namespace' => 'ContentAttributeBlockEdit', 58 'attribute_keys' => array( 'type' => array( 'type' ) ), 59 'attribute_access' => array( array( 'edit_template' ) ), 60 'optional_views' => true, 61 'use_views' => 'view' ), 62 'block_view_gui' => array( 'template_root' => 'block/view', ...