Jump to content
Rinor

web config

Recommended Posts

im having a problem with website load may someone can help? im using xampp 1.7.1 and im getting this error:
1.png

this is my config 

	$config['db']['game']			= array( 'host'		=> 'BN-PC\SQLExpress',
							 'db'		=> 'GameDB',
							 'user'		=> 'sa' ,
							 'pass'		=> '123456789',         );

	$config['db']['account']		= array( 'host'		=> 'BN-PC\SQLExpress',
							 'db'		=> 'AccountServer',
							 'user'		=> 'sa' ,
							 'pass'		=> '123456789',			);

i tried the config with 127.0.0.1,  .\SQLExpress , localhost
aint working, they worked fine before idk whats wrong

Share this post


Link to post
Share on other sites
5 hours ago, Rinor said:

im having a problem with website load may someone can help? im using xampp 1.7.1 and im getting this error:
1.png

this is my config 


	$config['db']['game']			= array( 'host'		=> 'BN-PC\SQLExpress',
							 'db'		=> 'GameDB',
							 'user'		=> 'sa' ,
							 'pass'		=> '123456789',         );

	$config['db']['account']		= array( 'host'		=> 'BN-PC\SQLExpress',
							 'db'		=> 'AccountServer',
							 'user'		=> 'sa' ,
							 'pass'		=> '123456789',			);

i tried the config with 127.0.0.1,  .\SQLExpress , localhost
aint working, they worked fine before idk whats wrong


try your static (server) ip.


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites
2 hours ago, Faller said:

'host' => 'BN-PC',

 

might work, but I think this is the same as localhost.

Edited by Shako

logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites

@Rinor now, your configurations are correct.

 

I think the white page is from PHP version incompatibility or broken website files.


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites
В 20.10.2016 в 19:45, V3ct0r сказал:

You see blank page because error. Error reporting is disabled in php.ini. I think php.exe is compiled without MSSQL support (or MSSQL library is disabled) and it is cause of error (script tries to call undefined mssql functions). You can use XAMPP 1.6.8 it will work 100%.


Share this post


Link to post
Share on other sites
1 hour ago, V3ct0r said:
On 10/20/2016 at 6:45 PM, V3ct0r said:

You see blank page because error. Error reporting is disabled in php.ini. I think php.exe is compiled without MSSQL support (or MSSQL library is disabled) and it is cause of error (script tries to call undefined mssql functions). You can use XAMPP 1.6.8 it will work 100%.

using xampp 1.6.8  apache/mysql starts succesfully
but im getting this when trying to load page:
untitled.PNG

Share this post


Link to post
Share on other sites

I think it's named with capitals as "SQLEXPRESS" not "SQLExpress", you can try , it happened with me and then changed to capitals one then worked.

Share this post


Link to post
Share on other sites
On 11/11/2016 at 6:05 PM, Vasil said:

I think it's named with capitals as "SQLEXPRESS" not "SQLExpress", you can try , it happened with me and then changed to capitals one then worked.

Version 1.7.3 shows blank page

Version 1.7.1 and version 1.6.8 ( which @V3ct0r ) suggested me shows this:
Core-Error: Failed to connect to database!
Error: #0, php_network_getaddresses: getaddrinfo failed: No such host is known.

- when trying to load the page

Share this post


Link to post
Share on other sites
Just now, Rinor said:

Version 1.7.3 shows blank page

Version 1.7.1 and version 1.6.8 ( which @V3ct0r ) suggested me shows this:
Core-Error: Failed to connect to database!
Error: #0, php_network_getaddresses: getaddrinfo failed: No such host is known.

- when trying to load the page

Got teamviewer?

Share this post


Link to post
Share on other sites

@Vasil i dont actualy use it and dont have it, could you write few ways i should check? im atm trying (local) instead of .SQLExpress and im getting this error now:
Core-Error: Failed to connect to database!
Error: Please check if MSSQL-service is running and reachable (firewall, etc.).

edit: version 1.6.8

Edited by Rinor

Share this post


Link to post
Share on other sites
Just now, Rinor said:

@Perseus i would really like to use it but when trying to download xampp it says i dont have microsoft c++ redistru... i have them but it says i dont idk why

PM me with some screenshots? I'll see if I can help

Share this post


Link to post
Share on other sites

Xampp 1.6.8 >> USE <<

Xampp 1.6.8 >> USE <<

logo-small.png  Link: to "paranoia"

MD5 9fe3b33e571ee57d02cb5ebdc888865f
SHA1 c6173222850a3c3bae2e820842b65957857563e0
SHA256 b0ac9c92b3c6b15c76cc26ac0ca1370104a2b3268112325840ef73d32a844fb7
	$config['db']['game']			= array( 'host'		=> '127.0.0.1',
							 'db'		=> 'GameDB',
							 'user'		=> 'TEST' ,				   // Login DataBase : TEST
							 'pass'		=> 'Y87dc#$22',         ); // Password DataBase 9 symbol: Y87dc#$22

	$config['db']['account']		= array( 'host'		=> '127.0.0.1',
							 'db'		=> 'AccountServer',
							 'user'		=> 'TEST2' ,			   // Game DataBase :TEST2
							 'pass'		=> 'Y87dc#$98',			); // Password DataBase 9 symbol: Y87dc#$98

 

Безымянный.png

Edited by ϟAlсаtrаzϟ

logo.gif.7a6bf573c184aefe07085780c554cb7b.gifimage.png.b1bdb87cf81127fc757c39aa04ca5385.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...