Whenever I try to upload the admin panel to my website I get this error.
Fatal error: Call to undefined function: odbc_connect() in /home/ilupo0/public_html/c/functions.php on line 17
Someone said it was because I use SQL 2008 edition, but my 2005 won't work because I have vista. How can I either..
1. Enable vista to use my 2005 SQL or
2. Fix that error.
My config.php (password is edited)
Code:<?php if( !ereg("index.php", $_SERVER['PHP_SELF']) ) { header("Location: index.php"); die(); } /////////////////////////////////// // Emisand's Gunz Admin Panel ///// /// -- Configuration File -- ///// /////////////////////////////////// //MSSQL Server configuration $_MSSQL[Host] = "BILLY-PC"; // MSSQL Server HOST, it can be an IP Address or a computer name $_MSSQL[User] = "sa"; // MSSQL User $_MSSQL[Pass] = "jesusnr1k?"; // MSSQL Password $_MSSQL[DBNa] = "GunzDB"; // Gunz Database Name // Here you set the language for the panel // If you set this to english, the panel will try to load lang/english.php $_CONFIG[Language] = "english"; // Gunz Database Configuration $_CONFIG[AccountTable] = "Account"; $_CONFIG[LoginTable] = "Login"; $_CONFIG[CharTable] = "Character"; $_CONFIG[CItemTable] = "CharacterItem"; $_CONFIG[AItemTable] = "AccountItem"; $_CONFIG[ClanTable] = "Clan"; $_CONFIG[ClanMembTable] = "ClanMember"; $_CONFIG[ClanLogTable] = "ClanGameLog"; // Plugins Configuration // To Disable, set the variable to 0 // To Enable, set the variable to 1 $_CONFIG[CountryBlock] = 0; // Add functions to Block / Unblock access to your GunZ Server // to selected countries ?>


Reply With Quote


