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

Also available in: Atom PDF