Announcement

Collapse
No announcement yet.

Oh no! help!! A variant of the same bug has shown!

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

  • Oh no! help!! A variant of the same bug has shown!

    First, the "View count" stopped updating.


    NOW, the #downloads for a file attachment has also stopped updating!


    Help please...
    Last edited by SC_Sniper; Fri 24 Aug '01, 8:05pm.

  • #2
    In attachment.php replace
    Code:
    if ($noshutdownfunc) {
      $DB_site->query("UPDATE attachment SET counter=counter+1 WHERE attachmentid='$attachmentid'");
    } else {
      $shutdownqueries[]="UPDATE LOW_PRIORITY attachment SET counter=counter+1 WHERE attachmentid='$attachmentid'";
    }
    with
    Code:
      $DB_site->query("UPDATE attachment SET counter=counter+1 WHERE attachmentid='$attachmentid'");

    Comment


    • #3
      Thank you! It works again...

      Comment

      Related Topics

      Collapse

      Working...
      X