0
我在我的網站中使用TinyceEditor,並使用AjaxFileManager上傳圖片。AjaxFileManager意外令牌<
它的工作原理非常好的在我的本地主機,但在遠程服務器上載圖像的錯誤顯示
Syntaxerror: unexpected token <
和上傳停止。
請快速回答我的問題!
我在我的網站中使用TinyceEditor,並使用AjaxFileManager上傳圖片。AjaxFileManager意外令牌<
它的工作原理非常好的在我的本地主機,但在遠程服務器上載圖像的錯誤顯示
Syntaxerror: unexpected token <
和上傳停止。
請快速回答我的問題!
變化ajax_file_upload.php在49行: 從
$manager = new manager($upload->getFilePath(), false);
到
$manager = new manager(dirname($upload->getFilePath()), false);
有一個樣品的網址? –
'Syntaxerror:unexpected token <'通常在返回html錯誤頁面而不是JavaScript時彈出。 – epascarello