zxbodya / yii2-gallery-manager

93 stars 61 forks source link

$path is empty #80

Closed geantgram closed 5 years ago

geantgram commented 5 years ago

I have some issue with the ajax upload, it seems to show: Imagine\Exception\InvalidArgumentException $path is empty

Request URL: index.php?r=property%2FgalleryApi&type=property&behaviorName=galleryBehavior&galleryId=1&action=ajaxUpload

Request Method: POST Status Code: 500 Internal Server Error Remote Address: 127.0.0.1:80 Referrer Policy: no-referrer-when-downgrade Cache-Control: no-store, no-cache, must-revalidate Connection: close Content-Type: text/html; charset=UTF-8 Date: Sat, 20 Jul 2019 05:19:51 GMT Expires: Thu, 19 Nov 1981 08:52:00 GMT Pragma: no-cache Server: Apache/2.4.34 (Win64) mod_fcgid/2.3.9 Transfer-Encoding: chunked X-Debug-Duration: 502 X-Debug-Link: /index.php?r=debug%2Fdefault%2Fview&tag=5d32a4781153d X-Debug-Tag: 5d32a4781153d X-Powered-By: PHP/7.2.9

r: property/galleryApi type: property behaviorName: galleryBehavior galleryId: 1 action: ajaxUpload

gallery-image: (binary) _csrf-backend: Ch2hH0UCWqn1lezK-jKa1qMnVjgXz_0n3TIBb2IfVEFcJMJSEFEXx4-hjqO1Yqie1HhkVmSgrmGcXlNYJnwWMg==

index.php?r=property%2FgalleryApi&type=property&behaviorName=galleryBehavior&galleryId=1&action=ajaxUpload 500 (Internal Server Error) image

geantgram commented 5 years ago

wrong alert caused by php.ini (:))