Problem:
Since the TC site upgrade to do the statistics of the TC column is not refreshed, for this whole brother also updated a bit of stepbystep configuration file What, I just want to hang it on the server can be.
Because of the addition of the Hangzhou electric BC, it seems that this thing is not easy. You have to add a field to the database and experience it again.
Solve:
In the afternoon, on the git.oschina.net, enter the Stepbystep project and download the whole project. Control the Stepbystep configuration file on the server, the password of the database involved in the change,
and copy the missing necessary data files into the new Stepbystep file. Rename the original file, upload a new file, open the Training program page everything is OK.
After restarting due to the lack of BC in the database field, the Web page (do the statistics) there is a query error phenomenon;
The next day after searching the internet after a half day and finally joined the field, the Web page shows normal. But there are problems with the elder brother. Login data does not have the BC option, this is not a device!
Something:
This is the only record, no technical content.
In fact, I learned a little bit of MySQL's operation statement, haha!
Just one sentence:
mysql> ALTER TABLE user add bc_id varchar (+), add bc_rating int default 0;
2014/08/24--Upgrade Stepbystep Fix TC does not refresh the problem and join Hangzhou electric BC