Welcome Guest, Not a member yet? Register   Sign In
Getting a blank page
#3

(10-25-2017, 03:16 AM)InsiteFX Wrote: If you think you have a Database connection problem you can use this script to test the connection.

PHP Code:
<?php

/**
 * Attempt MySQLi server connection. Assuming you are running MySQL
 * server with default setting (user 'root' with no password)
 *
 * Change root for username and password for your server.
 */
$link mysqli_connect("localhost""root""");
 
// Check connection
if ($link === false)
{
 
   exit("ERROR: Could not connect. " mysqli_connect_error());
}
 
// Print host information
echo "Connect Successfully. Host info: " mysqli_get_host_info($link);

?>

Place in a file and run it.
Thanks for that!

Connect Successfully. Host info: localhost via TCP/IP

That means my DB connection is working fine.

but i still do not get the test samples from the site - with update , edit or delete in DB to work.

Could it be that they are not working on CI 2.2.0? or something extra needed on that version?

What would be the implications to upgrade to CI 3.X.X ? what are the Pros and Cons?
is it still possible to run that on PHP 5.63? and MySQL 5?

I am sort of lost here
Reply


Messages In This Thread
Getting a blank page - by ThorTheViking - 10-24-2017, 02:56 AM
RE: Getting a blank page - by InsiteFX - 10-25-2017, 03:16 AM
RE: Getting a blank page - by ThorTheViking - 10-25-2017, 08:12 AM
RE: Getting a blank page - by ThorTheViking - 10-25-2017, 11:00 AM
RE: Getting a blank page - by InsiteFX - 10-26-2017, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB