Hello Guys
I'm having a problem when i try to upload an image (.JPG file) to my server.
My project is set to upload the image to a folder in the server and create a thumbnail on the fly.
When i create/edit a record and add an image (i see a thumbnail, file name and file size in the applet) then hit the save button the image field remains empty on the browser; but if i check the server the file is actually uploaded to the right folder and a th file is created with the image name, although the file size is 0 bytes. If i check the database using Navicat i can see that the image field in the database is empty.
If i try to create/edit a record and add an image, but instead of hitting the save button i hit the "Upload" link that is in the applet to add the file i get the following error SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data; thje file is uploaded to the server and an empty th file is created.
Any idea how to solve this problem?
Thanks