Ok I see what the problem was.
The first time you tried to upload it, it stored the hash then tried to store the comment but failed due to some mysql sytanx error. You must of put some characters in the comment that it didn't like (apparently it doesn't like double quotes " try using just single quote ' ) Then you tried it again with a different filename but the hash is already in the db so changing the name makes so difference, the hash of the content is still the same so it rejected your 2nd attempt.
I need to implement a transaction rollback in the upload workflow. Another item on the todo list. :rolleyes: Gotta fix that double quote thing too. :sweat:
For the time being just try uploading it without any comments then if it succeeds you can try and add comments to it.
The first time you tried to upload it, it stored the hash then tried to store the comment but failed due to some mysql sytanx error. You must of put some characters in the comment that it didn't like (apparently it doesn't like double quotes " try using just single quote ' ) Then you tried it again with a different filename but the hash is already in the db so changing the name makes so difference, the hash of the content is still the same so it rejected your 2nd attempt.
I need to implement a transaction rollback in the upload workflow. Another item on the todo list. :rolleyes: Gotta fix that double quote thing too. :sweat:
For the time being just try uploading it without any comments then if it succeeds you can try and add comments to it.