vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Parsed syntax error, I need help from a coder. (https://vborg.vbsupport.ru/showthread.php?t=171051)

TheEnforcer 02-20-2008 08:15 PM

Parsed syntax error, I need help from a coder.
 
Could anyone take a look at something for me, and tell me how to fix it. I can't figure it out to save my life.

If your able to help, I am not sure how to show you the code. Can I post all the code here or should I PM it?

--------------- Added [DATE]1203546033[/DATE] at [TIME]1203546033[/TIME] ---------------

This is the initial error, and I will give the person the full code to try and correct it.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bomalley/public_html/forums/member.php(840) : eval()'d code on line 178

Opserty 02-20-2008 08:37 PM

Disable your modifications/products, enable them one by one and test each time. It will allow you to find the troublesome product. Repeat the process in the plugin manager for the appropriate product and you can find out what code is causing your error. (Look on line 840 of member.php for the hook name, which you can then look for in the Plugin Manager)

TheEnforcer 02-20-2008 08:47 PM

838:($hook = vBulletinHook::fetch_hook('member_complete')) ? eval($hook) : false;
839:
840:eval('print_output("' . fetch_template($templatename) . '");');

--------------- Added [DATE]1203547741[/DATE] at [TIME]1203547741[/TIME] ---------------

How where should I go from here?

Opserty 02-20-2008 08:55 PM

Oh it seems to be an error with your style then.

Do you get this error if you use a default (unmodified) style?

TheEnforcer 02-20-2008 09:08 PM

Well the thing is with the style is that I have to edit the member info style to make the "myspace" type profile work. So far all I have is headaches.

--------------- Added [DATE]1203549051[/DATE] at [TIME]1203549051[/TIME] ---------------

This is what I get when I try to save&reload it.
The following error occurred when attempting to evaluate this template:

The conditional on line 178 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Dismounted 02-21-2008 05:22 AM

Code:

The conditional on line 178 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.
Does this not point to the issue?


All times are GMT. The time now is 06:40 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.01728 seconds
  • Memory Usage 1,717KB
  • 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_code_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