Issue Task Closed

#33082Improve error msg of "broken rootline"

Georg Ringer 01/10/12, 09:48 updated 03/06/13, 21:52

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.

Reviews 3