Onethink database _php tutorial on Onethink migration site generating database errors

Source: Internet
Author: User

About Onethink The migration site produces a database error, Onethink database


In order to support domestic, I used the onethink set up a own site (template world: www.templatesy.com), the use of the present, although encountered a lot of difficulties, there are many bugs, but finally also reluctantly built up.

In a recent local upload process, actually caused the background to login and so on all the user table things are invalid!

  

I've been looking for all the reasons that could lead to errors, coding Ah, BOM, and so on, all useless.

After 2 days of debugging, finally found that, in addition to \application\common\conf\ under a database configuration for the config.php, the root directory under the \application\user\conf directory, Actually, there's a database configuration config.php! Change this to the server's data configuration, finally let the website restore.

There should be some other consideration, so that the Onethink team set up 2 database configuration files, but also I do not know the reason for the document.

Template world: www.templatesy.com

http://www.bkjia.com/PHPjc/1001469.html www.bkjia.com true http://www.bkjia.com/PHPjc/1001469.html techarticle about Onethink The migration site to generate database errors, Onethink database in order to support domestic, I used the Onethink set up a site (template world: www.templatesy.com) ...

  • 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.