Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; InitService has a deprecated constructor in /page/lib/InitService.php on line 5
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Model has a deprecated constructor in /lib/model/Model.php on line 8
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB has a deprecated constructor in /lib/db/DB.php on line 4
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB_Sql has a deprecated constructor in /lib/db/DB_Sql.php on line 13
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DBSupport has a deprecated constructor in /lib/db/DBSupport.php on line 5
Warning: Declaration of Transactions::delete($tableName, $recordId) should be compatible with Model::delete($id) in /lib/model/transactions/Transactions.php on line 40
Warning: Declaration of MenuSerwisy::insert($id, $values) should be compatible with Model::insert($values, $denyFields = Array) in /lib/model/menu/MenuSerwisy.php on line 113
Warning: Declaration of MenuSerwisy::update($id, $values) should be compatible with Model::update($id, $values, $denyFields = Array) in /lib/model/menu/MenuSerwisy.php on line 131
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /lib/model/Model.php on line 179
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /lib/db/DB_Sql.php:86
Stack trace:
#0 /lib/db/DB_Sql.php(118): DB_Sql->connect()
#1 /lib/model/Model.php(94): DB_Sql->query('select distinct...')
#2 /lib/model/Model.php(102): Model->getDBStatment('select distinct...')
#3 /lib/model/menu/MenuSerwisy.php(53): Model->getDB('select distinct...')
#4 /page/lib/InitService.php(29): MenuSerwisy->selectByHostName('zeglarz-jachtow...')
#5 /page/index.php(8): InitService->start()
#6 {main}
thrown in /lib/db/DB_Sql.php on line 86