Skip to content

Commit

Permalink
* bugfix error message: Invalid database result detected: function TY…
Browse files Browse the repository at this point in the history
…PO3\CMS\Core\Database\DatabaseConnection->sql_free_result
  • Loading branch information
franzholz committed Jan 24, 2019
1 parent f5a9b69 commit 944c39a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 25 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,4 +1,9 @@
(add new changes on top of this file)


19-01-24 Franz Holzinger <franz@ttproducts.de>
* bugfix error message: Invalid database result detected: function TYPO3\CMS\Core\Database\DatabaseConnection->sql_free_result

18-01-19 Franz Holzinger <franz@ttproducts.de>
* do not debug direct SQL queries about the SESSION
* change the constants TRUE, FALSE and NULL into lower case
Expand Down
1 change: 0 additions & 1 deletion Classes/Database/DatabaseConnection.php
Expand Up @@ -373,7 +373,6 @@ public function exec_SELECTgetRows ($select_fields, $from_table, $where_clause,
$this->debug('exec_SELECTquery');
}
if ($this->sql_error()) {
$this->sql_free_result($res);
return null;
}
$output = array();
Expand Down
14 changes: 2 additions & 12 deletions composer.json
Expand Up @@ -16,7 +16,7 @@
{
"name": "Franz Holzinger",
"role": "Developer",
"homepage": "http://ttproducts.de"
"homepage": "https://ttproducts.de"
}
],
"license": [
Expand All @@ -34,19 +34,9 @@
"debug_mysql_db": "self.version",
"typo3-ter/debug-mysql-db": "self.version"
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"typo3/cms": "source",
"typo3/cms-core": "source",
"*": "dist"
}
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
"extension-key": "debug_mysql_db"
}
}
}
14 changes: 2 additions & 12 deletions ext_emconf.php
Expand Up @@ -2,26 +2,16 @@

$EM_CONF[$_EXTKEY] = array(
'title' => 'Debug Mysql DB',
'description' => 'Extends \\TYPO3\\CMS\\Core\\Database\\DatabaseConnection (former t3lib_db) to show Errors and Debug-Messages. Useful for viewing and debugging of sql-queries. Shows error messages if they occur. (For TYPO3 before 6.1 see versions 0.5.x)',
'description' => 'Extends \\TYPO3\\CMS\\Core\\Database\\DatabaseConnection (former t3lib_db) to show Errors and Debug-Messages. Useful for viewing and debugging of sql-queries. Shows error messages if they occur. (For TYPO3 before 6.1 use the versions 0.5.x)',
'category' => 'misc',
'shy' => 0,
'version' => '0.6.3',
'dependencies' => '',
'conflicts' => 'dbal',
'priority' => '',
'loadOrder' => '',
'module' => '',
'version' => '0.6.4',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
'modify_tables' => '',
'clearcacheonload' => 0,
'lockType' => '',
'author' => 'Stefan Geith / Franz Holzinger',
'author_email' => 'franz@ttproducts.de',
'author_company' => '',
'CGLcompliance' => '',
'CGLcompliance_note' => '',
'constraints' => array(
'depends' => array(
'php' => '5.3.0-7.99.99',
Expand Down

0 comments on commit 944c39a

Please sign in to comment.