Announcement

Collapse
No announcement yet.

Thread Views

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

  • Thread Views

    URL: http://www.pgnx.net/forums
    PHP: 4.0.6
    MYSQL 3.23.36
    OS: Linux
    Error: Thread Views Not Adding up
    Hacked: No
    PHP Info Page: http://www.pgnx.net/ok.php

    Um.. If no idea why it's doing this, what database table is responsible for this?

  • #2
    Users Browsing MalFunction

    URL: http://www.pgnx.net/forums
    PHP: 4.0.6
    MYSQL 3.23.36
    OS: Linux
    Error: Users Browsing MalFunction, Only shows that person.
    Hacked: No
    PHP Info Page: http://www.pgnx.net/ok.php

    Um.. If no idea why it's doing this, what database table is responsible for this?

    Comment


    • #3
      Open functions.php, and replace this line:
      Code:
      $noshutdownfunc = 0; // #CHANGE ME IF YOU CAN'T USE register_shutdown_function
      (line 3 or 4)
      With this:
      Code:
      $noshutdownfunc = 1;
      If it works it should fix your other problem as well.
      Chen Avinadav
      Better to remain silent and be thought a fool than to speak out and remove all doubt.

      גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

      Comment


      • #4
        OMG, Thanks a lot man. Their both fixed.

        But now on some threads it has like Replies: 32, Views: 1.. is there any way to change this?

        Comment


        • #5
          Originally posted by Coolj
          But now on some threads it has like Replies: 32, Views: 1.. is there any way to change this?
          Run this SQL query:
          Code:
          UPDATE thread SET views = IF(replycount > views, replycount, views);
          Chen Avinadav
          Better to remain silent and be thought a fool than to speak out and remove all doubt.

          גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

          Comment


          • #6
            Thanks, it was fixed.

            This starting occuring recently though, and at the same time this happened another php script I run started messing up.

            Is there anything I can tell my host? Why this happened, so he can understand the other problem as well?

            Comment


            • #7
              Basically you couldn't use shut down functions with PHP anymore. I don't know why, I never thought it's a configuration setting.
              Chen Avinadav
              Better to remain silent and be thought a fool than to speak out and remove all doubt.

              גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

              Comment


              • #8
                We are running Plesk, is there any way he can allow the server to use php shut down functions?

                Comment

                Loading...
                Working...
                X