Hello, I recently purchased an image hosting script and now I am getting errors with the db and I am not an expert. The issue pops up when I upload an image.
It says that the image is uploaded, but at the bottom of the upload page, I get the following error;
Database error with function: Set Image File Size
SQL: UPDATE images SET filesize= WHERE image_id=3
mySQL Says: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE image_id=3' at line 1
I have no idea what might be causing this or how to fix it. If any of you can offer advice on how to fix it, or if you know you can fix it let me know.