brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

Cant upload files through the panel - “None of the converters in the stack are operational” #66

Closed isUnknown closed 4 years ago

isUnknown commented 4 years ago

I'm not sure if this is related to kirby webpack but the fact is that I can’t upload files using the files field through the panel. It throws an error : “None of the converters in the stack are operational”.

e6cb4147703236e86a4dd4a64e6fdb7de0fb1f0f

The files are correctly uploaded in the content>page folder but not in the media folder. In the panel, the field keeps being empty. In the text file (data), the array corresponding to the field is also empty.

isUnknown commented 4 years ago

Up.

Here is the error :

{
   "status":"error",
   "message":"Unauthenticated",
   "code":403,
    "exception":"Kirby\\Exception\\PermissionException",
    "key":"error.permission",
    "file":"\/kirby\/config\/api\/authentication.php",
    "line":11,"details":[],
    "route":"kirby-builder\/pages\/([a-zA-Z0-9\\.\\-_%= \\+\\@\\(\\)]+)\/fields\/([a-zA-Z0-9\\.\\-_%= \\+\\@\\(\\)]+)(?:\/(.*))?"
}

Here are lines 10, 11 and 12 in authentication.php :

    if ($auth->type($allowImpersonation) === 'session' && $auth->csrf() === false) {
        throw new PermissionException('Unauthenticated');
    }
antoine1000 commented 4 years ago

Hi,

Sorry for your error but it seems that it has nothing to do with Kirby Webpack...

Maybe check that your PHP plugins are properly installed (like ImageMagick) and that you have the permission to upload files from the panel.

isUnknown commented 4 years ago

Ok, thanks for your answer.