I've got an error in functions.php
Anyone around to through some ideas out there?
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/domain41/public_html/includes/functions.php on line 2025
This is line 215 to 230:
PHP Code:
{
foreach($DEVDEBUG AS $debugmessage)
{
$messages .= "\t<option>" . htmlspecialchars_uni($debugmessage) . "</option>\n";
}
}
$debughtml = '<hr />';
//$debughtml .= "<ul><a href=\"#\" onclick=\"set_cookie('vbulletin_collapse', ''); window.location=window.location\">vbulletin_collapse</a>:<br /><li>" . str_replace("\n", '</li><li>', $_COOKIE['vbulletin_collapse']) . "</li></ul>";
$debughtml .= "\n<form name=\"debugger\" action=\"\">\n<div align=\"center\">\n<!--querycount-->Executed <b>$query_count</b> queries<!--/querycount-->" . iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . " . ";
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','?','?','?','?','&') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')'?')'?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','?','?','?','?','?','?','&') . "explain=1\">Explain</a>)<br />\n";
$debughtml .= "<select>\n\t<option>(Page Generated in $totaltime Seconds)</option>\n$messages</select>\n";
if (is_array($tempusagecache))
{
Ucs 095
VB 3.0.7
ok
___
so far so good, this was it...
If you are getting php errors!
--------------------------------------------------------------------------------
If you are getting undefined function errors please start with a fresh copy of the file and rehack it using another text editor.
Programs that are known to cause problems when editing php files
1. Dreamweaver
2. Microsoft Frontpage