harish81 / digidocu

Open Source Documents Management System Built with Laravel 6
https://nandoliyaharish.gitbook.io/digidocu/
GNU General Public License v3.0
110 stars 65 forks source link

files not uploading #2

Closed prasanth22 closed 4 years ago

prasanth22 commented 4 years ago

"message": "Method Illuminate\Validation\Validator::validateFiles does not exist.", "exception": "BadMethodCallException", "file": "D:\wamp64\www\digidocument\vendor\laravel\framework\src\Illuminate\Validation\Validator.php", "line": 1197,

harish81 commented 4 years ago

Thank you for trying DigiDocu, I'll inspect this bug, and try to fix it soon

harish81 commented 4 years ago

Hi, @prasanth22 can you provide full stack-trace of errors, which helps us to inspect more. You can share ignition link( See this demo: https://freek.dev/1441-ignition-a-new-error-page-for-laravel#sharing-local-errors-on-flare)

harish81 commented 4 years ago

Hi, @prasanth22 You have created invalid validation rule for File-Type. Check your rules in Settings>>FileTypes. (The validation must be valid laravel rules like:

required|mimes:jpeg,bmp

) See: https://laravel.com/docs/6.x/validation#available-validation-rules

harish81 commented 4 years ago

@prasanth22 you have created files validation rules which is invalid.