-
Notifications
You must be signed in to change notification settings - Fork 130
When upload image file, elfinder say「unable to connect to backend.」 #229
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
Comments
Is it case that ElFinder#upload($args)'s $args['upload'] is ""? |
resolved it! |
Hi, i exactly the same issue (CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined variable: header" at H:\wamp2\www\appar\vendor\helios-ag\fm-elfinder-php-connector\src\ElFinder.php line 1543 ) I tried to update package with the command line "composer update --with-dependencies helios-ag/fm-elfinder-bundle" but composer said "Nothing to install or update". I'm on symfone 2.8 and php 5.5 I can't upload file on server ,other functionnalities works (browser, use picture and so on) but unable to upload, i'm stuck ! Please help |
Hi @salamichel composer require helios-ag/fm-elfinder-php-connector: dev-master or composer require helios-ag/fm-elfinder-php-connector: 2.5.1 |
Hi , thank for your reply, i tried both command Could not find package 2.5.1 at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability here my composer { |
This
prevents installing 2.5.1, please leverage php version to at least 5.4 |
You're the one! Thank you for assistance! |
Monolog wrote the following.
request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined variable: header" at /xxx/xxx/hogeApp/vendor/helios-ag/fm-elfinder-php-connector/src/ElFinder.php line 1543 {"exception":"[object](Symfony\Component\Debug\Exception\ContextErrorException%28code: 0%29: Notice: Undefined variable: header at /xxx/xxx/hogeApp/vendor/helios-ag/fm-elfinder-php-connector/src/ElFinder.php:1543)"} []
Until a little before, able to upload image.
please tell me what is the problem, and how resolve.
thanks!
Bundle Version:
version, 6.1
Symfony2 Version:
version, 2.8.3
ElFinder#upload($args)
I try to dump($args). the following is result.
array:10 [▼
"target" => "l1_dGh1bWJuYWlsL05ld0ZvbGRlcg"
"FILES" => []
"mimes" => ""
"html" => ""
"upload" => ""
"name" => array:1 [▼
0 => "hoge.jpg"
]
"upload_path" => ""
"chunk" => ""
"cid" => ""
"debug" => ""
]
my app/config settings.
upload cmd url
http://localhost:8888/app_dev.php/efconnect/my_form?cmd=upload&target=l1_YXJ0aWNsZQ&name%5B%5D=hoge.jpg&FILES=&_=1457946144238
The text was updated successfully, but these errors were encountered: