/manager 下的资源树丢失。MODX 革命 2.2.5-pl(高级)。登录到了admin面板,但是admin只是最上面的工具栏。
在 core/cache/logs/error.log 中:
[2013-03-21 11:18:22] (ERROR @ /index.php) `` is not a valid integer and may not be passed to makeUrl()
即PHP /manager/index.php 部分没有错误。
登录后的萤火虫显示:
ReferenceError: _ is not defined
...rer:this.renderNoteCell.createDelegate(this)]});this.grid_panel=new Ext.grid.Gri...
modx.t...tory.js (строка 806)
ReferenceError: _ is not defined
params[this.paramNames.topic] = '/ys/user-' + MODx.user.id + '/';
modx.js (строка 820)
TypeError: MODx.user is undefined
params[this.paramNames.topic] = '/ys/user-' + MODx.user.id + '/';
modx.js (строка 820)
铬显示:
Failed to load resource: the server responded with a status of 401 (Not Authorized)
http://example.com/connectors/lang.js.php?
ctx=mgr&topic=topmenu,file,resource,setting,gallery:default&action=70
Uncaught ReferenceError: _ is not defined modx.tree.directory.js:806
Uncaught ReferenceError: _ is not defined modx.localization.js:5
Uncaught TypeError: Cannot read property 'id' of undefined modx.js:820
在这个材料上发现错误,所有写的东西都是compress_js和compress_css。我将值从 1 调整为 0(表 modx_system_settings)。已删除缓存。我去管理面板 - 没有任何改变。现在在缓存中:core/cache/system_settings/config.cache.php
'compress_css' => '0',
'compress_js' => '0',
为什么 Chrome 负责 Not Authorized 不清楚,好像我登录了,但是 MODx 不明白。我不明白问题是什么。