vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Parse Error: syntax error (https://vborg.vbsupport.ru/showthread.php?t=162589)

wickedstangs 11-13-2007 02:59 AM

Parse Error: syntax error
 
When I click on my USERCP and edit options noting happens and I get this error. Can someone help me out.

Code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/gmntmare/public_html/community/profile.php(2891) : eval()'d code on line 66

Lynne 11-13-2007 03:28 AM

Have you modified the profile.php page at all? Look at line 66 of that code and see if the array is closed properly.

Analogpoint 11-13-2007 03:30 AM

It's a plugin or template eval call on line 2891 of profile.php, and it's on line 66 of the evaled code. Disable plugins and see if you still have the problem.

wickedstangs 11-13-2007 03:51 AM

Code:

eval('$HTML = "' . fetch_template($templatename) . '";');
This is what is on 2891 the profile is the original file.

Disable all plugins before this happened

Analogpoint 11-13-2007 03:53 AM

Quote:

Originally Posted by wickedstangs (Post 1381504)
Code:

eval('$HTML = "' . fetch_template($templatename) . '";');
This is what is on 2891 the profile is the original file.

I am aware of that.

Did you disable all plugins to see if the problem went away? You can disable them globally by added define('DISABLE_HOOKS', 1); to your config.php file.

wickedstangs 11-13-2007 03:55 AM

Quote:

Originally Posted by Lynne (Post 1381495)
Have you modified the profile.php page at all? Look at line 66 of that code and see if the array is closed properly.

This is the only thing on line 61
Code:

        ),
--------------- Added [DATE]1194933559[/DATE] at [TIME]1194933559[/TIME] ---------------

Quote:

Originally Posted by Analogpoint (Post 1381507)
I am aware of that.

Did you disable all plugins to see if the problem went away? You can disable them globally by added define('DISABLE_HOOKS', 1); to your config.php file.

Where exactly do I put that?


All times are GMT. The time now is 03:48 PM.

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.01017 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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