2013-03-21 46 views
0

/管理器中丟失的資源樹。 MODX Revolution 2.2.5-pl(高級)。 獲取登錄管理面板,但管理員只是頂部的工具欄。MODx。空分區/管理器

enter image description here

在覈心/緩存/日誌/ 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) 

Chrome會顯示:

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)。已刪除緩存。我去管理面板 - 沒有任何改變。在現在高速緩存: 核心/緩存/ system_settings/config.cache.php

'compress_css' => '0', 
'compress_js' => '0', 

爲什麼Chrome的負責未授權不明確的,因爲如果我登錄,但鏌鋣不明白。 我不明白是什麼問題。

+1

也關閉'concat_js'。 – Vasis 2013-03-21 12:01:12

+0

這個選項關閉了嗎?找不到它在哪裏 – Andrei 2013-03-21 12:11:30

+1

在系統設置中或者在core/cache/system_settings/config.cache.php中如果不訪問管理面板中的系統設置。內核中的 – Vasis 2013-03-21 12:14:21

回答

0

您已經完成了高級安裝並移動了經理和核心目錄中的一個或兩個?

首先,仔細檢查覈心/ config中的所有路徑,2 config.core.php在站點根&經理目錄,審查這一切:http://rtfm.modx.com/display/revolution20/Hardening+MODX+Revolution

如果您移動核心出上述web根目錄,檢查你的php設置&確保php可以讀/寫這些目錄我必須在我的php配置中隱式添加路徑到核心的父目錄。 [我得到了與你一樣的錯誤]

此外,js & css壓縮已經不是一段時間的問題了。 2.2.1我認爲。

0

我有幾乎相同的問題。請仔細檢查所有的配置文件,特別是配置路徑。我的任務是從網站到本地主機的域名轉移。有兩種情況 - 首先檢查路徑(尤其是注意斜槓,在Windows下你有不同的,順便說一句,你可以/和\在同一時間,這取決於)。其次,suhosin延伸有一些麻煩,但這不是我的情況。希望能幫助到你。