By hulusiturgut - Fri Nov 18, 2016 7:55 am
- Fri Nov 18, 2016 7:55 am
#787486
I am trying to use php file in Public files. Within this php file, there is query which runs on external database (MS SQL).
If the request which run php file from within internal network, it works fine. But if the request comes from external network it gives me the following error.
I did mssql_connect($servername, $username, $password) as well as executeQuery. They both give me same error.
I need your recommendation. What I should do? Why it is happening?
======================================
RuntimeException:
[wrapped: No driver has been registered to handle connection type: ]
At Propel::getConnection()
in /opt/processmaker/workflow/engine/classes/class.pmFunctions.php line 243
At executeQuery() in /opt/processmaker/shared/sites/workflow/public/67478858056610f25c8e2b8062509247/InboundSMS.php line 51
At require_once() in /opt/processmaker/workflow/public_html/sysGeneric.php line 1022
At include() in /opt/processmaker/workflow/public_html/app.php line 61
======================================
If the request which run php file from within internal network, it works fine. But if the request comes from external network it gives me the following error.
I did mssql_connect($servername, $username, $password) as well as executeQuery. They both give me same error.
I need your recommendation. What I should do? Why it is happening?
======================================
RuntimeException:
[wrapped: No driver has been registered to handle connection type: ]
At Propel::getConnection()
in /opt/processmaker/workflow/engine/classes/class.pmFunctions.php line 243
At executeQuery() in /opt/processmaker/shared/sites/workflow/public/67478858056610f25c8e2b8062509247/InboundSMS.php line 51
At require_once() in /opt/processmaker/workflow/public_html/sysGeneric.php line 1022
At include() in /opt/processmaker/workflow/public_html/app.php line 61
======================================