Record a connection data problem encountered by TestLink.

Source: Internet
Author: User
Tags testlink
Today, I found that login to TestLink is always unsuccessful. It was still normal a few days ago and it was strange. The user name and password are prompted, and other accounts cannot log on. However, we all know that the username and password are matched. The steps to solve the problem are as follows: 1. I tried the password retrieval function and found that it prompts that my user name does not exist. 2. Check

Today, I found that login to TestLink is always unsuccessful. It was still normal a few days ago and it was strange. A user name or Password error is prompted, and other users' accounts cannot log on. However, we all know that the username and password are matched. The steps to solve the problem are as follows: 1. I tried the password retrieval function and found that it prompts that my user name does not exist. 2. Check

Today, I found that login to TestLink is always unsuccessful. It was still normal a few days ago and it was strange. A user name or Password error is prompted, and other users' accounts cannot log on. However, we all know that the username and password are matched. To solve the problem, follow these steps:
1. I tried the password retrieval function and found it prompts that my user name does not exist.
2. Check the users table in MySQL DATA. My User name exists. It is suspected that it is a problem with the connection data of TestLink.
3. Check the config_db.inc.php configuration file and find that the user name, password, and host name linked to MySQL are normal.
4. The logs/userlog3.log and log/userlog0.log files contain the following errors:

Declaration of ADODB_mysql::MetaColumns() should be compatible with that of ADOConnection::MetaColumns() - in /home/testlink/third_party/adodb/drivers/adodb-mysql.inc.php - Line 21

In this case, the third-party database of ADODB used by TestLink has a problem, and it happens to be related to the database. Therefore, we feel that the problem is encountered today.
Some people have reported this problem on the Internet. A compatibility problem between ADOdb and PHP5.2 is described as the need to use a newer version of ADOdb, so I downloaded the latest ADOdb LIBRARY FROM THE http://adodb.sourceforge.net/#download to replace the original one.
Sure enough, I used ADOdb 5.18 without the above error message, and the user can log on normally.

Although the problem has been solved, I still don't want to understand it. TestLink has been in use for two years. Why is the database connection layer problem reported now? The problem should not be available in the first place; we seem to have not upgraded the TestLink and PHP versions recently. Ah, now ~

References:

Http://www.teamst.org/forum/viewtopic.php? F = 11 & t = 2333

Http://forums.phpfreaks.com/topic/181192-solved-php-openchat-doomed-to-blow-outabandoned/

Original article: record a question about connection data encountered by TestLink.

©2014 laugh All over the world. All Rights Reserved.

Original article address: record a problem with connection data encountered by TestLink. Thank you for sharing it with the original author.

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.