Laravel по-русски

Русское сообщество разработки на PHP-фреймворке Laravel.

Ты не вошёл. Вход тут.

#1 20.03.2018 13:17:46

CKEDITOR LARAVEL загрузка изображений

Подключил ckeditor, подключил загрузку изображений. изображение загружается но ответ получаю "Неккоректный ответ сервера"
Вот роут обработки загрузки
Route::post('/upload-image', function(
    \Illuminate\Http\Request $request,
    Illuminate\Contracts\Validation\Factory $validator
) {
    $v = $validator->make($request->all(), [
        'upload' => 'required|image',
    ]);

    $funcNum = $request->input('CKEditorFuncNum');

    if ($v->fails()) {
        return response(
            "<script>
                window.parent.CKEDITOR.tools.callFunction({$funcNum}, '', '{$v->errors()->first()}');
            </script>"
        );
    }

    $image = $request->file('upload');
    $image->store('/images/news');
    $url = asset('storage/uploads/'.$image->hashName());

    return response(
        "<script>
            window.parent.CKEDITOR.tools.callFunction({$funcNum}, '{$url}', 'Изображение успешно загружено');
        </script>"
    );
});

Что получаю в консоле
<script>
            window.parent.CKEDITOR.tools.callFunction(, 'http://jino-redo/storage/uploads/FLzTR3CTDIQpX25PBxP5L2bGS6X47nBnesHOuDLa.jpeg', 'Изображение успешно загружено');
        </script>1<link rel='stylesheet' type='text/css' property='stylesheet' href='//jino-redo/_debugbar/assets/stylesheets?v=1517837828'><script type='text/javascript' src='//jino-redo/_debugbar/assets/javascript?v=1517837828'></script><script type="text/javascript">jQuery.noConflict(true);</script>
