
08-26-2004, 07:14 PM
|
|
|
Join Date: Nov 2001
Location: san francisco, ca
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by boiboi
Just installed this hack yesterday. This error seems unsolved in this thread but here it is again:
When I replace the following in forum/includes/function.php
<search for>
$name = COOKIE_PREFIX . $name;
</search for>
<replace>
if ($name != 'sessionhash')
{
$name = COOKIE_PREFIX . $name;
}
</replace>
This error shows up:
Parse error: parse error in /home/initial/public_html/forums/includes/functions.php on line 1864
Line 1864:
$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";
It seems like it's totally unrelated, but it's not.
|
I've installed much more complicated hacks than this. Try vbulletin integrated with Horde framework. I commented out line 1864 now your hack works.
|