[Help] errors with kopanel

Newbie Spellweaver
Joined
Jul 10, 2006
Messages
21
Reaction score
0
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "MYKO" requested by the login. The login failed., SQL state 37000 in SQLConnect in C:\xampp\htdocs\skins\default\main.php on line 191

Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\skins\default\main.php on line 192

Warning: odbc_result(): supplied argument is not a valid ODBC result resource in C:\xampp\htdocs\skins\default\main.php on line 194



ok so apparently my kopanel is trying to load my myko db well i deleted it how do i change the main.php so i can fix those 3 errors the attached file is my main.php if you can please reattach to a pm to me with it fixed if you know how to fix these

the db name is KN_ONLINE

and in db tell me anything else i need to fix ty for all your help
 

Attachments

Re: errors with kopanel

in the kopanel directory find setings.php
open it with notepad
find this:
// Ms Sql Connection
$dbname = "KN_online"; // Database Name
$dbuser = "xxx"; // Username
$dbpass = "xxx"; // Password

and write there your datas. it will work.
 
Back