Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Kusaba X az123ss msg:4198478 12:38 pm on Sep 8, 2010 (gmt 0) Hi I'm trying to install Kusaba X but i have a problem. I also installed Xampp becouse i wanna see how it will look like before upload Kusaba in my site. The problem is in Database. I can't find it. I install Kusaba in htdocs then i change KU_WEBFOLDER, KU_WEBPATH, and KU_DOMAIN to localhost. But the problem is KU_DBDATABASE and KU_ROOTDIR. I just don't know want to do with them. Please help. I'm sorry for the poor English.
brotherhood of LAN msg:4199858 6:33 am on Sep 10, 2010 (gmt 0)
Welcome to the forums az123ss, Did you manage to solve your problem? I would suggest testing your connection to your database in a separate simple test script to ensure that you can get a working connection to it, aside from any scripts that rely on the DB. az123ss msg:4200015 2:49 pm on Sep 10, 2010 (gmt 0)
Thanks for the reply. How can I test the connection to my database... brotherhood of LAN msg:4200250 8:06 pm on Sep 10, 2010 (gmt 0)
Assuming it is MySQL... <?php // save as test.php mysql_connect('database_host','database_username',database_password') or die('Problem with MySQL connect: '.mysql_error()); mysql_select_db('database_name') or die('Problem connecting to database: '.mysql_error()); echo 'Database connection successful'; ?>