[Mediawiki-l] A unexpect notice when search
Brion Vibber
brion at pobox.com
Thu Oct 13 09:12:31 UTC 2005
ËïѧîÈ 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20051013/a6bd3e13/attachment.pgp
More information about the MediaWiki-l
mailing list