@extends('themes.default1.installer.layout.installer') @section('license') done @stop @section('environment') done @stop @section('database') active @stop @section('content')

Database Setup

This test will check prerequisites required to install Faveo
Faveo HELPDESK 1.0 and Newer'); define('STATUS_OK', 'Ok'); define('STATUS_WARNING', 'Warning'); define('STATUS_ERROR', 'Error'); class TestResult { var $message; var $status; function TestResult($message, $status = STATUS_OK) { $this->message = $message; $this->status = $status; } } // TestResult if (DB_HOST && DB_USER && DB_NAME) { ?> = 0) { $results[] = new TestResult('MySQL version is ' . $mysqli_version, STATUS_OK); // $have_inno = check_have_inno($connection); } else { $results[] = new TestResult('Your MySQL version is ' . $mysqli_version . '. We recommend upgrading to at least MySQL5!', STATUS_ERROR); $mysqli_ok = false; } // if } else { $results[] = new TestResult('Failed to select database. ' . mysqli_error(), STATUS_ERROR); $mysqli_ok = false; } // if } else { $results[] = new TestResult('Failed to connect to database. ' . mysqli_error(), STATUS_ERROR); $mysqli_ok = false; } // if } // elseif($default == 'pgsql') { // if ($connection2 = pg_connect("'host='.DB_HOST.' port='.DB_PORT.' dbname='.DB_NAME.' user='.DB_USER.' password='.DB_PASS.")) { // $results[] = new TestResult('Connected to database as ' . DB_USER . '@' . DB_HOST, STATUS_OK); // } else { // $results[] = new TestResult('Failed to connect to database.
PgSQL said: ' . mysqli_error(), STATUS_ERROR); // $mysqli_ok = false; // } // } elseif($default == 'sqlsrv') { // } // --------------------------------------------------- // Validators // --------------------------------------------------- // dd($results); ?>

' . $result->status . ' — ' . $result->message . ''; } // foreach ?>

Database test is turned off. To turn it On, please open probe.php in your favorite text editor and set DB_XXXX connection parameters in database section at the beginning of the file:

Once these settings are set, probe.php will check if your database meets the system requirements.

Database connection successful. This system can run Faveo

Please wait this may take a while...... {!! Form::open( ['id'=>'form','method' => 'POST'] )!!} {{-- --}}

Previous


Database connection unsuccessful. This system does not meet Faveo system requirements

This either means that the username and password information is incorrect or we can’t contact the database server. This could mean your host’s database server is down.

If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the Faveo Support .

Previous



{{-- --}}
@stop