2017-10-18 72 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发布的最新版本,如果以前的版本(桉树)是不是与这个主题兼容,恐怕也不会。