[ if (!check_php_ver()) { $status['php_ver'] = 'false'; echo " ERROR "; } else { $status['php_ver'] = 'true'; echo " OK "; } ?> ] | ||
[ if (!check_php_mysql()) { $status['mysql_php'] = 'false'; echo " ERROR "; } else { $status['mysql_php'] = 'true'; echo " OK "; } ?> ] | ||
[ if (!check_php_session()) { $status['session_php'] = 'false'; echo " ERROR "; } else { $status['session_php'] = 'true'; echo " OK "; } ?> ] | ||
[ ERROR "; } else { $status['iconv_php'] = 'true'; echo " OK "; } ?>] | ||
[ ERROR "; } else { echo " OK "; } ?>] | ||
[ ERROR "; } else { echo " OK "; } ?>] | ||
[ ERROR "; } else { $status['read_config'] = 'true'; echo " OK   "; } ?> ] | ||
[ $results = read_config($configfile, 0, 0); if (!check_config_values($results)) { $status['parse_config'] = 'false'; echo " ERROR "; } else { $status['parse_config'] = 'true'; echo " OK "; } ?> ] | "; $error->print_error('log_path'); echo " "; ?> | |
[ ERROR "; } else { $status['check_config_uptodate'] = 'true'; echo " OK "; } ?> ] |
\n"; } else { ?> |
|
[ $db = check_database($results['local_host'], $results['local_username'], $results['local_pass'],$results['local_db']); if (!$db) { $status['check_db'] = 'false'; echo " ERROR "; } else { $status['check_db'] = 'true'; echo " OK "; } ?> ] | ||
DB Inserted | [ $db_inserted = check_database_inserted($db,$results['local_db']); if (!$db_inserted) { $status['check_db_insert'] = 'false'; echo " ERROR "; } else { $status['check_db_insert'] = 'true'; echo " OK "; } ?> ] | This checks a few key tables to make sure that you have successfully inserted the ampache database and that the user has access to the database |
Web Path | [
/*
Check to see if this is Http or https
*/
if ($_SERVER['HTTPS'] == 'on') {
$http_type = "https://";
}
else {
$http_type = "http://";
}
$results['web_path'] = $http_type . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . $results['web_path'];
if ($status['parse_config']) {
echo " |
This test makes sure that your web_path variable is set correctly and that we are able to get to the index page. If you do not see the ampache logo here then your web_path is not set correctly. |
Ampache Debug.
For the love of Music.