<script type="text/javascript">
var phpdebugbar = new PhpDebugBar.DebugBar();
phpdebugbar.addTab("messages", new PhpDebugBar.DebugBar.Tab({"icon":"list-alt","title":"Messages", "widget": new PhpDebugBar.Widgets.MessagesWidget()}));
phpdebugbar.addIndicator("time", new PhpDebugBar.DebugBar.Indicator({"icon":"clock-o","tooltip":"Request Duration"}), "right");
phpdebugbar.addTab("timeline", new PhpDebugBar.DebugBar.Tab({"icon":"tasks","title":"Timeline", "widget": new PhpDebugBar.Widgets.TimelineWidget()}));
phpdebugbar.addIndicator("memory", new PhpDebugBar.DebugBar.Indicator({"icon":"cogs","tooltip":"Memory Usage"}), "right");
phpdebugbar.addTab("exceptions", new PhpDebugBar.DebugBar.Tab({"icon":"bug","title":"Exceptions", "widget": new PhpDebugBar.Widgets.ExceptionsWidget()}));
phpdebugbar.addTab("views", new PhpDebugBar.DebugBar.Tab({"icon":"leaf","title":"Views", "widget": new PhpDebugBar.Widgets.TemplatesWidget()}));
phpdebugbar.addTab("route", new PhpDebugBar.DebugBar.Tab({"icon":"share","title":"Route", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.addIndicator("currentroute", new PhpDebugBar.DebugBar.Indicator({"icon":"share","tooltip":"Route"}), "right");
phpdebugbar.addTab("queries", new PhpDebugBar.DebugBar.Tab({"icon":"database","title":"Queries", "widget": new PhpDebugBar.Widgets.LaravelSQLQueriesWidget()}));
phpdebugbar.addTab("emails", new PhpDebugBar.DebugBar.Tab({"icon":"inbox","title":"Mails", "widget": new PhpDebugBar.Widgets.MailsWidget()}));
phpdebugbar.addTab("auth", new PhpDebugBar.DebugBar.Tab({"icon":"lock","title":"Auth", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.addIndicator("auth.name", new PhpDebugBar.DebugBar.Indicator({"icon":"user","tooltip":"Auth status"}), "right");
phpdebugbar.addTab("gate", new PhpDebugBar.DebugBar.Tab({"icon":"list-alt","title":"Gate", "widget": new PhpDebugBar.Widgets.MessagesWidget()}));
phpdebugbar.addTab("session", new PhpDebugBar.DebugBar.Tab({"icon":"archive","title":"Session", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.addTab("request", new PhpDebugBar.DebugBar.Tab({"icon":"tags","title":"Request", "widget": new PhpDebugBar.Widgets.VariableListWidget()}));
phpdebugbar.setDataMap({
"messages": ["messages.messages", []],
"messages:badge": ["messages.count", null],
"time": ["time.duration_str", '0ms'],
"timeline": ["time", {}],
"memory": ["memory.peak_usage_str", '0B'],
"exceptions": ["exceptions.exceptions", []],
"exceptions:badge": ["exceptions.count", null],
"views": ["views", []],
"views:badge": ["views.nb_templates", 0],
"route": ["route", {}],
"currentroute": ["route.uri", ],
"queries": ["queries", []],
"queries:badge": ["queries.nb_statements", 0],
"emails": ["swiftmailer_mails.mails", []],
"emails:badge": ["swiftmailer_mails.count", null],
"auth": ["auth.guards", {}],
"auth.name": ["auth.names", ],
"gate": ["gate.messages", []],
"gate:badge": ["gate.count", null],
"session": ["session", {}],
"request": ["request", {}]
});
phpdebugbar.restoreState();
phpdebugbar.ajaxHandler = new PhpDebugBar.AjaxHandler(phpdebugbar);
phpdebugbar.ajaxHandler.bindToXHR();
phpdebugbar.setOpenHandler(new PhpDebugBar.OpenHandler({"url":"http:\/\/jino-redo\/_debugbar\/open"}));
phpdebugbar.addDataSet({"__meta":{"id":"68cdb34f73baf0139631a0f223d858ef","datetime":"2018-03-20 10:14:48","utime":1521540888.8583,"method":"POST","uri":"\/upload-image","ip":"127.0.0.1"},"php":{"version":"5.6.30","interface":"apache2handler"},"messages":{"count":0,"messages":[]},"time":{"start":1521540888.568,"end":1521540888.8584,"duration":0.29035496711731,"duration_str":"290.35ms","measures":[{"label":"Booting","start":1521540888.568,"relative_start":0,"end":1521540888.7977,"relative_end":1521540888.7977,"duration":0.22969603538513,"duration_str":"229.7ms","params":[],"collector":null},{"label":"Application","start":1521540888.6594,"relative_start":0.091439962387085,"end":1521540888.8584,"relative_end":4.0531158447266e-6,"duration":0.19891905784607,"duration_str":"198.92ms","params":[],"collector":null}]},"memory":{"peak_usage":14417920,"peak_usage_str":"13.75MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":0,"templates":[]},"route":{"uri":"POST upload-image","middleware":"web","uses":"Closure {#607\n  class: \"Illuminate\\Routing\\Router\"\n  this: Illuminate\\Routing\\Router {#21 \u2026}\n  parameters: {\n    $request: {\n      typeHint: \"Illuminate\\Http\\Request\"\n    }\n    $validator: {\n      typeHint: \"Illuminate\\Contracts\\Validation\\Factory\"\n    }\n  }\n  file: \"C:\\xampp\\htdocs\\project\\beauty.ua.loc-loc\\routes\\web.php\"\n  line: \"414 to 441\"\n}","namespace":"App\\Http\\Controllers","prefix":null,"where":[],"file":"\\routes\\web.php:414-441"},"queries":{"nb_statements":0,"nb_failed_statements":0,"accumulated_duration":0,"accumulated_duration_str":"0\u03bcs","statements":[]},"swiftmailer_mails":{"count":0,"mails":[]},"auth":{"guards":{"web":"array:2 [\n  \"name\" => \"batenko4@gmail.com\"\n  \"user\" => array:18 [\n    \"id\" => 1038\n    \"lastUpdater\" => \"2018-03-15 20:11:18\"\n    \"creationDate\" => 0\n    \"creationUserId\" => 0\n    \"modificationUserId\" => 0\n    \"email\" => \"batenko4@gmail.com\"\n    \"deleted\" => 0\n    \"disabled\" => 0\n    \"clientId\" => null\n    \"objectId\" => null\n    \"languageId\" => 1\n    \"lastRestoreDate\" => 0\n    \"restoreKey\" => 0\n    \"activated\" => 1\n    \"roleId\" => 1\n    \"newPassword\" => null\n    \"phone\" => \"+38(123) 456-78-90\"\n    \"hash\" => \"7xNKIjEZhgLt15OdnVabfc\"\n  ]\n]","api":"array:2 [\n  \"name\" => \"Guest\"\n  \"user\" => array:1 [\n    \"guest\" => true\n  ]\n]"},"names":"web: batenko4@gmail.com"},"gate":{"count":0,"messages":[]},"session":{"_token":"35kMzE6xSPcB35yddrDvKuV5hYDLw966sFq5emOA","login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d":"1038","_previous":"array:1 [\n  \"url\" => \"http:\/\/jino-redo\/administrator\/edit-news\"\n]","_flash":"array:2 [\n  \"old\" => []\n  \"new\" => []\n]","PHPDEBUGBAR_STACK_DATA":"[]"},"request":{"format":"html","content_type":"text\/html; charset=UTF-8","status_text":"OK","status_code":"200","request_query":"[]","request_request":"array:1 [\n  \"ckCsrfToken\" => \"jrqkcps7D6l1Vv12mCjCPR6JL8607QfuifS26jRi\"\n]","request_headers":"array:11 [\n  \"host\" => array:1 [\n    0 => \"jino-redo\"\n  ]\n  \"connection\" => array:1 [\n    0 => \"keep-alive\"\n  ]\n  \"content-length\" => array:1 [\n    0 => \"52248\"\n  ]\n  \"origin\" => array:1 [\n    0 => \"http:\/\/jino-redo\"\n  ]\n  \"user-agent\" => array:1 [\n    0 => \"Mozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/64.0.3282.186 Safari\/537.36\"\n  ]\n  \"content-type\" => array:1 [\n    0 => \"multipart\/form-data; boundary=----WebKitFormBoundaryTwsKq5Ku7HESCcaK\"\n  ]\n  \"accept\" => array:1 [\n    0 => \"*\/*\"\n  ]\n  \"referer\" => array:1 [\n    0 => \"http:\/\/jino-redo\/administrator\/edit-news\"\n  ]\n  \"accept-encoding\" => array:1 [\n    0 => \"gzip, deflate\"\n  ]\n  \"accept-language\" => array:1 [\n    0 => \"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7\"\n  ]\n  \"cookie\" => array:1 [\n    0 => \"remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IlpLek5uU3J3Y2tHTThveUJ6VHU5REE9PSIsInZhbHVlIjoibG9sNnI2TVRSZURDbVhBVTBRV2hrY28yUVRGdkhqeDZmcno2YmFKRjBRN1FTbzQ2QlZZeThMZk1QdEVKXC80RzN0M3hzYll6aWRqN1dBM2lmSzVLMGRaS1wvVE13NGFzakk2dUpyVTdJNjMzYz0iLCJtYWMiOiIwOTY3MTcwMzc5NmQyMTYzMmQ3YjU0NTk2OTg2MTZkNTRhM2NjNTMzYmVkY2NiZGI2NDY5N2UyYjA0NDRlNTVlIn0%3D; ckCsrfToken=jrqkcps7D6l1Vv12mCjCPR6JL8607QfuifS26jRi; XSRF-TOKEN=eyJpdiI6InRORlc0MFwvWWZydlpvNUNZR09kTDRRPT0iLCJ2YWx1ZSI6IlUxbFdqK3UwTGVlbENBbUwrUUYxdWtuYjZGaTNYNGVEXC9tV1JlRWN0VFBMTkJYTVNmRFYzMVhIcUMwV0F1WlJXVzJ0bFhiZmQ4NEhhMEpXS015S25FZz09IiwibWFjIjoiOWM3MTI0Mjk0NmFkOTE2NGE4OGI3MzgwNWQ5MDIzYWVjNTQ2NGVlM2MwZjk1OThkZDU5OTAyNDIxZTVmMWZjNCJ9; laravel_session=eyJpdiI6IjRDakRIbDVVWHlyc2o0TGhEZm03dVE9PSIsInZhbHVlIjoiTUh2NmNPRU1MTUUzdmFEUU1zTm9MbkpRMk5heHd1czJMSHF2QzJVZVpTQUd5VktkZEhON0x3NXF3SGV4RjdOdU5vXC9cL09tWWpBXC93aTltNmdjeUx2bVE9PSIsIm1hYyI6Ijc3NTcyNTRmZGFiNTU4M2ExYzkwMzljZDA4M2U4YmI5ZjQ5ZTQ1YWNmYjEzYzY5MmE0OGQ0N2YyOGVlZWVhZDYifQ%3D%3D\"\n  ]\n]","request_server":"array:52 [\n  \"REDIRECT_MIBDIRS\" => \"C:\/xampp\/php\/extras\/mibs\"\n  \"REDIRECT_MYSQL_HOME\" => \"\\xampp\\mysql\\bin\"\n  \"REDIRECT_OPENSSL_CONF\" => \"C:\/xampp\/apache\/bin\/openssl.cnf\"\n  \"REDIRECT_PHP_PEAR_SYSCONF_DIR\" => \"\\xampp\\php\"\n  \"REDIRECT_PHPRC\" => \"\\xampp\\php\"\n  \"REDIRECT_TMP\" => \"\\xampp\\tmp\"\n  \"REDIRECT_STATUS\" => \"200\"\n  \"MIBDIRS\" => \"C:\/xampp\/php\/extras\/mibs\"\n  \"MYSQL_HOME\" => \"\\xampp\\mysql\\bin\"\n  \"OPENSSL_CONF\" => \"C:\/xampp\/apache\/bin\/openssl.cnf\"\n  \"PHP_PEAR_SYSCONF_DIR\" => \"\\xampp\\php\"\n  \"PHPRC\" => \"\\xampp\\php\"\n  \"TMP\" => \"\\xampp\\tmp\"\n  \"HTTP_HOST\" => \"jino-redo\"\n  \"HTTP_CONNECTION\" => \"keep-alive\"\n  \"CONTENT_LENGTH\" => \"52248\"\n  \"HTTP_ORIGIN\" => \"http:\/\/jino-redo\"\n  \"HTTP_USER_AGENT\" => \"Mozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/64.0.3282.186 Safari\/537.36\"\n  \"CONTENT_TYPE\" => \"multipart\/form-data; boundary=----WebKitFormBoundaryTwsKq5Ku7HESCcaK\"\n  \"HTTP_ACCEPT\" => \"*\/*\"\n  \"HTTP_REFERER\" => \"http:\/\/jino-redo\/administrator\/edit-news\"\n  \"HTTP_ACCEPT_ENCODING\" => \"gzip, deflate\"\n  \"HTTP_ACCEPT_LANGUAGE\" => \"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7\"\n  \"HTTP_COOKIE\" => \"remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IlpLek5uU3J3Y2tHTThveUJ6VHU5REE9PSIsInZhbHVlIjoibG9sNnI2TVRSZURDbVhBVTBRV2hrY28yUVRGdkhqeDZmcno2YmFKRjBRN1FTbzQ2QlZZeThMZk1QdEVKXC80RzN0M3hzYll6aWRqN1dBM2lmSzVLMGRaS1wvVE13NGFzakk2dUpyVTdJNjMzYz0iLCJtYWMiOiIwOTY3MTcwMzc5NmQyMTYzMmQ3YjU0NTk2OTg2MTZkNTRhM2NjNTMzYmVkY2NiZGI2NDY5N2UyYjA0NDRlNTVlIn0%3D; ckCsrfToken=jrqkcps7D6l1Vv12mCjCPR6JL8607QfuifS26jRi; XSRF-TOKEN=eyJpdiI6InRORlc0MFwvWWZydlpvNUNZR09kTDRRPT0iLCJ2YWx1ZSI6IlUxbFdqK3UwTGVlbENBbUwrUUYxdWtuYjZGaTNYNGVEXC9tV1JlRWN0VFBMTkJYTVNmRFYzMVhIcUMwV0F1WlJXVzJ0bFhiZmQ4NEhhMEpXS015S25FZz09IiwibWFjIjoiOWM3MTI0Mjk0NmFkOTE2NGE4OGI3MzgwNWQ5MDIzYWVjNTQ2NGVlM2MwZjk1OThkZDU5OTAyNDIxZTVmMWZjNCJ9; laravel_session=eyJpdiI6IjRDakRIbDVVWHlyc2o0TGhEZm03dVE9PSIsInZhbHVlIjoiTUh2NmNPRU1MTUUzdmFEUU1zTm9MbkpRMk5heHd1czJMSHF2QzJVZVpTQUd5VktkZEhON0x3NXF3SGV4RjdOdU5vXC9cL09tWWpBXC93aTltNmdjeUx2bVE9PSIsIm1hYyI6Ijc3NTcyNTRmZGFiNTU4M2ExYzkwMzljZDA4M2U4YmI5ZjQ5ZTQ1YWNmYjEzYzY5MmE0OGQ0N2YyOGVlZWVhZDYifQ%3D%3D\"\n  \"PATH\" => \"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Brackets\\command;C:\\xampp\\php;C:\\ProgramData\\ComposerSetup\\bin;C:\\Program Files (x86)\\Skype\\Phone\\;C:xampp\\mysql\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\nodejs\\;C:\\Users\\vladislav.batenko\\AppData\\Roaming\\Composer\\vendor\\bin;C:\\Program Files (x86)\\Diffuse;C:\\Users\\vladislav.batenko\\AppData\\Roaming\\npm\"\n  \"SystemRoot\" => \"C:\\Windows\"\n  \"COMSPEC\" => \"C:\\Windows\\system32\\cmd.exe\"\n  \"PATHEXT\" => \".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC\"\n  \"WINDIR\" => \"C:\\Windows\"\n  \"SERVER_SIGNATURE\" => \"<address>Apache\/2.4.25 (Win32) OpenSSL\/1.0.2j PHP\/5.6.30 Server at jino-redo Port 80<\/address>\\n\"\n  \"SERVER_SOFTWARE\" => \"Apache\/2.4.25 (Win32) OpenSSL\/1.0.2j PHP\/5.6.30\"\n  \"SERVER_NAME\" => \"jino-redo\"\n  \"SERVER_ADDR\" => \"127.0.0.1\"\n  \"SERVER_PORT\" => \"80\"\n  \"REMOTE_ADDR\" => \"127.0.0.1\"\n  \"DOCUMENT_ROOT\" => \"C:\/xampp\/htdocs\/project\/beauty.ua.loc-loc\/public\"\n  \"REQUEST_SCHEME\" => \"http\"\n  \"CONTEXT_PREFIX\" => \"\"\n  \"CONTEXT_DOCUMENT_ROOT\" => \"C:\/xampp\/htdocs\/project\/beauty.ua.loc-loc\/public\"\n  \"SERVER_ADMIN\" => \"postmaster@localhost\"\n  \"SCRIPT_FILENAME\" => \"C:\/xampp\/htdocs\/project\/beauty.ua.loc-loc\/public\/index.php\"\n  \"REMOTE_PORT\" => \"62487\"\n  \"REDIRECT_URL\" => \"\/upload-image\"\n  \"GATEWAY_INTERFACE\" => \"CGI\/1.1\"\n  \"SERVER_PROTOCOL\" => \"HTTP\/1.1\"\n  \"REQUEST_METHOD\" => \"POST\"\n  \"QUERY_STRING\" => \"\"\n  \"REQUEST_URI\" => \"\/upload-image\"\n  \"SCRIPT_NAME\" => \"\/index.php\"\n  \"PHP_SELF\" => \"\/index.php\"\n  \"REQUEST_TIME_FLOAT\" => 1521540888.568\n  \"REQUEST_TIME\" => 1521540888\n]","request_cookies":"array:4 [\n  \"remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d\" => \"1038|0bkbPZS9iklSks7SLWnkGaaoAZQSNMF1d1xBCkanWBWVzaA3tJxkOrfDJD3V\"\n  \"ckCsrfToken\" => null\n  \"XSRF-TOKEN\" => \"35kMzE6xSPcB35yddrDvKuV5hYDLw966sFq5emOA\"\n  \"laravel_session\" => \"V2Bb7G1T7sYAieP0s3uMHp3KGBsjxX3A3CEglyTN\"\n]","response_headers":"array:5 [\n  \"cache-control\" => array:1 [\n    0 => \"no-cache, private\"\n  ]\n  \"date\" => array:1 [\n    0 => \"Tue, 20 Mar 2018 10:14:48 GMT\"\n  ]\n  \"content-type\" => array:1 [\n    0 => \"text\/html; charset=UTF-8\"\n  ]\n  \"set-cookie\" => array:2 [\n    0 => \"XSRF-TOKEN=eyJpdiI6IkQxZU1uVmIxNkdjWUUwWk5qb0ZDXC9nPT0iLCJ2YWx1ZSI6ImFZTVcwanlnUXZiRFZaZElWVXBvcWIxUk5DaDVoMFwvY0Q4aCt2cit5TGQ5cFlveU9mXC84bWtJVFpDV3pzNWVrK1A5MmpPMjNTaVlxWXpJcHR1R01tUmc9PSIsIm1hYyI6ImYzMTVlMmI1OTRjMjBjNmYxNmYzNTZkNzdiODQzZDMxYmYwNjA3OTFmMDcxNTQ1MTg1Zjk2OTBmYjQyYWY0NTUifQ%3D%3D; expires=Tue, 20-Mar-2018 12:14:48 GMT; max-age=7200; path=\/\"\n    1 => \"laravel_session=eyJpdiI6IndVSUpNRG4zSlFRbGN6T0xVOGdQMXc9PSIsInZhbHVlIjoieXhJVDlMM3VpcE5pcXB2YWNHWGp2KzBDQUdXQlF0ZE01dnY0dk1XTmRpU2RzV0VicWJxWnh1NXdJOWdFK2ZPRUtcL2YxUGMzbGJ4cWlcL29GQ25CWHp4UT09IiwibWFjIjoiYjA3Y2Y0ZjE0OTljMDIyMTJiZjUyNWQzMmY3NDlhMDE4MDcxY2ZhY2JjNGUwNzIwMTQzMGI0MGVkODA4MmI1OCJ9; expires=Tue, 20-Mar-2018 12:14:48 GMT; max-age=7200; path=\/; httponly\"\n  ]\n  \"Set-Cookie\" => array:2 [\n    0 => \"XSRF-TOKEN=eyJpdiI6IkQxZU1uVmIxNkdjWUUwWk5qb0ZDXC9nPT0iLCJ2YWx1ZSI6ImFZTVcwanlnUXZiRFZaZElWVXBvcWIxUk5DaDVoMFwvY0Q4aCt2cit5TGQ5cFlveU9mXC84bWtJVFpDV3pzNWVrK1A5MmpPMjNTaVlxWXpJcHR1R01tUmc9PSIsIm1hYyI6ImYzMTVlMmI1OTRjMjBjNmYxNmYzNTZkNzdiODQzZDMxYmYwNjA3OTFmMDcxNTQ1MTg1Zjk2OTBmYjQyYWY0NTUifQ%3D%3D; expires=Tue, 20-Mar-2018 12:14:48 GMT; path=\/\"\n    1 => \"laravel_session=eyJpdiI6IndVSUpNRG4zSlFRbGN6T0xVOGdQMXc9PSIsInZhbHVlIjoieXhJVDlMM3VpcE5pcXB2YWNHWGp2KzBDQUdXQlF0ZE01dnY0dk1XTmRpU2RzV0VicWJxWnh1NXdJOWdFK2ZPRUtcL2YxUGMzbGJ4cWlcL29GQ25CWHp4UT09IiwibWFjIjoiYjA3Y2Y0ZjE0OTljMDIyMTJiZjUyNWQzMmY3NDlhMDE4MDcxY2ZhY2JjNGUwNzIwMTQzMGI0MGVkODA4MmI1OCJ9; expires=Tue, 20-Mar-2018 12:14:48 GMT; path=\/; httponly\"\n  ]\n]","path_info":"\/upload-image","session_attributes":"array:5 [\n  \"_token\" => \"35kMzE6xSPcB35yddrDvKuV5hYDLw966sFq5emOA\"\n  \"login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d\" => 1038\n  \"_previous\" => array:1 [\n    \"url\" => \"http:\/\/jino-redo\/administrator\/edit-news\"\n  ]\n  \"_flash\" => array:2 [\n    \"old\" => []\n    \"new\" => []\n  ]\n  \"PHPDEBUGBAR_STACK_DATA\" => []\n]"}}, "68cdb34f73baf0139631a0f223d858ef");

</script>

Я не могу понять почему не получается что бы картинка загрузилась и я получил адекватный ответ, а то получается что изображение есть на сервере но в редакторе возвращается ошибка и собственно изображения как будто нету. Может кто сможет подсказать или сталкивался с таким

Не в сети

Подвал раздела