#31382 [Com]: preg_match() error when trying to use search bar in documentation

From: Date: Mon, 03 Jan 2005 12:23:35 +0000
Subject: #31382 [Com]: preg_match() error when trying to use search bar in documentation
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-27038@lists.php.net to get a copy of this message
ID: 31382 Comment by: roman dot barczynski at gmail dot com Reported By: haiaw@php.net Status: Feedback Bug Type: Website problem Operating System: Mozilla PHP Version: Irrelevant New Comment: You have to excuse me but I had to downgrade php to 4.3.9 on which everything goes OK... It's shared server. Yesterday I've upgraded php to 4.3.10 but today I've downgraded after some calls from my customers... Generally it's more php 4.3.10 issue. I could set up unofficial mirror on some machine with php 4.3.10 for testing if you need it... best regards Previous Comments: ------------------------------------------------------------------------ [2005-01-03 13:12:58] goba@php.net Could you please provide your HTTP_ACCEPT_LANGUAGE value (which you can get at your My PHP.net page for example). I cannot reproduce this bug with my accept language being "en-gb,en;q=0.5" ------------------------------------------------------------------------ [2005-01-03 11:43:47] roman dot barczynski at gmail dot com PHP version is relevant. On php 4.3.9 everything work fine. Warnings appear on php 4.3.10. ------------------------------------------------------------------------ [2005-01-03 01:26:25] haiaw@php.net Few minutes later, on the same mirror I get those three first errors on each page. ------------------------------------------------------------------------ [2005-01-03 01:24:20] haiaw@php.net Description: ------------ After inputing any string in http://pl2.php.net/manual/pl/ search b ar (searching in: function list) I get errors below. Warning: preg_match() expects parameter 2 to be string, array given in /home/users/misc/pl2.php.net/include/langchooser.inc on line 141 Warning: preg_match() expects parameter 2 to be string, array given in /home/users/misc/pl2.php.net/include/langchooser.inc on line 141 Warning: preg_match() expects parameter 2 to be string, array given in /home/users/misc/pl2.php.net/include/langchooser.inc on line 141 Warning: Illegal offset type in /home/users/misc/pl2.php.net/search.php on line 14 Warning: Illegal offset type in /home/users/misc/pl2.php.net/search.php on line 14 Warning: Illegal offset type in /home/users/misc/pl2.php.net/search.php on line 14 Depicted situation occurs only in pl2.php.net mirror. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31382&edit=1

« previous php.mirrors (#27038) next »