|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61763 Improve/add error messages in RINIT
Submitted: 2012-04-18 13:07 UTC Modified: 2012-05-02 15:40 UTC
From: Assigned: uw (profile)
Status: Closed Package: mysqlnd_ms (PECL)
PHP Version: 5.3.10 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2012-04-18 13:07 UTC]
in RINIT, mysqlnd_ms tries to parse the plugin config file.

Starting from 1.1, it uses a JSON config file, but the error message when the 
file is not found still talks about INI file, leading to confusion. The ini param 
still is "mysqlnd_ms.ini_file" , and should be renamed to "mysqlnd_ms.json_file"

Also, it is *very* annoying that if there is a parse error while parsing JSON 
config file, nothing is reported in user land, and the process just keeps on 
failing later on other errors

Test script:
Give a wrong plugin config file (mysqlnd_ms.ini_file) and see the error message talking about INI file

Give a right plugin config file ((mysqlnd_ms.ini_file), but containing a parse error in the JSON syntax

Expected result:
Correct error messages

Actual result:
Incorrect error messages


mysqlnd_ms-error_message_improvement (last revision 2012-04-18 13:13 UTC by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-04-18 13:13 UTC]
The following patch has been added/updated:

Patch Name: mysqlnd_ms-error_message_improvement
Revision:   1334754826
 [2012-05-02 15:40 UTC]
Thanks for the patch! The setting has been renamed, .
 [2012-05-02 15:40 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: uw
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jul 08 02:01:27 2020 UTC