Bug #17512
closedDebugflag in class.t3lib_db.php $debugOutput
0%
Description
the $debugOutput flag which is false by default should be controllable by localconf.
Reason:
In many situations typo3 and t3lib are symbolic links on a host not accesible by the poor devil how has to debug something in a customer installation.
If a sql error occurs like :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tt_news.t3ver_id,tt_news.t3ver_state,tt_news.t3ver_wsid,tt_news.t3ver_count,tt_n' at line 1 like a customer of mine has in tt_news
you as a consultant has no change to find out what is the complete sql query. The sql fragment given by mysql_error gives no clue what could be possible wrong.
In my case I am not able to debug the core because its an symbolic link for that link I do not have access with ftp. I am not able to set the flag true.
(issue imported from #M6113)
Updated by Alexander Opitz over 10 years ago
- Status changed from Accepted to Needs Feedback
- Target version deleted (
0) - Is Regression set to No
The debugOutput var can be configured by $GLOBALS['TYPO3_CONF_VARS']['SYS']['sqlDebug'] in the localconf.php/LocalConfiguration.php.
As this is possible, can we close this issue?
Updated by Alexander Opitz about 10 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Xavier Perseguers)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.