Closed (fixed)
Project:
filedepot
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 May 2012 at 21:44 UTC
Updated:
5 Jun 2012 at 12:41 UTC
Hello,
when accessing the filedepot page (/filedepot) the sidebar is missing.
The HTML is as follows:
<div id="yui-gen0" style="width: 255px; position: absolute; top: 0px; height: 495px; left: 0px;" class="yui-layout-unit yui-layout-unit-left yui-layout-scroll yui-resize"><div class="yui-layout-wrap" id="yui-gen1" style="height: 480px; width: 230px; top: 0px; left: 0px;"><div class="yui-layout-bd yui-layout-bd-nohd yui-layout-bd-noft" style="height: 478px; width: 228px; top: 0px;"><div id="filedepot_sidecol">
<!-- Leftside Folder Navigation generated onload by page javascript -->
<div id="filedepotNavTreeDiv"></div>
<div class="clearboth"></div>
</div></div></div><div id="yui-gen2" class="yui-resize-handle yui-resize-handle-r"><div class="yui-layout-resize-knob"></div></div></div>
The Firebug Console reports:

The problem seems to be the language detection. On this site a path prefix is used (de, en, es, it).
Thank you
cat
| Comment | File | Size | Author |
|---|---|---|---|
| console2.jpg | 99.39 KB | cattalk |
Comments
Comment #1
cattalk commentedThe syntax error in common.js in line 2137:
var oResults = eval('(' + json + ')');Is there a problem with the brackets, or with hte brackets being in quotes?
thx
cat
Comment #2
cattalk commentedI have disabled the path prefix for the filedepot page, but the problem stays. The error occurs in common.js in the showLeftNavigation function:
thx
cat
Comment #3
cattalk commentedI found the solution. It was a basic page that had some php content as body:
<?php drupal_goto($path='filedepot'); ?>This page was causing an error or warning:
Warning: Cannot modify header information - headers already sent by...This apparently made the JS crash.
Anyway, I deleted this page and everything works again.
BTW cron also stopped working because of this.
Sorry for the trouble!
cat
Comment #4
blainelang commentedThanks Cat for posting your issue and follow-up. It may help someone else track down a similar issue.