Advertisement
AbdulMuttaqin

UMKM BOGORKAB .ENV

Mar 9th, 2020
1,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.81 KB | None | 0 0
  1. Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
  2. Call to a member function move() on null
  3. COPY
  4. Application frames (1) All frames (1)
  5. 0
  6. Symfony\Component\Debug\Exception\FatalThrowableError
  7. …/app/Http/Controllers/Management/UmkmBlogsController.php63
  8. /var/www/html/laravel/app/Http/Controllers/Management/UmkmBlogsController.php
  9. *
  10. * @return void
  11. */
  12. public function edit($id) {
  13. return view("management.blogs.form", [
  14. "activeMenu" => "blogs",
  15. "formAction" => "management/blogs/update",
  16. "pageTitle" => "Edit Artikel",
  17. "current" => UmkmBlogs::findOrFail($id)
  18. ]);
  19. }
  20.  
  21. /**
  22. * [store description]
  23. * @return [type] [description]
  24. */
  25. public function store(Request $request) {
  26. $file = $request->file('picture');
  27. //upload file
  28. $file->move('uploads/blogs/',$file->getClientOriginalName());
  29.  
  30. UmkmBlogs::create([
  31. "umkm_id" => Auth::user()->id,
  32. "title" => $request->title,
  33. "seotitle" => Str::slug($request->title),
  34. "content" => $request->content,
  35. "picture" => $file->getClientOriginalName(),
  36. "view" => 0
  37. ]);
  38.  
  39. return redirect('/management/blogs');
  40. }
  41.  
  42. /**
  43. * Update
  44. */
  45. public function update(Request $request) {
  46. $form = UmkmBlogs::findOrFail($request->id);
  47.  
  48. $form->title = $request->title;
  49. Arguments
  50. "Call to a member function move() on null"
  51. Environment & details:
  52. GET Data empty
  53. POST Data
  54. _token
  55. "UFr4qv0ggspPzk3UXDW7VG3PMTQsmN2UaheZ6eRg"
  56. title
  57. ""
  58. content
  59. "TP LINK TL-WR849N - Remote Code Execution"
  60. Files
  61. picture
  62. array:5 [▶]
  63. Cookies
  64. XSRF-TOKEN
  65. "eyJpdiI6Ilwvc0ZnSDY0YnMwVDRFVmRVN1wvbzVXdz09IiwidmFsdWUiOiJGWDIzNFBQXC9iMHJXRTkzNmU1bG1FZXVPb3ZpaVwvejNkRWNCc2VjQkh5V1d1Q2k5cGF2ek0rSmt4MHJDV1NoeFMiLCJtYWMiOiIx ▶"
  66. laravel_session
  67. "eyJpdiI6IldWTDNncHgza2NnOGtKdjBkY1NtWUE9PSIsInZhbHVlIjoiUTd0QWxrOXlHY1VlWWgwd0ROazdodzJ6T0ZFMXExeHRKTCtFZmpvU0lDVjUra1V2SXVBVFo4Mmo3S2VmbksyUiIsIm1hYyI6ImRhMTg1 ▶"
  68. Session empty
  69. Server/Request Data
  70. REDIRECT_UNIQUE_ID
  71. "XmY@KjwyJh2H81yMefg62QAAAAI"
  72. REDIRECT_HTTPS
  73. "on"
  74. REDIRECT_SSL_TLS_SNI
  75. "umkm.bogorkab.go.id"
  76. REDIRECT_STATUS
  77. "200"
  78. UNIQUE_ID
  79. "XmY@KjwyJh2H81yMefg62QAAAAI"
  80. HTTPS
  81. "on"
  82. SSL_TLS_SNI
  83. "umkm.bogorkab.go.id"
  84. SSL_SERVER_S_DN_C
  85. "ID"
  86. SSL_SERVER_S_DN_ST
  87. "Jawa Barat"
  88. SSL_SERVER_S_DN_L
  89. "Bogor"
  90. SSL_SERVER_S_DN_O
  91. "Dinas komunikasi dan informatika kabupaten bogor"
  92. SSL_SERVER_S_DN_OU
  93. "seksi keamanan informasi"
  94. SSL_SERVER_S_DN_CN
  95. "*.bogorkab.go.id"
  96. SSL_SERVER_I_DN_C
  97. "US"
  98. SSL_SERVER_I_DN_O
  99. "DigiCert Inc"
  100. SSL_SERVER_I_DN_CN
  101. "DigiCert SHA2 Secure Server CA"
  102. SSL_SERVER_SAN_DNS_0
  103. "*.bogorkab.go.id"
  104. SSL_SERVER_SAN_DNS_1
  105. "bogorkab.go.id"
  106. SSL_VERSION_INTERFACE
  107. "mod_ssl/2.4.6"
  108. SSL_VERSION_LIBRARY
  109. "OpenSSL/1.0.2k-fips"
  110. SSL_PROTOCOL
  111. "TLSv1.2"
  112. SSL_SECURE_RENEG
  113. "true"
  114. SSL_COMPRESS_METHOD
  115. "NULL"
  116. SSL_CIPHER
  117. "ECDHE-RSA-AES128-GCM-SHA256"
  118. SSL_CIPHER_EXPORT
  119. "false"
  120. SSL_CIPHER_USEKEYSIZE
  121. "128"
  122. SSL_CIPHER_ALGKEYSIZE
  123. "128"
  124. SSL_CLIENT_VERIFY
  125. "NONE"
  126. SSL_SERVER_M_VERSION
  127. "3"
  128. SSL_SERVER_M_SERIAL
  129. "06C1F5847706F91027C8F0FF50AC102A"
  130. SSL_SERVER_V_START
  131. "Oct 8 00:00:00 2019 GMT"
  132. SSL_SERVER_V_END
  133. "Oct 14 12:00:00 2021 GMT"
  134. SSL_SERVER_S_DN
  135. "CN=*.bogorkab.go.id,OU=seksi keamanan informasi,O=Dinas komunikasi dan informatika kabupaten bogor,L=Bogor,ST=Jawa Barat,C=ID"
  136. SSL_SERVER_I_DN
  137. "CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US"
  138. SSL_SERVER_A_KEY
  139. "rsaEncryption"
  140. SSL_SERVER_A_SIG
  141. "sha256WithRSAEncryption"
  142. SSL_SESSION_ID
  143. "cb04635f0b41feb3dedf3925fcc1ba7b299e201d4472caa4fb4c71fa25f54278"
  144. SSL_SESSION_RESUMED
  145. "Resumed"
  146. HTTP_HOST
  147. "umkm.bogorkab.go.id"
  148. HTTP_CONNECTION
  149. "keep-alive"
  150. CONTENT_LENGTH
  151. "551"
  152. HTTP_CACHE_CONTROL
  153. "max-age=0"
  154. HTTP_ORIGIN
  155. "https://umkm.bogorkab.go.id"
  156. HTTP_UPGRADE_INSECURE_REQUESTS
  157. "1"
  158. HTTP_DNT
  159. "1"
  160. CONTENT_TYPE
  161. "multipart/form-data; boundary=----WebKitFormBoundary5tOYYZlpnOLux69K"
  162. HTTP_USER_AGENT
  163. "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
  164. HTTP_ACCEPT
  165. "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
  166. HTTP_REFERER
  167. "https://umkm.bogorkab.go.id/management/blogs/write"
  168. HTTP_ACCEPT_ENCODING
  169. "gzip, deflate, br"
  170. HTTP_ACCEPT_LANGUAGE
  171. "en-US,en;q=0.9,id;q=0.8,la;q=0.7,af;q=0.6,mt;q=0.5,ms;q=0.4,fr;q=0.3,de;q=0.2,pt;q=0.1"
  172. HTTP_COOKIE
  173. "XSRF-TOKEN=eyJpdiI6Ilwvc0ZnSDY0YnMwVDRFVmRVN1wvbzVXdz09IiwidmFsdWUiOiJGWDIzNFBQXC9iMHJXRTkzNmU1bG1FZXVPb3ZpaVwvejNkRWNCc2VjQkh5V1d1Q2k5cGF2ek0rSmt4MHJDV1NoeFMiL ▶"
  174. PATH
  175. "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
  176. SERVER_SIGNATURE
  177. ""
  178. SERVER_SOFTWARE
  179. "Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.16"
  180. SERVER_NAME
  181. "umkm.bogorkab.go.id"
  182. SERVER_ADDR
  183. "192.168.113.150"
  184. SERVER_PORT
  185. "443"
  186. REMOTE_ADDR
  187. "115.178.222.149"
  188. DOCUMENT_ROOT
  189. "/var/www/html/laravel/public"
  190. REQUEST_SCHEME
  191. "https"
  192. CONTEXT_PREFIX
  193. ""
  194. CONTEXT_DOCUMENT_ROOT
  195. "/var/www/html/laravel/public"
  196. SERVER_ADMIN
  197. "root@localhost"
  198. SCRIPT_FILENAME
  199. "/var/www/html/laravel/public/index.php"
  200. REMOTE_PORT
  201. "57190"
  202. REDIRECT_URL
  203. "/management/blogs/store"
  204. GATEWAY_INTERFACE
  205. "CGI/1.1"
  206. SERVER_PROTOCOL
  207. "HTTP/1.1"
  208. REQUEST_METHOD
  209. "POST"
  210. QUERY_STRING
  211. ""
  212. REQUEST_URI
  213. "/management/blogs/store"
  214. SCRIPT_NAME
  215. "/index.php"
  216. PHP_SELF
  217. "/index.php"
  218. REQUEST_TIME_FLOAT
  219. 1583758890.321
  220. REQUEST_TIME
  221. 1583758890
  222. APP_NAME
  223. "Laravel"
  224. APP_ENV
  225. "local"
  226. APP_KEY
  227. "base64:QUeN1XVZDRZfgj6ELNVYtoHSe5Jmlp8M0cDASgG0pXk="
  228. APP_DEBUG
  229. "true"
  230. APP_URL
  231. "http://localhost:8000"
  232. LOG_CHANNEL
  233. "stack"
  234. DB_CONNECTION
  235. "mysql"
  236. DB_HOST
  237. "localhost"
  238. DB_PORT
  239. "3306"
  240. DB_DATABASE
  241. "umkm_3"
  242. DB_USERNAME
  243. "root"
  244. DB_PASSWORD
  245. "@B0g0rk4b2019"
  246. BROADCAST_DRIVER
  247. "log"
  248. CACHE_DRIVER
  249. "file"
  250. QUEUE_CONNECTION
  251. "sync"
  252. SESSION_DRIVER
  253. "file"
  254. SESSION_LIFETIME
  255. "120"
  256. REDIS_HOST
  257. "127.0.0.1"
  258. REDIS_PASSWORD
  259. "null"
  260. REDIS_PORT
  261. "6379"
  262. MAIL_DRIVER
  263. "smtp"
  264. MAIL_HOST
  265. "smtp.mailtrap.io"
  266. MAIL_PORT
  267. "2525"
  268. MAIL_USERNAME
  269. "6fefec77f03a8a"
  270. MAIL_PASSWORD
  271. "c7945a67d049cd"
  272. MAIL_ENCRYPTION
  273. "null"
  274. PUSHER_APP_ID
  275. ""
  276. PUSHER_APP_KEY
  277. ""
  278. PUSHER_APP_SECRET
  279. ""
  280. PUSHER_APP_CLUSTER
  281. "mt1"
  282. MIX_PUSHER_APP_KEY
  283. ""
  284. MIX_PUSHER_APP_CLUSTER
  285. "mt1"
  286. TWITTER_ID
  287. ""
  288. TWITTER_SECRET
  289. ""
  290. TWITTER_URL
  291. ""
  292. FB_ID
  293. ""
  294. FB_SECRET
  295. ""
  296. FB_URL
  297. ""
  298. GOOGLE_ID
  299. "394341693265-716ctbs793g2v1u7etm0607eph9ms40b.apps.googleusercontent.com"
  300. GOOGLE_SECRET
  301. "iV88QufdDXtOSWkVxQ2mej1k"
  302. GOOGLE_URL
  303. "http://localhost:8000/auth/google/callback"
  304. Environment Variables
  305. APP_NAME
  306. "Laravel"
  307. APP_ENV
  308. "local"
  309. APP_KEY
  310. "base64:QUeN1XVZDRZfgj6ELNVYtoHSe5Jmlp8M0cDASgG0pXk="
  311. APP_DEBUG
  312. "true"
  313. APP_URL
  314. "http://localhost:8000"
  315. LOG_CHANNEL
  316. "stack"
  317. DB_CONNECTION
  318. "mysql"
  319. DB_HOST
  320. "localhost"
  321. DB_PORT
  322. "3306"
  323. DB_DATABASE
  324. "umkm_3"
  325. DB_USERNAME
  326. "root"
  327. DB_PASSWORD
  328. "@B0g0rk4b2019"
  329. BROADCAST_DRIVER
  330. "log"
  331. CACHE_DRIVER
  332. "file"
  333. QUEUE_CONNECTION
  334. "sync"
  335. SESSION_DRIVER
  336. "file"
  337. SESSION_LIFETIME
  338. "120"
  339. REDIS_HOST
  340. "127.0.0.1"
  341. REDIS_PASSWORD
  342. "null"
  343. REDIS_PORT
  344. "6379"
  345. MAIL_DRIVER
  346. "smtp"
  347. MAIL_HOST
  348. "smtp.mailtrap.io"
  349. MAIL_PORT
  350. "2525"
  351. MAIL_USERNAME
  352. "6fefec77f03a8a"
  353. MAIL_PASSWORD
  354. "c7945a67d049cd"
  355. MAIL_ENCRYPTION
  356. "null"
  357. PUSHER_APP_ID
  358. ""
  359. PUSHER_APP_KEY
  360. ""
  361. PUSHER_APP_SECRET
  362. ""
  363. PUSHER_APP_CLUSTER
  364. "mt1"
  365. MIX_PUSHER_APP_KEY
  366. ""
  367. MIX_PUSHER_APP_CLUSTER
  368. "mt1"
  369. TWITTER_ID
  370. ""
  371. TWITTER_SECRET
  372. ""
  373. TWITTER_URL
  374. ""
  375. FB_ID
  376. ""
  377. FB_SECRET
  378. ""
  379. FB_URL
  380. ""
  381. GOOGLE_ID
  382. "394341693265-716ctbs793g2v1u7etm0607eph9ms40b.apps.googleusercontent.com"
  383. GOOGLE_SECRET
  384. "iV88QufdDXtOSWkVxQ2mej1k"
  385. GOOGLE_URL
  386. "http://localhost:8000/auth/google/callback"
  387. Registered Handlers
  388. 0. Whoops\Handler\PrettyPageHandler
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement