ERROR on PHP.net index page!!!
| From: | Paul | Date: | Mon, 24 Nov 2003 13:38:15 +0000 |
| Subject: | ERROR on PHP.net index page!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170789@lists.php.net to get a copy of this message | ||
This is what I got on my browser:
Parse error: parse error, expecting `')'' in
/local/Web/sites/phpweb/include/layout.inc on line 29
Fatal error: Call to undefined function: make_image() in
/local/Web/sites/phpweb/index.php on line 117
And this is the problem:
$highlighted = '<div class="phpcode">' . str_replace(
array(
' '
'<br />',
'<font color="',
'</font>',
"\n ",
' '
),
array(
' ',
"<br />\n",
'<span class="',
'</span>',
"\n ",
' '
),
$highlighted
) . '</div>';
You missed a comma on the third line in this code (line 29 in layout.inc).
Paul