Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建新文章分类失败 #60

Closed
venusxx opened this issue Sep 2, 2016 · 4 comments
Closed

创建新文章分类失败 #60

venusxx opened this issue Sep 2, 2016 · 4 comments

Comments

@venusxx
Copy link

venusxx commented Sep 2, 2016

目前环境:
bW (ver 1.1.0)
Apache
PHP Version 5.4.45

在文章管理-管理分类中添加新的分类的时候无论取什么名字和ID,都会出现“Database Error: 42S22, 1054, Unknown column 'aCateTheme' in 'field list'”的错误,请问如何解决?谢谢!

另外也想问问去哪里能下载bW的手动升级包?因为我用自动升级的时候总是出现错误。

@bo-blog
Copy link
Owner

bo-blog commented Sep 3, 2016

升级不完全没有更新数据库结构。你是不是仅仅上传了文件而没有用后台升级?
请问原先用的是哪个旧版本。

@bo-blog
Copy link
Owner

bo-blog commented Sep 3, 2016

不过你也不用逐个升级,如果已经把最新包上传覆盖了,升级下数据库就好。
MySQL
ALTER TABLE categories ADD COLUMN aCateTheme VARCHAR (255)

SQLite
ALTER TABLE categories ADD aCateTheme VARCHAR (255)

@venusxx
Copy link
Author

venusxx commented Sep 5, 2016

谢谢bob,已解决。

@venusxx venusxx closed this as completed Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants