2017-10-18 63 views
0

已發佈在Bitnami社區。 www.community.bitnami.com/t/500-server-error-after-installing-custom-theme/52736安裝後的OpenEdx 500服務器錯誤自定義它們

我試圖從 鏈接安裝一個開放的EDX主題:www.github(點) com/dadasoz/edx-bootstrap-theme。並按照在 docs.bitnami(點)的COM步驟/安裝/應用/ EDX /#如何安裝的-A-定製斯坦福主題

**我得到500內部服務器錯誤。

Apache日誌

[星期三00年10月18日:51:26.682720 2017] [:錯誤] [PID 25207]文件「/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/在_exec_template [Wed Oct 18 00:51:26.682723 2017] [:error] [pid 25207] callable_(context,* args,** kwargs) [Wed Oct 18 00:51:26.682726 2017] [:error] [pid 25207]文件「/tmp/mako_lms/cd6b613ed628f9f43e33fb106119f020/edx-bootstrap-theme/lms/templates/main.html.py」,第293行,在render_body中 [ Wed Oct 18 00:51:26.682729 2017] [:error] [pid 25207] runtime._include_file(context,(static.get_template_path('header.html')),_template_uri,online_help_token = online_help_token) [Wed Oct 18 00:51:26.682733 2017] [:error] [pid 25207] File「/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/mako/runtime.py 「,第752行,在_include_file中 [Wed Oct 18 00:51:26.682736 2017] [:error] [pid 25207] callable_(ctx,** _ kwargs_for_include(callable_,context._data,** kwargs)) [Wed Oct 18 00:51:26.682739 2017] [:錯誤] [PID 25207]文件 「/tmp/mako_lms/cd6b613ed628f9f43e33fb106119f020/edx-bootstrap-theme/lms/templates/header.html.py」,第34行,在render_body [星期三10月18日00:51:26.682742 2017] [:error] [pid 25207] runtime._include_file(context,(static.get_themed_template_path(relative_path ='theme-header.html',default_path ='theme-header.html')), _template_uri,online_help_token = online_help_token) [Wed Oct 18 00:51:26.682746 2017] [:error] [pid 25207] File「/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages /馬科/運行。 PY」,線路625,在GETATTR [星期三00年10月18日:51:26.682749 2017] [:錯誤] [PID 25207](self.name,密鑰)) [星期三00年10月18日:51:26.682752 2017] [:錯誤] [PID 25207] AttributeError的:命名空間「靜態」沒有成員「get_themed_template_path」

我的網站是下跌now.Can有人請幫我修復這個問題。

回答

3

我已經達到了同樣的錯誤,試圖找到有關案件的更多信息,我已經看到了這個主題GitHub的倉庫有一個open issue,其中有人說,這個主題是不是桉樹兼容。

如果您的實例是不是很老,你將使用這是Bitnami發佈的最新版本,如果以前的版本(桉樹)是不是與這個主題兼容,恐怕也不會。