firekylin / firekylin

A Simple & Fast Node.js Blogging Platform Base On ThinkJS3 & React & ES2015+
https://firekylin.lithub.cc
GNU General Public License v3.0
1.83k stars 390 forks source link

vps centos7 搭建好了,后台能正常访问,前台访问报错thinkjs 500 错误。搞不懂了,希望能人指点一把! #329

Closed risfeng closed 7 years ago

risfeng commented 7 years ago

博客地址:http://blog.geekek.me/ 显示 Internal Server Error 500 页面,搞不懂,请指导!

xuexb commented 7 years ago

看下控制台日志报什么错吧 @risfeng

risfeng commented 7 years ago

[2017-05-03 16:21:47] [Error] Error: can't find template file /home/wwwroot/firekylin/www/theme/firekylin/index.html at _class._callee2$ (/home/wwwroot/firekylin/node_modules/thinkjs/lib/core/view.js:226:21) at tryCatch (/home/wwwroot/firekylin/node_modules/thinkjs/node_modules/babel-runtime/regenerator/runtime.js:88:40) at GeneratorFunctionPrototype.invoke [as _invoke] (/home/wwwroot/firekylin/node_modules/thinkjs/node_modules/babel-runtime/regenerator/runtime.js:341:22) at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] 我后台点过编辑主题,但是没保存。可能是这个原因, @xuexb

xuexb commented 7 years ago

@risfeng 加下q? 我帮你看看? 我463004799

risfeng commented 7 years ago

问题是:发布的包里面没有www/theme文件夹 解决方案:下载源代码,把里面的theme文件夹拷贝过去即可。

xuexb commented 7 years ago

@lizheming 好尴尬... 我看 v0.15.7 确实没有主题文件... v0.15.6 就有...

lizheming commented 7 years ago

@xuexb 卧槽…应该是删除 stc 出bug了,我赶快发个新版…

xuexb commented 7 years ago

enen, 把 v0.15.7 也删了吧, 防止错误安装.

lizheming commented 7 years ago

@xuexb 0.15.7 版本已覆盖,同时添加 0.15.8 版本。 感谢 @risfeng 的反馈,因为我的疏忽给你造成的不便我表示抱歉。 😭

risfeng commented 7 years ago

感谢作者的开源精神!

lizheming commented 7 years ago

@risfeng 客气了,欢迎多多反馈~