Samuell1 / contenteditor-plugin

Edit your content in page - plugin for OctoberCMS
http://octobercms.com/plugin/samuell-contenteditor
MIT License
39 stars 19 forks source link

Image upload doesn't work #88

Closed PipeJT closed 5 years ago

PipeJT commented 5 years ago

Image upload on Content Editor doesn't work, I'm tried on Windows and Linux also tried on Mac and the same problem.

Error messages on browser logs be:

Linux

VM37:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse () at XMLHttpRequest.xhrComplete

Windows/Mac

POST https://content.example.com/contenteditor/image/upload net::ERR_FAILED

Information about installation October CMS Build 455 installed on a sub directory. DNS Example of this installation: https://content.example.com/octobercms/

ContentEditor Plugin version 1.2.5

Others plugins installed

Samuell1 commented 5 years ago

https://github.com/Samuell1/contenteditor-plugin/issues/67

Issue is that upload url doesnt work if ocms is installed in folder.