Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: msvdm on May 10, 2008, 06:43:30 AM

Title: parse error, syntax error in Subs.php
Post by: msvdm on May 10, 2008, 06:43:30 AM
Is it possible somebody to explane me what is this error i trying to put dropdown search box in my forum and we discussing and trying in smfhelper but i getting this error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')'  in /home/my/public_html/forum/Sources/Subs.php on line 4021
Title: Re: parse error, syntax error in Subs.php
Post by: Sarge on May 10, 2008, 08:16:48 AM
What is the code you are using for the dropdown search box?
Title: Re: parse error, syntax error in Subs.php
Post by: msvdm on May 10, 2008, 10:33:57 AM
everything is here Link (http://www.smfhelper.info/forum/index.php/topic,2745.msg24760.html#msg24760)
Title: Re: parse error, syntax error in Subs.php
Post by: karlbenson on May 15, 2008, 09:59:43 PM
FIND
'onclick' => 'return overlay(this, \'subcontent\',\'bottom\')'
'img' => '<img src="', $settings['images_url'], '/search_down.gif" width="10" height="10" />'

REPLACE
'onclick' => 'return overlay(this, \'subcontent\',\'bottom\')',
'img' => '<img src="', $settings['images_url'], '/search_down.gif" width="10" height="10" />',


Both needed , at the end of each line.