Added a separate DB Connection to a MS SQL server, config and testing/saving is working ok and i get green boxes informing that it's succesfull.
But using this data source doesn't work, it's there so i can select it but no query works.
Then when checking DB Connection settings i can see that data source is there but settings for database name, host address, port, user, password is back to default (no info).
If is test i get unknown host, so it seems as no settings was saved.
Running latest version available on a Synology Nas Wordpress installation.
If not, could you please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Unfortunately, there is nothing I can do to change it, even if I went in - I'm just be able to see the error.
Anyway, since this is a MSSQL, here's something from Microsoft:
"The Microsoft Drivers for PHP for SQL Server are PHP 5 extensions that allows for the reading and writing of SQL Server data from within PHP scripts. The release contains two drivers, the SQLSRV driver and the PDO_SQLSRV driver. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PDO for accessing data in all editions of SQL Server 2005 and later (including SQL Azure)"
Our plugin is using PDO_SQLSRV driver.
Can you please check if you have installed and enabled PDO extension (pdo_sqlsrv) on your server?
Added a separate DB Connection to a MS SQL server, config and testing/saving is working ok and i get green boxes informing that it's succesfull.
But using this data source doesn't work, it's there so i can select it but no query works.
Then when checking DB Connection settings i can see that data source is there but settings for database name, host address, port, user, password is back to default (no info).
If is test i get unknown host, so it seems as no settings was saved.
Running latest version available on a Synology Nas Wordpress installation.
/Kent
Hello hbgit.
Thank you for your purchase.
If your WordPress is hosted on Azure Web App Services you will need to modify the config.inc.php file, around line 65 find this line of code:
and change it to look like this:
Let me know if this helps.
If not, could you please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello again hbgit.
Unfortunately, there is nothing I can do to change it, even if I went in - I'm just be able to see the error.
Anyway, since this is a MSSQL, here's something from Microsoft:
"The Microsoft Drivers for PHP for SQL Server are PHP 5 extensions that allows for the reading and writing of SQL Server data from within PHP scripts. The release contains two drivers, the SQLSRV driver and the PDO_SQLSRV driver. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PDO for accessing data in all editions of SQL Server 2005 and later (including SQL Azure)"
Our plugin is using PDO_SQLSRV driver.
Can you please check if you have installed and enabled PDO extension (pdo_sqlsrv) on your server?
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Had some time for this again..
PDO_SQLSRV extension is activated, but as this Wordpress runs on a Synology is this only for PHP 5.6
PHP 7 is available but Synologys Wordpress package is not yet compatible with this version..
Can this be the reason ? in config file it say dblib => than 7.0
Tested to change it to 5.6 without success, is it at all possible to run this on 5.6 ?
Maybe we have to wait for Synology to release their WP package with support for PHP 7.0
/Kent
Hi Kent.
Our plugin requires minimum version of PHP 5.6, but we recommend updating to 7 or more.
Can we just confirm one more time that you've modified this file wp-content/plugins/wpdatatables/config/config.inc.php ?
and changed it to look like this:
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Yes, that's the file i changed.
What's confusing me is that the responce when testing and saving the new connection is successfull.
So it seems as there is at least some some sort of connection.
Problem is that it doesn't save the "config" permanent.
Is it possible to manually add the settings somewhere in a file or database to test if it's only the GUI saving that doesn't work.
/Kent
Hi Kent.
Can you please check your server log and get back to me?
It's really strange that it tests good, and it still won't connect to it with the changes in config.inc.php.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables