Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.06.2007, 10:46   #1
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default 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.
katso is offline  
Old 06.06.2007, 11:27   #2
zdark
Архивный участник
 
Join Date: Feb 2006
Posts: 80
Default

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.
zdark is offline  
Old 06.06.2007, 11:57   #3
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

Quote:
Originally Posted by katso View Post
I have hosted the page in webhosting
Excuse, but I cannot modify that INI, since it is to datacenter where this located the page.

Thanks.

Other solution?

Greetings.
katso is offline  
Old 06.06.2007, 12:28   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

The module is used, thats not the problem, revise firewall configuration where SQL server is installed, you must allow SQL port to webhosting IP.
FidoW is offline  
Old 06.06.2007, 13:24   #5
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

ports open, same error.

Puertos abiertos y sigue el error, amigo fidow.
katso is offline  
Old 06.06.2007, 14:02   #6
zaturno
Архивный участник
 
Join Date: Jun 2007
Posts: 3
Default

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
zaturno is offline  
Old 06.06.2007, 14:36   #7
exiliuml2
Архивный участник
 
Join Date: Jun 2007
Posts: 12
Default

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.
exiliuml2 is offline  
Old 06.06.2007, 14:41   #8
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

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
katso is offline  
Old 06.06.2007, 15:19   #9
zaturno
Архивный участник
 
Join Date: Jun 2007
Posts: 3
Default

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
zaturno is offline  
Old 06.06.2007, 17:06   #10
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

function connectdb($db, $dbaddress, $dbuser, $dbpass) {
mssql_connect ($dbaddress, $dbuser, $dbpass); <=== line 65
mssql_select_db ($db, $dbconnect) or die (mysql_error());
}
katso is offline  
Old 06.06.2007, 20:25   #11
citruz
Архивный участник
 
Join Date: May 2006
Posts: 23
Default

//English

It's just connection problems, review your configurations and address, firewalls, permissions of connections on SQL, etc.


//Spanish
No hablo spañol ^^
citruz is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:10.