[TYPO3-english] Parse-error in localconf for no obvious reason

Daniel Lundsgaard Skovenborg waldeinburg at gmail.com
Fri Jan 25 23:47:22 CET 2013


Hi,

Sometimes, randomly it seems, I get the following error:
*Parse error*: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting ')' in* [...path...]typo3conf/temp_CACHED_psbc6d_ext_localconf.php
* on line *25*
If I update the page the error disappears. It also occurs with the FE-cache
(same error, same line).

If I download the file I can't see any reason for this error:

<?php


$GLOBALS['TYPO3_LOADED_EXT'] = [...snip...];


###########################
## EXTENSION: cms
## FILE:     [...path...]typo3/sysext/cms/ext_localconf.php
###########################

$_EXTKEY = 'cms';
$_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY];


if (!defined ('TYPO3_MODE'))     die ('Access denied.');

t3lib_extMgm::addUserTSConfig('
    options.saveDocView = 1
    options.saveDocNew = 1
    options.saveDocNew.pages = 0
    options.saveDocNew.pages_language_overlay = 0
');

[line 25 is here:] t3lib_extMgm::addPageTSConfig('
[...long string...]
');

Any ideas how to debug this?

Regards,
Daniel Lundsgaard Skovenborg

-- 
http://waldeinburg.dk
Bubula² (http://bubula2.com)


More information about the TYPO3-english mailing list