/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/installer/cli.php
Line #40 : oops("Unable to connect to the database.\n" . mysql_error() . "\n");
Line #55 : oops("Failed to create database tables\n" . mysql_error());
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/installer/installer.php
Line #65 : if (!mysql_query(self:: prepend_prefix($prefix, $buf))) {
Line #78 : if (!function_exists("mysql_query")) {
Line #79 : function mysql_connect($host, $user, $pass) {
Line #87 : function mysql_query($query) {
Line #90 : function mysql_num_rows($result) {
Line #93 : function mysql_error() {
Line #96 : function mysql_select_db($db) {
Line #102 : return @mysql_connect($host, $config["user"], $config["password"]);
Line #106 : if (mysql_select_db($config["dbname"])) {
Line #110 : return mysql_query("CREATE DATABASE {$config['dbname']}") &&
Line #111 : mysql_select_db($config["dbname"]);
Line #114 : static function verify_mysql_version($config) {
Line #115 : return version_compare(installer::mysql_version($config), "5.0.0", ">=");
Line #118 : static function mysql_version($config) {
Line #119 : $result = mysql_query("SHOW VARIABLES WHERE variable_name = "version"");
Line #120 : $row = mysql_fetch_object($result);
Line #126 : $results = mysql_query($query);
Line #128 : $msg = mysql_error();
Line #131 : return mysql_num_rows($results) === 0;
Line #146 : if (mysql_query($sql)) {
Line #148 : throw new Exception(mysql_error());
Line #168 : if (mysql_query($sql)) {
Line #171 : throw new Exception(mysql_error());
Line #179 : if (mysql_query($sql)) {
Line #181 : throw new Exception(mysql_error());
Line #190 : if (!function_exists("mysql_query") && !function_exists("mysqli_set_charset")) {
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/installer/views/invalid_db_version.html.php
Line #4 : Gallery requires at least MySQL version 5.0.0. You're using version <?= installer::mysql_version($config) ?>
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/installer/web.php
Line #45 : } else if (!installer::verify_mysql_version($config)) {
Line #58 : $content = oops("Failed to create tables in your database:" . mysql_error());
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/modules/gallery/views/admin_block_platform.html.php
Line #16 : <?= t("MySQL: %mysql_version", array("mysql_version" => Database::instance()->query("SELECT version() as v")->current()->v)) ?>
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/system/libraries/Database_Mysql.php
Line #10 : class Database_Mysql_Core extends Database {
Line #25 : // Determine if we can use mysql_set_charset(), which is only
Line #27 : Database_Mysql::$set_names = ! function_exists('mysql_set_charset');
Line #39 : ? mysql_pconnect($host.$port, $user, $pass, $params)
Line #40 : : mysql_connect($host.$port, $user, $pass, TRUE, $params);
Line #49 : array(':error' => mysql_error(),
Line #50 : ':errno' => mysql_errno()));
Line #53 : if ( ! mysql_select_db($database, $this->connection))
Line #57 : array(':error' => mysql_error($this->connection),
Line #58 : ':errno' => mysql_errno($this->connection)));
Line #77 : $status = mysql_close($this->connection);
Line #97 : $status = (bool) mysql_query('SET NAMES '.$this->quote($charset), $this->connection);
Line #102 : $status = mysql_set_charset($charset, $this->connection);
Line #109 : array(':error' => mysql_error($this->connection),
Line #110 : ':errno' => mysql_errno($this->connection)));
Line #119 : $result = mysql_query($sql, $this->connection);
Line #124 : return new Database_Mysql_Result($result, $sql, $this->connection, $this->config['object']);
Line #132 : if (($value = mysql_real_escape_string($value, $this->connection)) === FALSE)
Line #135 : array(':error' => mysql_error($this->connection),
Line #136 : ':errno' => mysql_errno($this->connection)));
/home2/redsauto/public_html/includes/templates/cold_steel/images/gallery/system/libraries/Database_Mysql_Result.php
Line #10 : class Database_Mysql_Result_Core extends Database_Result {
Line #21 : $this->total_rows = mysql_num_rows($result);
Line #28 : array(':error' => mysql_error($link),
Line #30 : ':errno' => mysql_errno($link)));
Line #36 : $this->insert_id = mysql_insert_id($link);
Line #37 : $this->total_rows = mysql_affected_rows($link);
Line #51 : mysql_free_result($this->result);
Line #72 : mysql_data_seek($this->result, 0);
Line #74 : while ($row = mysql_fetch_assoc($this->result))
Line #103 : mysql_data_seek($this->result, 0);
Line #107 : while ($row = mysql_fetch_object($this->result, $this->return_objects))
Line #115 : while ($row = mysql_fetch_object($this->result))
Line #133 : if ($this->offsetExists($offset) AND mysql_data_seek($this->result, $offset))
Line #160 : return mysql_fetch_object($this->result, $this->return_objects);
Line #164 : return mysql_fetch_object($this->result);
Line #170 : return mysql_fetch_assoc($this->result);
Line #174 : } // End Database_MySQL_Result
Ignore the space on line 65 in installer.php. When I tranfered the text, it wanted to change : p, without the space to the tongue out emoticon.