Rate this article

File Upload does not return error, but it does not perform the task

Rating: 0.0/5 (0 votes cast)

Issue

When I try to upload a file to the server and save its name in a database using an Insert Transaction, all seems to work fine - no errors returned - but either the file is missing from the server, or it isn't saved into the database.

Reason

This happens because the insert transaction also contains the table primary key.

Solution

 

To solve this issue you must remove the primary key column from the insert transaction:

  1. From the Server Behaviors tab double-click the Insert transaction.
  2. In the Files tab select the primary key column and click the Minus(-) button.

 

Adobe

XMS Systems
ionCube Online PHP Encoder
Free PositiveSSL and WhoisGuard with Every Domain Purchase

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company