Project

General

Profile

Actions

Task #33082

closed

Improve error msg of "broken rootline"

Added by Georg Ringer almost 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2012-01-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

there can be various causes when the rootline is broken.
one which I get quite often when starting a new project is because I have something like

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';

but realurl is not installed or the field is not available.

therefore the query fails.

changing the error msg helps to provide some additional information. as the query is really simple (select $fields from pages where uid=$uid) having those 2 arguments it helps a lot to solve the puzzle

(patch will be pushed later, diff is just to not loose it.)

How to test: just add

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',xyz';

to your localconf and get the error.


Files

diff-rootline.diff (602 Bytes) diff-rootline.diff Georg Ringer, 2012-01-10 09:48
Actions

Also available in: Atom PDF