-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continued issues with locale on MacOS #31
Comments
Right now it's hard to know if the issue is caused by the ODBC driver or somewhere else, like the PHP driver. To help isolate it, can you generate an ODBC trace?
at the top of it. Looking at it might help to see what to investigate next |
Hi @v-makouz, Here is the output of the trace file:
|
The ODBC driver sets the locale in SQLDriverConnect, and that was successful it's probably not the ODBC driver. I've alerted pdo_sqlsrv support, they should be able to take a look at this soon. |
hi @keithbrinks I remember you've reported a similar problem in issue 909. Any difference this time other than using a more recent pdo_sqlsrv driver? |
Hi @yitam, There does not appear to have been any changes other than updating the drivers. I know I reported at the end of that that things seemed to be working, but that ended up being premature. I can't recall the specifics, but I essentially gave up after that. |
Closing as this has been confirmed to be not the ODBC driver issue |
Hi,
Me again digging up an old issue (see #18 and #25).
Per #25 I thought 17.3 was to include a fix for the locale issues. I have version 17.3.1.1 installed, with the latest (v5.6.1) pdo_sqlsrv driver for PHP.
My application is able to perform GET, PATCH, and DELETE requests to the database without any issues. However, when sending a POST request the driver still seems to be crashing with the following error:
terminating with uncaught exception of type std::runtime_error: collate_byname<char>::collate_byname failed to construct for en_US.UTF-8/en_US.UTF-8/en_GB.UTF-8/en_US.UTF-8/en_GB.UTF-8/en_US.UTF-8
I tried doing some of the same things as before, as far as explicitly setting the locale in my application, but it resulted in the same type of error.
I'm not sure what other information would be helpful to provide, but I'm happy to do any troubleshooting.
Thanks
The text was updated successfully, but these errors were encountered: