ZenphotoCMS Forum
Problem with jQuery uploads? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Problem with jQuery uploads? (/thread-9677.html)

Pages: 1 2


Problem with jQuery uploads? - Michel Gagnon - 2012-03-04

Si it's probably not needed, because if I remember correctly, those directories won't be created automatically if they are needed.

Anyway, neither phpSavePath nor upload_tmp_dir were defined. So I defined them within my php.ini file [i]and[/i] I created those folders. No change.

Two other interesting bits of information:
– I used only lowercase letters (dsc3443.jpg) : no change.
– I tried to upload two photos and create a new unpublished sub-album at the same time. The sub-album was indeed created, but no photos were uploaded. Nothing was saved in the upload_temp_dir directory, and the following was saved in the phpSavePath directory:`

file: sess_137[i]with quite a few letters at the end[/i]

content: uploadtype|s:6:"jQuery";`


Problem with jQuery uploads? - sbillard - 2012-03-04

I did look at the script. The destination of the upload should be into your "album" folder. But I do not know what intermediate storage the script might use.


Problem with jQuery uploads? - Michel Gagnon - 2012-03-04

Indeed, and that's where the sub-album was created (in /albums/people as requested). No idea about intermediate storage either. It feels like everything is uploaded "somewhere somehow", then the script does something illegal...


Problem with jQuery uploads? - sbillard - 2012-03-04

So, then, any error messages anywhere? You might also see if there is any help at http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Support


Problem with jQuery uploads? - Michel Gagnon - 2012-03-04

Error messages : nothing really. I have posted a few before, but I don't see anything significant. As if the file simply "disappeared". It seems to upload completely than stop during parsing
`(SyntaxError: JSON.parse: unexpected character)`

When I peruse through the zp-core/admin-jQuery folder, am I right to figure that `upload_form.php` and `uploader.php` are yours, while the others are from the jQuery Uploader developer?

I had looked before at the site referred to in the header of the jquery.fileupload.js file and I haven't found anything. I'll look at the discussion forum to see if, by any chance, I find anything.


Problem with jQuery uploads? - acrylian - 2012-03-04

Yes, those two files are the ones by us.


Problem with jQuery uploads? - sbillard - 2012-03-04

uploader.php contains a jquery class definition that came with the package.