• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

conec.php problem connecting to my database.

Newbie Spellweaver
Joined
Sep 20, 2009
Messages
27
Reaction score
0
this is the error.

DEMONbunta - conec.php problem connecting to my database. - RaGEZONE Forums


and this is the php code by sir yagamy.

DEMONbunta - conec.php problem connecting to my database. - RaGEZONE Forums


I already checked also my username and password by logging in to my database.

DEMONbunta - conec.php problem connecting to my database. - RaGEZONE Forums


DEMONbunta - conec.php problem connecting to my database. - RaGEZONE Forums


I hope someone can help my problem. thanks in advance.
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
this web have 3 conec.php, in the screenshot the error say:
C:\xampp\htdocs\registro\ajax\conec.php

The 3 conec files are in:
- C:\xampp\htdocs\conec.php
- C:\xampp\htdocs\registro\conec.php
- C:\xampp\htdocs\registro\ajax\conec.php

You need edit this 3 files and allow mssql in:
C:\xampp\php\php.ini

find
;extension=php_mssql.dll

and replace by
extension=php_mssql.dll
 
Newbie Spellweaver
Joined
Sep 20, 2009
Messages
27
Reaction score
0
this web have 3 conec.php, in the screenshot the error say:
C:\xampp\htdocs\registro\ajax\conec.php

The 3 conec files are in:
- C:\xampp\htdocs\conec.php
- C:\xampp\htdocs\registro\conec.php
- C:\xampp\htdocs\registro\ajax\conec.php

You need edit this 3 files and allow mssql in:
C:\xampp\php\php.ini

find


and replace by

after I replace this is the error sir.. and still my php file cant connect to my database. any solution sir? :(

DEMONbunta - conec.php problem connecting to my database. - RaGEZONE Forums
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
test with this patch
 

Attachments

You must be registered for see attachments list
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
Paste php folder (of the patch) into xampp folder.
 
Experienced Elementalist
Joined
Sep 10, 2009
Messages
227
Reaction score
7
i am following this... this patched resolved Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server but now i have a blank browser lol. still configuring out this one. its been years since i stop in this project but now trying to continue again and starting from scratch ;)

edited:

still Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server persist lol...

SOLVED!

C:\xampp\php\php.ini

find
;extension=php_pdo_mssql.dll

replace by
extension=php_pdo_mssql.dll
 
Last edited:
Newbie Spellweaver
Joined
Mar 6, 2013
Messages
6
Reaction score
0
this web have 3 conec.php, in the screenshot the error say:
C:\xampp\htdocs\registro\ajax\conec.php

The 3 conec files are in:
- C:\xampp\htdocs\conec.php
- C:\xampp\htdocs\registro\conec.php
- C:\xampp\htdocs\registro\ajax\conec.php

You need edit this 3 files and allow mssql in:
C:\xampp\php\php.ini

find


and replace by

Esto es lo correcto ;)
 
Back
Top