Connecting to Wamp...error

Junior Spellweaver
Joined
Jan 12, 2007
Messages
128
Reaction score
0
Location
CA
This:

$srvip = "71.110.29.245";
$srvport = "6000";
$mssql_user = "razorblitz07";
$mssql_pass = "*************";
$mssql_database = "GunzDB";
$mssql_host = "LT-A2VJ1XCLD\SQLEXPRESS";

results in this:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: LT-A2VJ1XCLD\SQLEXPRESS in C:\wamp\www\index.php on line 47

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\index.php on line 47

I also have gzugunz.no-ip.org as an alternative server ip.

The error is found on

The ip address here*/index.php url won't work. Any help? Ip address: 71.110.29.245

Also my php.ini extensions look like this:

;Windows Extensions
;Note that ODBC support is built in, so no dll is needed for it.
;
extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
extension=php_mssql.dll
;extension=php_msql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_sqlite.dll
 
Your Using hamachi I Think Your Suppost To use you hamachi ip where it says
$srvip=insert hamachi ip

And Did you add a colum in your MMSQL called E_Mail
 
Upvote 0
Ok, I'll add my hamachi ip address to the server ip.

As for the e-mail column, I added it in but just in case I added ti inwrong, could you tell me specifically where to add it.

And everytime I edit my password on my razorblitz07 security login, I save it, close it, then open it back up...the password changed itself. The password never stays the same. I put in a 13-digit password but everytime I save and close then open it back up, it moves to a 15-digit password. Are there specific ettings to what your password should be?

Thanks

Now my index.php file configuration looks like this:

<?php
$srvip = "5.123.98.100";
$srvport = "6000";
$mssql_user = "razorblitz07";
$mssql_pass = "*************";
$mssql_database = "GunzDB";
$mssql_host = "LT-A2VJ1XCLD\SQLEXPRESS";
$conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
mssql_select_db($mssql_database);
?>

And results in this:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: LT-A2VJ1XCLD\SQLEXPRESS in C:\wamp\www\index.php on line 47

Warning: mssql_select_db() [function.mssql-select-db]: Unable to connect to server: (null) in C:\wamp\www\index.php on line 48

Warning: mssql_select_db() [function.mssql-select-db]: A link to the server could not be established in C:\wamp\www\index.php on line 48GunZ User Account Register
User ID:
Password:
Retype Password:
Email:



Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\wamp\www\index.php on line 137

Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\wamp\www\index.php on line 137

Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\wamp\www\index.php on line 138
Total Accounts:

Server Status:
 
Upvote 0
*bump*

I did everything and it still shows up as:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: LT-A2VJ1XCLD\SQLEXPRESS in C:\wamp\www\index.php on line 47

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\index.php on line 47
 
Upvote 0
Back