Project

General

Profile

Actions

Bug #17512

closed

Debugflag in class.t3lib_db.php $debugOutput

Added by Christoph Eisenmann almost 17 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2007-08-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

Updated by Alexander Opitz almost 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?

Actions #2

Updated by Alexander Opitz over 9 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.

Actions

Also available in: Atom PDF