[HELP] Website (No connection to the Database.)

03/24/2017 09:00 yazuka21#1
Hi guys.. I have a problem with my website configuration...
I already edit my xinc_config.
And I am using Plesk Host, I really don't know how I can fix this one.
Everytime I open my website it gives me alot of errors.

I'am 100% sure that the SQL Password "MY SQL PASSWORD" is correct then the "IP ADDRESS,1433" is also 100% correct

[Only registered and activated users can see links. Click Here To Register...]



With Website error

Please help me :(
03/24/2017 09:17 Lumi#2
Try to delete sa and mssql pw. (Leave it empty) It works me. :3
03/24/2017 09:25 yazuka21#3
Quote:
Originally Posted by ​Lumi View Post
Try to delete sa and mssql pw. (Leave it empty) It works me. :3
Sorry :3
still the same .
03/24/2017 13:48 Sedrika#4
Set Trusted_Connection=no; in your connection string.

Also open sql configurator on main destination and allow ip connections and instead of dynamic ports change it to 1433 fixed. After that restart SQL server on services and it should work after that.
03/24/2017 14:51 yazuka21#5
Quote:
Originally Posted by Sedrika View Post
Set Trusted_Connection=no; in your connection string.

Also open sql configurator on main destination and allow ip connections and instead of dynamic ports change it to 1433 fixed. After that restart SQL server on services and it should work after that.
Sir You mean this ?
[Only registered and activated users can see links. Click Here To Register...]

Quote:
Originally Posted by Sedrika View Post
Set Trusted_Connection=no; in your connection string.

Also open sql configurator on main destination and allow ip connections and instead of dynamic ports change it to 1433 fixed. After that restart SQL server on services and it should work after that.
I reviece a new website error I hope you can help me sir..

[Only registered and activated users can see links. Click Here To Register...]

03/24/2017 15:26 Sedrika#6
Also set at IPAll => TCP Dynamic Ports to 0 and now enable pdo_odbc in php or without the pdo. After it should work. And don't forget to restart the SQL Services again.
03/24/2017 15:38 yazuka21#7
Quote:
Originally Posted by Sedrika View Post
now enable pdo_odbc in php or without the pdo. After it should work. And don't forget to restart the SQL Services again.
I'm sorry but I don't know where to locate this with Plesk host..

and there's no php.ini...
03/24/2017 17:23 Sedrika#8
No clue. Never worked with plesk. You gotta find it but at the end it should done it's work.
03/24/2017 17:54 yazuka21#9
Quote:
Originally Posted by Sedrika View Post
No clue. Never worked with plesk. You gotta find it but at the end it should done it's work.
I have new error sir I hope it can help..


This error shows when I changed PHP 7.0.17 to PHP 5.4.45..

With the error says there;s no database connection in index.php line 111 when I try to check that line it is 'checkDatabaseConnection' but there's already executed 'checkDatabaseConnection' in my database.
03/25/2017 02:49 Ecrypter#10
Read the error, you should know and read the error were the error said. Plesk is easy.
03/25/2017 05:40 yazuka21#11
Quote:
Originally Posted by Ecrypter View Post
Read the error, you should know and read the error were the error said. Plesk is easy.
I do all my best but I really don't know how to fix this :3


Line 111 in index.php is checkDatabaseConnect but I already executed that sql..
03/27/2017 13:34 Ecrypter#12
If you buy a plesk from phytonhost they have a tutorial on how to setup website on plesk panel also in sql server.