Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Upload has a deprecated constructor in /home/lagunaph/public_html/include/lib/core/Upload.php on line 7
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Newsletter has a deprecated constructor in /home/lagunaph/public_html/include/lib/siteclasses/Newsletter.php on line 11
testCannot modify header information - headers already sent by (output started at /home/lagunaph/public_html/include/lib/core/Upload.php:7) in /index.php (41)
36 37 38 39 40 41 42 43 44 45 46
| } else if(file_exists($template)) {
echo 'test'; $content_var = $mapped_controller;
} else {
echo 'test'; header("HTTP/1.1 404 Not Found");
$content_var = 'error_not_found';
}
// left and right columns
// categorii
|
Undefined property: Config::$mysql in /include/lib/core/db_mysql.php (21)
16 17 18 19 20 21 22 23 24 25 26
| var $Link_ID = null; var $Query_ID = null; function DB_Sql($query = '') { $conn = $GLOBALS['config']->mysql; $this->Host = $conn->host; $this->Database = $conn->database; $this->User = $conn->user; $this->Password = $conn->password;
|
Trying to get property 'host' of non-object in /include/lib/core/db_mysql.php (22)
17 18 19 20 21 22 23 24 25 26 27
| var $Query_ID = null; function DB_Sql($query = '') { $conn = $GLOBALS['config']->mysql; $this->Host = $conn->host; $this->Database = $conn->database; $this->User = $conn->user; $this->Password = $conn->password; $this->Debug = (bool)(@$GLOBALS['config']->debug_mode);
|
Trying to get property 'database' of non-object in /include/lib/core/db_mysql.php (23)
18 19 20 21 22 23 24 25 26 27 28
| function DB_Sql($query = '') { $conn = $GLOBALS['config']->mysql; $this->Host = $conn->host; $this->Database = $conn->database; $this->User = $conn->user; $this->Password = $conn->password; $this->Debug = (bool)(@$GLOBALS['config']->debug_mode);
|
Trying to get property 'user' of non-object in /include/lib/core/db_mysql.php (24)
19 20 21 22 23 24 25 26 27 28 29
| function DB_Sql($query = '') { $conn = $GLOBALS['config']->mysql; $this->Host = $conn->host; $this->Database = $conn->database; $this->User = $conn->user; $this->Password = $conn->password; $this->Debug = (bool)(@$GLOBALS['config']->debug_mode); $this->query($query);
|
Trying to get property 'password' of non-object in /include/lib/core/db_mysql.php (25)
20 21 22 23 24 25 26 27 28 29 30
| { $conn = $GLOBALS['config']->mysql; $this->Host = $conn->host; $this->Database = $conn->database; $this->User = $conn->user; $this->Password = $conn->password; $this->Debug = (bool)(@$GLOBALS['config']->debug_mode); $this->query($query); }
|
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/lagunaph/public_html/include/lib/core/db_mysql.php:52
Stack trace:
#0 /home/lagunaph/public_html/include/lib/core/db_mysql.php(78): DB_Sql->connect()
#1 /home/lagunaph/public_html/include/lib/core/db_mysql.php(29): DB_Sql->query('SELECT `id`, `t...')
#2 /home/lagunaph/public_html/include/lib/core/BaseObject.php(300): DB_Sql->DB_Sql('SELECT `id`, `t...')
#3 /home/lagunaph/public_html/include/lib/siteclasses/Categorii.php(16): BaseObject->getAll('ORDER by `displ...')
#4 /home/lagunaph/public_html/index.php(48): Categorii->getCategoriiAranjate()
#5 {main}
thrown in /home/lagunaph/public_html/include/lib/core/db_mysql.php on line 52