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

Unknown error on production (number 110) #24

Open
diegoiglesias opened this issue Jun 25, 2020 · 3 comments
Open

Unknown error on production (number 110) #24

diegoiglesias opened this issue Jun 25, 2020 · 3 comments

Comments

@diegoiglesias
Copy link

I'm using PHP 7.4, SYmfony 5.1, latest CKFinder & CKEditor 4.

It does work correctly when APP_ENV=dev, but it doesn't when APP_ENV=prod so I can't use it on production.
When I open the CKFinder popup, it returns a dialog with the message "Unknown error" and the error number 110 on the console.

Upload folder permissions are correctly set (it does work when environment is set as dev).

Can anyone help me out?

@Mick3DIY
Copy link

This generic message is from your URI .../ckfinder/connector?command=Init ? First check :)

Have you clean your prod cache ? your asset are deployed correctly ?

Can you dump() your CKFinder object for us, step by step ? Second check...

@michael-bouvy
Copy link

@diegoiglesias are you trying to upload jpg/jpeg files? I'm facing the same issue, and png files work fine. I guess this might be related to a missing extension in image library.

@michael-bouvy
Copy link

Actually, my setup was lacking GD JPEG support, which I added following the documentation of PHP Docker image:

FROM php:7.4-fpm
RUN apt-get update && apt-get install -y \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libpng-dev \
    && docker-php-ext-configure gd --with-freetype --with-jpeg \
    && docker-php-ext-install -j$(nproc) gd

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

3 participants