| In the process of installing Gallery2 (v 2.0.2), there is a bug in Zend Optimizer.
Error given: "Notice: Only variable references should be returned by reference in $(SOME PATH)" where $(SOME PATH) is the php file that passed a non reference. Documentation on the bug:
Gallery specific, with the fix -- http://codex.gallery2.org/index.php/Gallery2:FAQ#I_get_.22Notice:_Only_variable_references_should_be_returned_by_reference_in_.22.2C_what.27s_wrong.3F Gallery devel discusion -- http://gallery.menalto.com/node/36605#comment-133101 Bug report on php.net -- http://bugs.php.net/bug.php?id=34009
As it mentions on the Gallery forums, the easiest fix is to edit php.ini
In php.ini replace: zend_optimizer.optimization_level=15 with: zend_optimizer.optimization_level=14
|
Add to Favourites
Print this Article
|