Announcement

Collapse
No announcement yet.

Error in Quick Replay

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

  • 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

  • #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


    • #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


      • #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


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

          Comment

          Loading...
          Working...
          X