MultipleFileUpload (shorter MFU) is an add-on that makes uploading thousands of huge files piece of cake. Just 4 simple steps and you will not need to deal with chunking, autentization of uploads or browser compatibility.
Thanks to multi-backend design you can change your file storage just by changing line in documentation. Currently allows you to pick up one of these storages SQLite3 (default), SQLite and Dibi (MySQL, PostgreSQL, MSSql, …).
This add-on also allows you to change UI library just by changing one config property. Currently are supported PlUpload, Uploadify, SwfUpload and standard HTML4 form fields. You can add more interfaces – than the best supported for client's browser will be automatically chosen.
More on the addon page: https://addons.nette.org/…lefileupload
released version 1.1.0
- merged two main repos Ciki/MultipleFileUpload and jkuchar/MultipleFileUpload
- cleaned code
- updated docs
- updated JS code to nette.ajax.js insted of nette-ajax-form.js
- initJS.js → initJS.latte
- removed jquery.liverquery dependency
- [BC] removed MFU version from code
- Support for SQLite3
- The most current plupload
- Support for Nette 2.0
hi i found my mistake. the problem was with db connection
i edit bootstrap.php like this:
// Setup MultipleFileUpload $db = new Nette\Database\Connection('mysql:host=127.0.0.1;dbname=database_name', 'root', ''); MultipleFileUpload\MultipleFileUpload::register(); MultipleFileUpload\MultipleFileUpload::getUIRegistrator() ->clear() ->register('MultipleFileUpload\UI\Uploadify'); MultipleFileUpload\MultipleFileUpload::setQueuesModel( new MultipleFileUpload\Model\NetteDatabase\Queues( new Nette\Database\Context($db) ) );