vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Template security token issues - help (https://vborg.vbsupport.ru/showthread.php?t=210247)

jeanvg 04-03-2009 08:20 PM

Template security token issues - help
 
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

Quote:

Originally Posted by Lynne (Post 1783297)
What is on line 394 of adminfunctions.php?

It doesn't matter, the error says
Quote:

Originally Posted by jeanvg (Post 1783285)
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.

PHP Code:

/* 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 [DATE]1238797364[/DATE] at [TIME]1238797364[/TIME] ---------------

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


All times are GMT. The time now is 09:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02899 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete