[TYPO3] typo4.0rc2 and realurl
Artiom Lunev
artiom1st at yahoo.com
Mon Apr 3 13:00:43 CEST 2006
Artiom Lunev wrote:
> Ries van Twisk wrote:
>> Artiom Lunev wrote:
>>
>>> hi,
>>>
>>> I tried realurl with new typo, and I get this error:
>>>
>>> Warning: reset(): Passed variable is not an array or object in
>>> /home/share/cms/typo3_src-4.0rc2/typo3/sysext/cms/tslib/class.tslib_fe.php
>>> on line 3592
>>>
>>> Warning: Variable passed to each() is not an array or object in
>>> /home/share/cms/typo3_src-4.0rc2/typo3/sysext/cms/tslib/class.tslib_fe.php
>>> on line 3593
>>>
>>> Warning: Cannot modify header information - headers already sent by
>>> (output started at
>>> /home/share/cms/typo3_src-4.0rc2/typo3/sysext/cms/tslib/class.tslib_fe.php:3592)
>>> in
>>> /home/share/cms/casinos2/typo3conf/ext/realurl/class.tx_realurl.php
>>> on line 956
>>>
>>> Warning: Cannot modify header information - headers already sent by
>>> (output started at
>>> /home/share/cms/typo3_src-4.0rc2/typo3/sysext/cms/tslib/class.tslib_fe.php:3592)
>>> in
>>> /home/share/cms/casinos2/typo3conf/ext/realurl/class.tx_realurl.php
>>> on line 957
>>>
>>>
>>>
>>> when I try to access any file. (when I go directly to domain, it
>>> shows home page ok, I get this error when I'm trying any link on that
>>> home page)
>>>
>>>
>>> Any I ideas what might be the problem?
>>>
>>> Regards,
>>> Artiom.
>>> _______________________________________________
>>>
>>>
>> Artiom,
>>
>> can you post your settings? I am on RC2 myself with the latest (do you
>> ?) version of realUrl and I don't gave problems.
>>
>> Ries
>>
>
>
>
> typo3 v4.0rc2
> realurl 1.1.0
> localconf.php:
>
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][]
> = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
> $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][]
> = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache']
> = 'tx_realurl_urldecodecache';
> $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache']
> = 'tx_realurl_urlencodecache';
> $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
>
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
> '_DEFAULT' => array(
> 'init' => array(
> 'enableCHashCache' => 1,
> 'enableUrlDecodeCache' => 0,
> 'enableUrlEncodeHash' => 0,
> 'appendMissingSlash' =>'ifNotFile',
> 'respectSimulateStaticURLs' => 0,
> 'postVarSet_failureMode' => 'redirect_goodUpperDir'
> ),
> 'preVars' => array(
> array(
> 'GETvar' => 'no_cache',
> 'valueMap' => array(
> 'no_cache' => 1,
> ),
> 'noMatch' => 'bypass',
> ),
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> ),
> 'valueDefault' => 'en',
> ),
> ),
> 'fileName' => array (
> 'defaultToHTMLsuffixOnPrev' => 1,
> 'index' => array(
> 'backend.php' => array(
> 'keyValues' => array (
> 'type' => 100,
> )
> ),
> 'print' => array(
> 'keyValues' => array(
> 'type' => 98,
> )
> ),
> ),
> ),
> 'postVarSets' => array(
> '_DEFAULT' => array (
> 'article' => array(
> array(
> 'GETvar' => 'tx_ttnews[tt_news]',
> ),
> array(
> 'GETvar' => 'tx_ttnews[backPid]',
> ),
> ),
> 'category' => array(
> array(
> 'GETvar' => 'tx_ttnews[cat]',
> ),
> ),
> 'neste' => array(
> array(
> 'GETvar' => 'tx_ttnews[pointer]',
> ),
> ),
> ),
> ),
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 1,
> 'disablePathCache' => 0,
> 'segTitleFieldList' =>
> 'tx_realurl_pathsegment,alias,nav_title,title',
> 'excludePageIds' => null
> ),
> ),
> );
>
>
>
>
> When I remove realurl from the template setup, all works ok.
>
>
>
> Regards,
> Artiom.
Any ideas?
Regards,
Artiom.
More information about the TYPO3-english
mailing list