Wiki: 1.5.0 apache: 2.0.54 php: 4.4.0 mySQL: 4.0.25 OS: Windows2003 server
When I search from the wiki home page, I get a notice on the top of the result page as below. Anyone has any idea?
Notice: Only variables should be assigned by reference in H:\myWeb\wiki\includes\SpecialSearch.php on line 164
Thanks,
Martin
I believe this is due to incompatibilities between MediaWiki 1.5 and PHP 4.4. Consider upgrading to the latest version of PHP (version 5) - you may need to do a mySQL upgrade too (the latest version of which is 4.1).
This should correct the problem.
Rob Church
On 13/10/05, ËïѧîÈ sunxuezhao@kingdee.com wrote:
Wiki: 1.5.0 apache: 2.0.54 php: 4.4.0 mySQL: 4.0.25 OS: Windows2003 server
When I search from the wiki home page, I get a notice on the top of the result page as below. Anyone has any idea?
Notice: Only variables should be assigned by reference in H:\myWeb\wiki\includes\SpecialSearch.php on line 164
Thanks,
Martin
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
��ѧ�� wrote:
Wiki: 1.5.0 apache: 2.0.54 php: 4.4.0 mySQL: 4.0.25 OS: Windows2003 server
When I search from the wiki home page, I get a notice on the top of the result page as below. Anyone has any idea?
Notice: Only variables should be assigned by reference in H:\myWeb\wiki\includes\SpecialSearch.php on line 164
Change the line from: $search =& SearchEngine::create(); to: $search = SearchEngine::create();
The warning is harmless, and apparently occurs only on PHP 4.4.0. The fix was already in the development branch, and will be included in 1.5.1.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org