xdan / jodit-connectors

Official Jodit connectors
GNU General Public License v2.0
24 stars 18 forks source link

connector: browse loading forever #16

Open graytape opened 4 years ago

graytape commented 4 years ago

Jodit Version: 3.4.14 Connector Version: 3.0.29

Browser: FF OS: Linux

I uploaded the connector zip package into my directory, but

Actual behavior: When I click on upload image it opens the selector but then nothing happens Actual behavior: When I click on "browse" it opens the browsing window but keeps loading forever

EDIT:

I update Jodit to 3.4.14 (self-hosted) and Connector to 3.0.29, but the problem persists. The Console log repeatedly gives this error:

`Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

__parse [...]/build/jodit.js:3086

onreadystatechange [...]/build/jodit.js:3115`

robertoibarra commented 4 years ago

Just became a Jodit fan :)

Did have issues with the connector, the prepackaged zip file from the github page didn't work but I installed it from composer and it worked perfectly: composer create-project --no-dev jodit/connector

the default.config file doesn't have a proper <?php tag on the top, it just says <? so make sure you change it to <?php