質問編集履歴

2

修正

2018/07/11 03:42

投稿

masateru2
masateru2

スコア39

test CHANGED
File without changes
test CHANGED
@@ -26,6 +26,142 @@
26
26
 
27
27
 
28
28
 
29
+ このエラー見た感じファイルがない?
30
+
31
+ ```
32
+
33
+ xhrでのエラー
34
+
35
+ {readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}
36
+
37
+ abort
38
+
39
+ :
40
+
41
+ ƒ (a)
42
+
43
+ always
44
+
45
+ :
46
+
47
+ ƒ ()
48
+
49
+ catch
50
+
51
+ :
52
+
53
+ ƒ (a)
54
+
55
+ done
56
+
57
+ :
58
+
59
+ ƒ ()
60
+
61
+ fail
62
+
63
+ :
64
+
65
+ ƒ ()
66
+
67
+ getAllResponseHeaders
68
+
69
+ :
70
+
71
+ ƒ ()
72
+
73
+ getResponseHeader
74
+
75
+ :
76
+
77
+ ƒ (a)
78
+
79
+ overrideMimeType
80
+
81
+ :
82
+
83
+ ƒ (a)
84
+
85
+ pipe
86
+
87
+ :
88
+
89
+ ƒ ()
90
+
91
+ progress
92
+
93
+ :
94
+
95
+ ƒ ()
96
+
97
+ promise
98
+
99
+ :
100
+
101
+ ƒ (a)
102
+
103
+ readyState
104
+
105
+ :
106
+
107
+ 4
108
+
109
+ responseJSON
110
+
111
+ :
112
+
113
+ {message: "Class 'App\Http\Controllers\Varidator' not found", exception: "Symfony\Component\Debug\Exception\FatalThrowableError", file: "/Users/kyoshida/Desktop/laravel0619/AjaxCRUD/app/Http/Controllers/PostController.php", line: 23, trace: Array(52)}
114
+
115
+ responseText
116
+
117
+ :
118
+
119
+ "{↵ "message": "Class 'App\Http\Controllers\Varidator' not found",↵ "exception": "Symfony\Component\Debug\Exception\FatalThrowableError",↵ "file": "/Users/kyoshida/Desktop/laravel0619/AjaxCRUD/app/Http/Controllers/PostController.php",↵ "line": 23,↵ "trace": [↵ {↵ "function": "addPost",↵ "class": "App\Http\Controllers\PostController",↵ "type": "->"↵ },↵ {↵ "file": "/Users/kyoshida/Desktop/laravel0619/AjaxCRUD/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",↵ "line": 54,↵ "function": "call_user_func_array"↵ },↵ {↵ "file": "/Users/kyoshida/Desktop/laravel0619/AjaxCRUD/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",↵ "line": 45,↵ "function": "callAction",↵ "class": "Illuminate\Routing\Controller",↵ "type": "->"↵ },↵ {↵ "file": "/Users/kyoshida/Desktop/laravel0619/AjaxCRUD/vendor/laravel/framework/src/Illuminate/Routing/Route.php",↵ "line": 212,↵ "function": "dispatch",↵ "class": "Illuminate\Routing\ControllerDispatcher",↵ "type": "->"↵ },↵ {↵ "file":
120
+
121
+ :
122
+
123
+ ƒ (a,b)
124
+
125
+ state
126
+
127
+ :
128
+
129
+ ƒ ()
130
+
131
+ status
132
+
133
+ :
134
+
135
+ 500
136
+
137
+ statusCode
138
+
139
+ :
140
+
141
+ ƒ (a)
142
+
143
+ statusText
144
+
145
+ :
146
+
147
+ "Internal Server Error"
148
+
149
+ then
150
+
151
+ :
152
+
153
+ ƒ (b,d,e)
154
+
155
+ __proto__
156
+
157
+ :
158
+
159
+ Object
160
+
161
+ ```
162
+
163
+
164
+
29
165
  ```php
30
166
 
31
167
  //index.blade.php

1

っd

2018/07/11 03:42

投稿

masateru2
masateru2

スコア39

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- Title Bodyの中身をデバッグで調べてところ中身が入っていることは確認できたので、POSTする段階でエラーが起きていると思われます
7
+ Title Bodyの中身をデバッグで調べてところ中身が確認できなかったのですがデータの受け渡しの書き方からまちがっているのですかね?POSTする段階でエラーが起きていると思われます
8
8
 
9
9
  ```
10
10