Advertisement:

Author Topic: parse error, syntax error in Subs.php  (Read 2026 times)

Offline msvdm

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
parse error, syntax error in Subs.php
« 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

Offline Sarge

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,209
  • Gender: Male
    • Zëri YT!
Re: parse error, syntax error in Subs.php
« Reply #1 on: May 10, 2008, 08:16:48 AM »
What is the code you are using for the dropdown search box?
    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Offline msvdm

  • Semi-Newbie
  • *
  • Posts: 84
  • Gender: Male
Re: parse error, syntax error in Subs.php
« Reply #2 on: May 10, 2008, 10:33:57 AM »
everything is here Link

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: parse error, syntax error in Subs.php
« Reply #3 on: May 15, 2008, 09:59:43 PM »
FIND
Code: [Select]
'onclick' => 'return overlay(this, \'subcontent\',\'bottom\')'
'img' => '<img src="', $settings['images_url'], '/search_down.gif" width="10" height="10" />'
REPLACE
Code: [Select]
'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.