TinyMCE -> AjaxFileManager "Syntaxerror: unexpected token <"

349 views Asked by At

I'm using TinyMCE Editor 3.9.2 on my website with plugin AjaxFileManager. I want to upload image by this. Unfortunately, while I uploading image I get an error:

Syntaxerror: unexpected token <

and uploading stops.

I try change ajax_file_upload.php in line 49: to

$manager = new manager(dirname($upload->getFilePath()), false); 

but without effects.

In console of Google Chrome I have something like that error:

POST https://mypage.com/CMS/tiny_mce/plugins/ajaxfilemanager/ajax_file_upload.php?folder=../../../uploaded/ 403

The /uploaded/ folder is in "/domains/mysite.com/public_html/CMS/uploaded/".

Do you know how can I repair it?

0

There are 0 answers