Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Simpy can't upload image #138

@TomaIvanovTomov

Description

@TomaIvanovTomov

How to do this ? Please give me some code example. It seems like 90% of the people has the same problem. If I click on browse server - error - you don't have permission to search on the server. If I click on choose file and upload to server after - error - bad request. I tried to make a custom action to upload the image but again - bad request. I am working on LAMP on Ubuntu 18.
My code is simple as that:

<?= $form->field($model, 'description')->widget(CKEditor::class, [
     'kcfinder' => true,
     'clientOptions' => [
           'filebrowserUploadUrl' => '/admin/page/upload-image'
      ]
]); ?>

How should I make that GOOD request. And why I don't have permission to look on my own server? I red the whole documentation about the ckeditor. Really don't understand nothing now. Bagging you for real example ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions