Log in

View Full Version : Template security token issues - help


jeanvg
04-03-2009, 08:20 PM
I updated my forum templates with the security token code and now I can't get into admincp and several other areas of the site. I'm getting this error:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/abrahaml/public_html/includes/adminfunctions.php on line 394

I have tried replacing this file with the updated version but no good. Does anyone have any idea what I can do to fix this forum: www.abrahamlincolnexalumnosperu.org

Lynne
04-03-2009, 08:38 PM
What is on line 394 of adminfunctions.php?

jeanvg
04-03-2009, 08:58 PM
echo "\n</body>\n</html>";

TigerC10
04-03-2009, 09:16 PM
What is on line 394 of adminfunctions.php?

It doesn't matter, the error says

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/abrahaml/public_html/includes/adminfunctions.php on line 394

Which means there's something wrong with line 393 instead.


/* 393 */ if (!defined('IS_NAV_PANEL') AND !defined('NO_PAGE_TITLE') AND VB_AREA != 'Upgrade' AND VB_AREA != 'Install')
/* 394 */ {
/* 395 */ echo "\n</div>";
/* 396 */ }
/* 397 */ echo "\n</body>\n</html>";


It shouldn't be expecting either a comma or a semicolin...

jeanvg
04-03-2009, 09:19 PM
I got to thinking about the upgrade file I installed and the line was different on that one so I uploaded the backup copy and that fixed the problem.

--------------- Added 1238797364 at 1238797364 ---------------

Ahhhh! I'll go back and look at the upgrade file. Thanks.