error when i use wiki
The wiki is all right when I used version 0.4.2. But when I upgraded to 0.5.0, there's error when I want to edit a wiki
The detail error description is in the attachment.
#2 Updated by Jean-Philippe Lang about 12 years ago
Sorry but it's not a bug. You can not upgrade your database and
then use an older code.
So I see 2 solutions:
- restore your db backup and migrate with the 0.5.0 code (so
you'll have a 0.5.0 database)
- use the latest source from trunk, and report the error you
#3 Updated by Andy Wu about 12 years ago
I've checked the database. the database version is 47 and
the name of 'comments' column has already been
As you said, the code of the early version was from the
trunk of the repository,and the version seems newer than
0.4.2, which has wiki already.After the new version(0.5.0)
was published, I checked out the code from repository, and
run the command: 'rake db:migrate
RAILS_ENV="production"'.Because of some error of this
version(from trunk), I redownload the code of 0.5.0.
Now, I'm using 0.5.0 code. The database is from trunk, but
I'm not sure which version of trunk it is.
#4 Updated by Jean-Philippe Lang about 12 years ago
First, there was no wiki in 0.4.2. Wiki was added in 0.5.0.
It looks like your database schema is not in phase with your
code. In wiki_contents table, 'comment' column was renamed 'comments'
Please, tell me what your database version is (select * from
schema_info) and which code you're using (0.5.0 release or repository