2011-09-19 143 views
0

我在我的網站中使用TinyceEditor,並使用AjaxFileManager上傳圖片。AjaxFileManager意外令牌<

它的工作原理非常好的在我的本地主機,但在遠程服務器上載圖像的錯誤顯示

Syntaxerror: unexpected token <

和上傳停止。

請快速回答我的問題!

+0

有一個樣品的網址? –

+0

'Syntaxerror:unexpected token <'通常在返回html錯誤頁面而不是JavaScript時彈出。 – epascarello

回答

0

變化ajax_file_upload.php在49行: 從

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

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