Creating accounts.

Newbie Spellweaver
Joined
Jan 21, 2007
Messages
80
Reaction score
0
Hey guys. I have finished making my cabal server, but I need to make an account now just to test it, and when i try to use a simple registration page, I get this error,

Code:
[B]Warning[/B]:  mssql_connect() [[URL="http://www.sunrise-cabal.com/function.mssql-connect"]function.mssql-connect[/URL]]: Unable to connect to server:  69.162.66.162 in [B]C:\xampp\htdocs\sunrisecabal\idcheck.php[/B] on line [B]29[/B]

[B]Warning[/B]:  mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in [B]C:\xampp\htdocs\sunrisecabal\idcheck.php[/B] on line [B]30[/B]

[B]Warning[/B]:  mssql_query() [[URL="http://www.sunrise-cabal.com/function.mssql-query"]function.mssql-query[/URL]]: message: Invalid object name 'dbo.cabal_auth_table'. (severity 16) in [B]C:\xampp\htdocs\sunrisecabal\idcheck.php[/B] on line [B]31[/B]

[B]Warning[/B]:  mssql_query() [[URL="http://www.sunrise-cabal.com/function.mssql-query"]function.mssql-query[/URL]]: Query failed in [B]C:\xampp\htdocs\sunrisecabal\idcheck.php[/B] on line [B]31[/B]

[B]Warning[/B]:  mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in [B]C:\xampp\htdocs\sunrisecabal\idcheck.php[/B] on line [B]32

Before you ask, yes I have configured the 'config.php' file, and it still isnt letting me connect, any ideas?
[/B]

Anyone? Quickly Please :)
 
Last edited by a moderator:
Do not double post. Bumping your topic an hour after posting it is NOT going to get you a faster answer it is against board rules and i now have to merge your posts which means the time i could have spent answering you is wasted doing the merge.

Your php is not correctly configured to access MSSQL and it can't connect. The error is very clear. Disable the default mssql extension in php and install freetds.
 
Upvote 0
Do not double post. Bumping your topic an hour after posting it is NOT going to get you a faster answer it is against board rules and i now have to merge your posts which means the time i could have spent answering you is wasted doing the merge.

Your php is not correctly configured to access MSSQL and it can't connect. The error is very clear. Disable the default mssql extension in php and install freetds.


Ok, I will give that a try and get back to you, and sorry for the double post, I have like nothing to do and wanted to get an answer, lol, But yeah sorry.


Edit: Umm, Its linux, Does that mean my webserver has to be linked to linux? And the FreeTDS website is down.

Edit2: Ehh, FreeTDS is installed, but I still get the same error, which is

Code:
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 69.162.66.162 in C:\xampp\htdocs\sunrisecabal\idcheck.php on line 29

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\xampp\htdocs\sunrisecabal\idcheck.php on line 30

Warning: mssql_query() [function.mssql-query]: message: Invalid object name 'dbo.cabal_auth_table'. (severity 16) in C:\xampp\htdocs\sunrisecabal\idcheck.php on line 31

Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\sunrisecabal\idcheck.php on line 31

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\xampp\htdocs\sunrisecabal\idcheck.php on line 32

I am using the rebirth registration page.

Bump
 
Last edited by a moderator:
Upvote 0
The webpage needs to be able to connect to whatever server the database is on. Looking at the error your php is using the native php mssql libs and i could never get those working in my xampp install, however changing it requires you to alter the code to use adodb or something.
 
Upvote 0
The webpage needs to be able to connect to whatever server the database is on. Looking at the error your php is using the native php mssql libs and i could never get those working in my xampp install, however changing it requires you to alter the code to use adodb or something.


And could you direct me in the right direction on what to edit? As I would like to get this fixed so I can release, thanks very much.
 
Upvote 0
go to the directory where php is installed... copy the "php.ini" to the directory where your site is located.

i had a simiular issue and found that simply copying the php.ini file into the working directory soved the issue

as long as the mssql extention librarty is activated in the php.ini file.
 
Upvote 0
Back