Zen Road under the Linux can not login and install problems solution __linux

Source: Internet
Author: User
Tags mysql login

In the page tour company, short-term changes in requirements and bug changes unavoidable, the general common bug management system is bugfree, the demand is todolist, but no matter how two software, whether it is training or work, at the same time the operation of both software is a very waste of time.

We also inevitably encounter some bottlenecks. The demand that is often submitted above todolist is not followed up, so try to install Zen Road management system.

Website address: www.zentao.cn, but Zen Road in Linux installation problem is very serious, especially when the source code installation, now use the zentao3.3 version of the installation problems simply mention the solution.

The use of the source code in Linux installation is basically not successful, a variety of problems emerge, often prompted mysql:use password:yes errors, and online can not find a tutorial. Later installed directly in Windows, the source code and database copy to install under Linux, and finally succeeded.

There is nothing to mention when installing Windows. Just follow the steps to install, if you encounter a warning ignore can be, if the hint database can not connect, modify the MySQL login localhost 127.0.0.1.

Database users must have modify, drop and other permissions, and general additions and deletions are not the same, so recommend all permissions can be.

After uploading the database and the installed files to Linux, import the database, and then modify the database username and password under zentao/config/my.php. Configure the site path to the Zentao/www directory, landing will still be error.

This is because the Zentao database table name contains uppercase letters, Linux is sensitive to case, so the click Login does not reflect the situation.

Solution:
1. Let MySQL ignore case

VIM/ETC/MY.CNF
# Join a line under [mysqld]
Lower_case_table_names=1

Manually modify the table name to capitalize the first letter of the second word in the table name of all two words, such as modifying Zt_usergroup to Zt_usergroup

Because of the need to modify the Zen channel Landing initial display interface according to the company situation (Chan DAO initial interface display module mainly have, project, product, Todo, task and bug) corresponding PHP code for zentao/module/commom/view/index.html.php file

   <?php include './blockprojects.html.php ';? >//Project module
   <?php include './blockproducts.html.php ';? >/Product Module
   <?php include './blocktodoes.html.php ';? >
//todo Module
   <?php include './blocktasks.html.php ';? >  /Home Task module
   <?php include './blockbugs.html.php ';? >/Home Bug Module

I only keep bugs, and task modules in different login users, so comment out the items and products as well as the Todo module. Of course, you can change the module order when you need it.

It is recommended to use UltraEdit for editing, save with the option to save as Utf-8 without DOM mode. The CSS style is lost when you save it with another editor, which I have unfortunately encountered many times. So the good habit of backup can't be lost. (But there are a lot of strange problems, when the CSS style display is not correct, change the root directory of the site for Zentao, use the domain name/www/index.php login style to display the correct, and then encountered CSS style problems after the change back to Normal style again.) This problem can not be solved, you have to change it. After that, if the style goes wrong, then reinstall another Zentao, and the modified files will open the file in the new project with the same name, write the content, save it. General modification once, no save format error will not be a problem, after the modification is ready to pack and send to Linux installation.


Remember to modify the second word in the database table the first letter uppercase for example: Zt_usergroup-> Zt_usergroup, due to too much trouble, I directly modify the Linux under the MySQL configuration/etc/my.conf, add MySQL ignore case)


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.