Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elfinder не работает на хостинге с advanced- HTTP error 502 #132

Open
svil1502 opened this issue Jul 14, 2019 · 0 comments

Comments

@svil1502
Copy link

svil1502 commented Jul 14, 2019

Elfinder не работает на хостинге с advanced
Elfinder работает в паре с CKEditor. Локально все нормально открывается и записывается.
На папку backend/web/upload права 777 поставлены - не помогло.
На хостинге при обращении к Elfinder ошибка:
Некорректный ответ сервера. Возникла ошибка на стороне сервера. HTTP error 502
То есть нельзя открыть папку - на этом ошибка вылетает.
app.log

2019-07-14 15:12:30 [94.25.238.68][2995][-][warning][yii\debug\Module::checkAcc$ in /home/virtwww/w_dev-umc-str_0cf2b457/http/vendor/mihaildev/yii2-elfinder$ in /home/virtwww/w_dev-umc-str_0cf2b457/http/vendor/mihaildev/yii2-elfinder$ 2019-07-14 15:12:30 [94.25.238.68][2995][-][warning][yii\debug\Module::checkAcc$ 2019-07-14 15:12:30 [94.25.238.68][2995][-][info][application] $_GET = [ 'filter' => 'image' 'CKEditor' => 'materials-content' 'CKEditorFuncNum' => '1' 'langCode' => 'ru'
backend/config/main.php
'controllerMap' => [ 'elfinder' => [ 'class' => 'mihaildev\elfinder\PathController', 'access' => ['@'], 'root' => [ // 'baseUrl'=>'/web', 'path' => 'upload/global', 'name' => 'Global' ], 'watermark' => [ 'source' => __DIR__.'/logo.png', // Path to Water mark image 'marginRight' => 5, // Margin right pixel 'marginBottom' => 5, // Margin bottom pixel 'quality' => 95, // JPEG image save quality 'transparency' => 70, // Water mark image transparency ( other than PNG ) 'targetType' => IMG_GIF|IMG_JPG|IMG_PNG|IMG_WBMP, // Target image formats ( bit-field ) 'targetMinPixel' => 200 // Target image minimum pixel size ] ] ],
Как исправить ошибку?

@svil1502 svil1502 changed the title Elfinder не работает на хостинге с advanced Elfinder не работает на хостинге с advanced- HTTP error 502 Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant