Error in Quick Replay

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arabhw
    Member
    • Jun 2002
    • 46

    Error in Quick Replay

    After writing in Quick Replay, I got this error:
    Warning: Unexpected character in input: '' (ASCII=16) state=1 in /home/arabhar/public_html/newreply.php on line 347

    What is the solution for this problem?
    Thanks a lot in advance
  • George L
    Former vBulletin Support
    • May 2000
    • 32996
    • 3.8.x

    #2
    Originally posted by arabhw
    After writing in Quick Replay, I got this error:
    Warning: Unexpected character in input: '' (ASCII=16) state=1 in /home/arabhar/public_html/newreply.php on line 347

    What is the solution for this problem?
    Thanks a lot in advance
    what version of php are you using ? can you post your phpinfo.php url
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment

    • arabhw
      Member
      • Jun 2002
      • 46

      #3
      I Found the problem, I sloved it, but I don't feel safe.

      The code in line 347:
      if ($threadinfo[replycount]==0) {

      I check the original newreply.php I Found the line like this:

      if ($threadinfo[replycount]%10==0) {


      I changed the  to %10
      After saving it, it changed by it self to: 
      So kept the code like this
      if ($threadinfo[replycount]==0) {
      It worked fine, But I don't feel safe.

      Comment

      • George L
        Former vBulletin Support
        • May 2000
        • 32996
        • 3.8.x

        #4
        Originally posted by arabhw
        I Found the problem, I sloved it, but I don't feel safe.

        The code in line 347:
        if ($threadinfo[replycount]==0) {

        I check the original newreply.php I Found the line like this:

        if ($threadinfo[replycount]%10==0) {


        I changed the  to %10
        After saving it, it changed by it self to: 
        So kept the code like this
        if ($threadinfo[replycount]==0) {
        It worked fine, But I don't feel safe.
        what are you editing php files with ? i'd reupload unedited original php vB files over your existing ones as you probably used a txt editor not suited to php code
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment

        • arabhw
          Member
          • Jun 2002
          • 46

          #5
          Thanks a lot, I'm using the CP editor of my website.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...