![]() |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
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. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Feb 2006
Posts: 80
|
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. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
The module is used, thats not the problem, revise firewall configuration where SQL server is installed, you must allow SQL port to webhosting IP.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
ports open, same error.
Puertos abiertos y sigue el error, amigo fidow. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jun 2007
Posts: 3
|
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 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jun 2007
Posts: 12
|
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. |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
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 |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jun 2007
Posts: 3
|
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 |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
function connectdb($db, $dbaddress, $dbuser, $dbpass) {
mssql_connect ($dbaddress, $dbuser, $dbpass); <=== line 65 mssql_select_db ($db, $dbconnect) or die (mysql_error()); } |
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2006
Posts: 23
|
//English
It's just connection problems, review your configurations and address, firewalls, permissions of connections on SQL, etc. //Spanish No hablo spañol ^^ |
|
|
|
|