View Full Version : Parsed syntax error, I need help from a coder.
TheEnforcer
02-20-2008, 08:15 PM
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 1203546033 at 1203546033 ---------------
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 1203547741 at 1203547741 ---------------
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 1203549051 at 1203549051 ---------------
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
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.