View Full Version : Error that I cant fix....
Jeffrey
05-14-2005, 10:25 PM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/jeff/fastcompany.ca/forum/includes/functions.php on line 1864
I keep getting that, but the line I replaced in that file was on line like 3000, so I dont get it.
also I cannot get to the install script? I get the same error.
when I go back to the original functions.php I get the database error message.
mholtum
05-14-2005, 10:29 PM
try uploading fresh unhacked copies of the vb files, re-edit them, run the script.
Jeffrey
05-14-2005, 10:44 PM
// $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";
Thats whats broken, I comented it out, and now it seems to work.... I hope its not important.
mholtum
05-14-2005, 10:52 PM
$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";
In all the places where you have 4 question marks, delete all but 1.
Brian
05-15-2005, 11:44 AM
Get a fresh, un-hacked verison of the functions.php file and reapply your changes with Notepad instead of Dreamweaver.
Jeffrey
05-15-2005, 10:16 PM
Get a fresh, un-hacked verison of the functions.php file and reapply your changes with Notepad instead of Dreamweaver.
ok thanks
Just did that :)
One last thing, I changed the file name paths in the install to have /forum in it, but some images are still broken..?? and I cant see them anywhere on that install page, the details of it show that the path is missing /forum
Brian
05-16-2005, 11:35 AM
Admin CP => Style Manager => {select style} => All Style Options
Just a little down that page you should see a section for image paths. Make sure those are all set to include the full URL.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.