Technote Details :: I get an error incrementing the download counter field

Issue

When trying to download a file from a page configured using a download limit I get an error message:

Error incrementing the field!

Reason

This happens because the value in the table column storing the download limit could not be incremented. This has several possible causes:

  1. The table column you specified in the user interface has been changed and cannot be matched by the code, when trying to run the SQL query to increment it.
  2. The column has a NULL value or a value that is not numeric.
  3. The column type is not numeric.

 

Solution

There are several solutions to this problem:

  1. Edit the Download file server behavior on the site page in Dreamweaver and check if the selected field is correct.
  2. Open the database table in the administration application and check out the column type and initial value. Make sure you have an integer type field with a numeric value as default.

 


Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.