php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31382 preg_match() error when trying to use search bar in documentation
Submitted: 2005-01-03 01:24 UTC Modified: 2005-01-11 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: haiaw@php.net Assigned:
Status: No Feedback Package: Website problem
PHP Version: Irrelevant OS: Mozilla
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: haiaw@php.net
New email:
PHP Version: OS:

 

 [2005-01-03 01:24 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-03 01:26 UTC] haiaw@php.net
Few minutes later, on the same mirror I get those three first errors on each page.
 [2005-01-03 11:43 UTC] 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 13:12 UTC] 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 13:23 UTC] roman dot barczynski at gmail dot com
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
 [2005-01-03 14:21 UTC] edink@php.net
Using zend optimizer? If yes please red the notice on downloads page.
 [2005-01-11 01:00 UTC] php-mirrors at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-05-12 12:41 UTC] yuttdesign at yahoo dot com
So cool
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 08:01:30 2024 UTC