Parse error: syntax error, unexpected T_STRING in search.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    Parse error: syntax error, unexpected T_STRING in search.php

    Help please!

    I was trying to allow Preview text on search results only and opened search.php with notepad, made a change, uploaded, got strange error, removed change, uploaded and now I get the error below on any search.

    Parse error: syntax error, unexpected T_STRING in /home/ozgrid/public_html/forum/search.php on line 819

    On line 819 is this

    PHP Code:
    $displayCommon "<p class="j">$vbphrase[words_very_common] : <b>" implode('</b>, <b>'htmlspecialchars_uni($display['common'])) . '</b></p>'
    What have I done and how do I fix it. Thanks
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    We do not provide support for customizations like these. Please download the vbulletin .zip file for the versio you are running, then unpack it and only upload the file search.php which you changed. Overwriting the one online.

    This should fix it.

    Comment

    • Guest

      #3
      Ok, thanks have done and all is well.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