TexasHorns
12-12-2004, 04:53 PM
Hey guys, I really need help here :mad:
I get an error when I try to go anywhere that requires functions.php which is almost every page.
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/big12/public_html/forum/includes/functions.php on line 1887
"
Is the error I get when I try to visit the pages.
Line 1887 =
$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";
Now I got the error after I followed this step in installing the CMPS.
In your /forum/includes/functions.php:
Find:
if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))
Replace it with:
if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'adv_index') OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))[/
I will be so gateful if you can help me. Thanks a ton!
I get an error when I try to go anywhere that requires functions.php which is almost every page.
"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/big12/public_html/forum/includes/functions.php on line 1887
"
Is the error I get when I try to visit the pages.
Line 1887 =
$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";
Now I got the error after I followed this step in installing the CMPS.
In your /forum/includes/functions.php:
Find:
if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))
Replace it with:
if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'adv_index') OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))[/
I will be so gateful if you can help me. Thanks a ton!