D 7.12
IMCE (tried both: independent module and wysiwyg bridge)
Logged in as admin

Tried to use IMCE in maintenance mode, but it didn't work neither in localhost / production site.

There were no errors available in any log or so. However, on the user profile page I noticed that when accessing file browser the site gave a status message "Operating in maintenance mode."

When accessing file browser in maintenance mode the site is shown properly but IMCE doesn't have anything in the body tag.

<iframe class="imce-frame" frameborder="0" style="border: 1px solid #eee; width: 99%; height: 520px" src="/imce">
<html class="imce js" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- THE USUAL: TITLE, SCRIPTS ETC. -->
</head>
<body class="imce">
<!-- BUT NOTHING HERE -->
</body>
</html>

Firebug shows that the response is fine and body content is "available".

Comments

ufku’s picture

Status: Active » Postponed (maintainer needs more info)

Unable to reproduce.

ufku’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
JAYBOB’s picture

UPDATE

Now it outputs that current page where I accessed admin overlay in order to edit content.

And in the access log IMCE receives a 404, see below.

I tried also to access ?q=imce and it receives 200 with perfect source code with right click but with webdeveloper IMCE is still missing. And the page is still blank.

Could it be something with the .htaccess? The site is currently in a subfolder in: public_html/domain/subfolder/.

xx.yy.zz.qqq - - [10/Mar/2012:02:37:18 -0700] "GET /sites/all/libraries/ckeditor/skins/kama/dialog.css?t=B5GJ5GG HTTP/1.1" 304 244 "http://www.domain.tld/node/123/edit?render=overlay" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:37:18 -0700] "GET /sites/all/libraries/ckeditor/plugins/image/dialogs/image.js?t=B5GJ5GG HTTP/1.1" 304 244 "http://www.domain.tld/node/123/edit?render=overlay" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:37:20 -0700] "GET /imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cparams%40&CKEditor=edit-body-und-0-value&CKEditorFuncNum=2&langCode=fi HTTP/1.1" 404 19283 "http://www.domain.tld/node/123/edit?render=overlay" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:44:27 -0700] "GET /sites/default/files/js/js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js HTTP/1.1" 304 244 "http://www.domain.tld/imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cpa..." "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:44:27 -0700] "GET /sites/default/files/js/js_BLbXspYOSaB60WngzZLAXNj-vVg__4IMCuueaO-CRRQ.js HTTP/1.1" 304 244 "http://www.domain.tld/imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cpa..." "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:44:27 -0700] "GET /sites/default/files/js/js_98ykfSDpq8A7eJqk3URNH43iyrRMl_vHYByZsjfZFVM.js HTTP/1.1" 304 244 "http://www.domain.tld/imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cpa..." "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

xx.yy.zz.qqq - - [10/Mar/2012:02:44:27 -0700] "GET /sites/default/files/js/js__raKSgiwUJdgP50soD-nR_6aNuZZt7iLQrg7PZyAiOU.js HTTP/1.1" 304 244 "http://www.domain.tld/imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cpa..." "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11"

JAYBOB’s picture

Now I found one error in JS.

Uncaught TypeError: Cannot read property 'tBodies' of null

//process file list
initiateList: function(cached) {
  var L = imce.hooks.list, dir = imce.conf.dir, token = {'%dir':  dir == '.' ? $(imce.tree['.'].a).text() : imce.decode(dir)}
  imce.findex = [], imce.fids = {}, imce.selected = {}, imce.selcount = 0, imce.vars.lastfid = null;
  imce.tbody = imce.el('file-list').tBodies[0];
  if (imce.tbody.rows.length) {
    for (var row, i = 0; row = imce.tbody.rows[i]; i++) {
      var fid = row.id;
      imce.findex[i] = imce.fids[fid] = row;
      if (cached) {
        if (imce.hasC(row, 'selected')) {
          imce.selected[imce.vars.lastfid = fid] = row;
          imce.selcount++;
        }
      }
      else {
        for (var func, j = 0; func = L[j]; j++) func(row);//invoke list-hook
      }
    }
  }
  if (!imce.conf.perm.browse) {
    imce.setMessage(Drupal.t('File browsing is disabled in directory %dir.', token), 'error');
  }
},