2014/08/24--Upgrade Stepbystep Fix TC does not refresh the problem and join Hangzhou electric BC

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.