Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Help Reg Page (https://postpacific.loc-online.com/showthread.php?t=7735)

katso 06.06.2007 10:46

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.

zdark 06.06.2007 11:27

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.

katso 06.06.2007 11:57

Quote:

Originally Posted by katso (Post 87799)
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.

FidoW 06.06.2007 12:28

The module is used, thats not the problem, revise firewall configuration where SQL server is installed, you must allow SQL port to webhosting IP.

katso 06.06.2007 13:24

ports open, same error.

Puertos abiertos y sigue el error, amigo fidow.

zaturno 06.06.2007 14:02

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

exiliuml2 06.06.2007 14:36

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.

katso 06.06.2007 14:41

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

zaturno 06.06.2007 15:19

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

katso 06.06.2007 17:06

function connectdb($db, $dbaddress, $dbuser, $dbpass) {
mssql_connect ($dbaddress, $dbuser, $dbpass); <=== line 65
mssql_select_db ($db, $dbconnect) or die (mysql_error());
}

citruz 06.06.2007 20:25

//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.