I'm running the latest version of Drupal 6 (6.25) and I keep getting the following error & similar when I try to navigate to any folder in IMCE.

An error occurred. 
/imce?jsop=navigate&dir=images/books
{ "data": { "files": "\n\x3ctable id=\"file-list\" class=\"files\"\x3e\x3ctbody\x3e \x3ctr id=\"unorthodox_kyllonen.jpg\"\x3e\n \x3ctd class=\"name\"\x3eunorthodox_kyllonen.jpg\x3c/td\x3e\n \x3ctd class=\"size\" id=\"35267\"\x3e34.44 KB\x3c/td\x3e\n \x3ctd class=\"width\"\x3e200\x3c/td\x3e\n \x3ctd class=\"height\"\x3e300\x3c/td\x3e\n \x3ctd class=\"date\" id=\"1240982824\"\x3e04/29/2009 - 00:27\x3c/td\x3e\n \x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e", "dirsize": "34.44 KB", "subdirectories": [ ], "perm": { "subnav": 1, "browse": 1, "upload": 1, "thumb": 1, "delete": 1, "resize": 1 } }, "messages": [ ] }<style type="text/css">#sp, #sp a {font-size: 9px;color: #c4c4c4;border-bottom: none;clear: both;}</style><div id='sp' style='text-align:right;'></div>

I was receiving this error when running Drupal 6.23, then I updated a bunch of modules & it started to work again after moving to 6.25. The next day I started receiving this error again. I've searched the Drupal forum again & again, but haven't found any solution to my problem. This has become a huge annoyance for me & was wondering if anyone could offer any help. Thanks!

Comments

ufku’s picture

There is excess data appended to the json data. You should find out how it is added there.
<style type="text/css">#sp, #sp a ...

LaRosa’s picture

I figured out the problem. It looks like my website was hacked somehow. I got the issue fixed. Your tip pointed me in the right direction. Thanks!

LaRosa’s picture

Status: Active » Closed (fixed)