#21134 [Com]: Parse error in mirrors.inc, reproduced in various browsers
| From: | alex at netflex dot nl | Date: | Sat, 21 Dec 2002 15:30:59 +0000 |
| Subject: | #21134 [Com]: Parse error in mirrors.inc, reproduced in various browsers | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-14401@lists.php.net to get a copy of this message | ||
ID: 21134
Comment by: alex@netflex.nl
Reported By: carl@kittanning.com
Status: Closed
Bug Type: Website problem
Operating System: Win 98
PHP Version: 4.3.0RC3
New Comment:
An other problem:
if you search via php.net/$query doesn't work! if the $query isn't a
valid function or a shortcut!
if you go to the url http://php.net/123 then it must go to
www.php.net/search.php?...
doen't work, you can search the function list but not the 'whole site'!
Previous Comments:
------------------------------------------------------------------------
[2002-12-21 09:14:06] sander@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-12-21 09:13:08] alex@netflex.nl
to view the mirrors.inc go to this url:
http://www.php.net/source.php?url=/include/mirrors.inc
------------------------------------------------------------------------
[2002-12-21 09:11:44] alex@netflex.nl
Hi,
The list of mirrors in /include/mirrors.inc has a wrong array layout:
$MIRRORS = array(
"http://au.php.net/" =>
array("AUS","Planet
Mirror",FALSE,"http://www.planetmirror.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK)
"http://au2.php.net/" =>
array("AUS","Web Hosting
Australia",FALSE,"http://www.ilisys.com.au/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK)
"http://au3.php.net/" =>
array("AUS","AusGamers",TRUE,"http://ausgamers.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK)
must be:
$MIRRORS = array(
"http://au.php.net/" =>
array("AUS","Planet
Mirror",FALSE,"http://www.planetmirror.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK),
"http://au2.php.net/" =>
array("AUS","Web Hosting
Australia",FALSE,"http://www.ilisys.com.au/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK),
"http://au3.php.net/" =>
array("AUS","AusGamers",TRUE,"http://ausgamers.com/",MIRROR_STANDARD,FALSE,"en",MIRROR_OK),
------------------------------------------------------------------------
[2002-12-21 08:46:20] carl@kittanning.com
This error shows on the PHP website, reproduced on IE5, NS4.75, NS7.0
just coming into the site. www.php.net
Parse error: parse error, expecting `')'' in
/local/Web/sites/phpweb/include/mirrors.inc on line 25
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21134&edit=1