fix: 405 error on schedule upload/edit

- Edit.vue: move _method PUT from Inertia options to FormData (Inertia v2 ignores it in options)
- Upload.vue: add forceFormData: true for reliable multipart/form-data
- AccessCheck: add logging when abort() is triggered with non-200 code
- UploadSchedulesController: add request logging for diagnostics
- php.ini: increase max_file_uploads from 20 to 50 for bulk uploads
This commit is contained in:
F4ilji
2026-09-18 01:32:34 +05:00
parent bf77cb634c
commit cc08cdbc97
5 changed files with 26 additions and 1 deletions
@@ -440,6 +440,7 @@ export default {
});
this.$inertia.post(route('dashboard.schedules.upload.store'), formData, {
forceFormData: true,
preserveScroll: true,
onError: (errors) => {
this.errors = { ...errors };