![]() |
Help Reg Page
Hi I need a small aid, since I have hosted the page in webhosting, and it throws east error to me.
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: XXX.XXX.7.193 in /www/XXXXXXX.com.ar/htdocs/load/functions.php on line 65 Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in /www/XXXXXX.com.ar/htdocs/load/functions.php on line 66 I read the possible solutions but I believe that no is adapted to my situation since I cannot modify DLL of hosting. From already thank you very much. esp= hola necesito una pequeña ayuda, puesto que he hosteado la pagina en un webhosting, y me tira este error. He leido las posibles soluciones pero creo que ninguna se adecua a mi situacion puesto que no puedo modificar ningun dll del hosting. Desde ya muchas gracias. |
check php.ini
|| [C] Enable MSSQL Extension || ================================================== ================================= Open up your php.ini that is located in your C:/WINDOWS/ directory. Find: ;extension=php_mssql.dll Replace with: extension=php_mssql.dll Save and close php.ini. Restart Apache. |
Quote:
Thanks. Other solution? Greetings. |
The module is used, thats not the problem, revise firewall configuration where SQL server is installed, you must allow SQL port to webhosting IP.
|
ports open, same error.
Puertos abiertos y sigue el error, amigo fidow. |
ON TOPIC:
Fijate que el sql server acepte conecciones remotas. Lo ves en propiedades haciendo click derecho sobre el servidor con el manager q utilizes. Esto suponiendo que el servidor web esta en otra maquina y tambien deverias fijarte que el usuario tenga permisos para conectarce remotamente. Look if sql server have enabled the option: "Allow remote connections to this server" in the properties of your sql server and if the user have permissions to connect remotly. OFF TOPIC: Fidow si tenes un segundo respondeme el PM plis |
vc esta tentando acessar de outra maquina? se estiver acho que nao vai funcionar, somente se vc tiver configurado seu SQL server para conectar remotamente. (oq nao aconcelho)
Faz rodar ele no dc e linka ele na hora do cadastro. |
tengo el sql configurado para aceptar el accseso remotamente, aunque ahora solo mi tira este error:
Fatal error: Call to undefined function mssql_connect() in /www/XXXXXXXXX.com.ar/htdocs/load/functions.php on line 65 |
No puedo ayudarte sin ver el codigo de la linea 65 del functions.php si queres mas ayuda mandame un pm pidiendome el mail.
Salu2 |
function connectdb($db, $dbaddress, $dbuser, $dbpass) {
mssql_connect ($dbaddress, $dbuser, $dbpass); <=== line 65 mssql_select_db ($db, $dbconnect) or die (mysql_error()); } |
//English
It's just connection problems, review your configurations and address, firewalls, permissions of connections on SQL, etc. //Spanish No hablo spañol ^^ |
| All times are GMT. The time now is 15:26. |