#21134 [Opn->Csd]: Parse error in mirrors.inc, reproduced in various browsers

From: Date: Sat, 21 Dec 2002 15:14:06 +0000
Subject: #21134 [Opn->Csd]: Parse error in mirrors.inc, reproduced in various browsers
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14400@lists.php.net to get a copy of this message
ID: 21134 Updated by: sander@php.net Reported By: carl@kittanning.com -Status: Open +Status: Closed Bug Type: Website problem Operating System: Win 98 PHP Version: 4.3.0RC3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.mirrors (#14400) next »