Hallo zusammen :-)
Ich habe seit kurzem leider das Problem, dass das Backend nicht mehr funktioniert - kein Login möglich ist und außerdem im Installtool trotz aktivierter Cookies eine Loginschleife kommt.
Folgende Schritte haben wohl irgendwie dahin geführt (wollte eine 1-Tree-Mehrsprachigkeit einbauen):
1. Neben Deutsch eine zweite Sprachversion angelegt
2. Folgende Extensions installiert: bb_languageselect,adaltas_realurl_i18n,cab_realurl_languageselector
3. Folgenden Code wollte ich in die hab ich in das Template gesetzt:
lib.languagemenu = TEXT
lib.languagemenu.postUserFunc = tx_cablanguageselector_pi1->main
lib.languagemenu.postUserFunc{
atag.before = <a xhref="”|”" mce_href="”|”">
atag.after = </a>
startUID = 5
allWrap =| / |*| | / |*| |
}
und den hier wollte ich dann in die localconf.php einbauen.
array(
‘GETvar’ => ‘L’,
‘valueMap’ => array(
‘en’ => ‘2′,
‘de’ => ‘0′,
‘fr’ => ‘4′,
),
‘valueDefault’ => ‘en’,
‘noMatch’ => ‘bypass’,
)
Nur war das wohl falsch... habs dann noch in der realurlconf.php versucht und in der relurl/ext_localconf.php ... irgendwie ging keines davon :-\ Es gab immer noch den folgenden Fehler - siehe:
http://www.aqua-info.eu/de/tipps.html
Hier mal die Dateien zur Einsicht
localconf.php
<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';
// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';
$TYPO3_CONF_VARS['EXT']['extList'] = 'tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin';
$typo_db_extTableDef_script = 'extTables.php';
## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['sitename'] = 'Volkmann und Schmitz WebMarketing'; // Modified or inserted by TYPO3 Install Tool.
$typo_db_username = xxxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'xxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'xxxxxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
$typo_db = 'db46794_3'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'XXXXXXXXXXXXXXXXX'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["SYS"]["compat_version"] = '4.0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = 'oTI2Q7sC'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['imagefile_ext'] = 'gif,jpg,jpeg,tif,bmp,pcx,tga,png'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['doNotCheckReferer'] = '1'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 04-05-2006 11:27:34
$TYPO3_CONF_VARS['EXT']['extConf']['css_styled_content'] = 'a:2:{s:15:"setPageTSconfig";s:1:"1";s:19:"removePositionTypes";s:1:"1";}'; // Modified or inserted by TYPO3 Extension Manager.
$TYPO3_CONF_VARS['EXT']['extList'] = 'css_styled_content,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,t3skin,metatags,w4_backup,kickstarter,realurl,frontend_edit_only,static_info_tables,templavoila,bypear,page_php_content,macina_banners,fl_seo_sitemap,danp_realurlconfigurator,jb_realurl_regeneration,ch_imgtext_renderengine,sourceopt,bvd_set_page_title,bb_languageselect,adaltas_realurl_i18n,cab_realurl_languageselector,realurlsettings'; // Modified or inserted by TYPO3 Extension Manager. ...
// Updated by TYPO3 Extension Manager 05-11-2006 18:43:16
$TYPO3_CONF_VARS['SYS']['curlUse'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['fileDenyPattern'] = '\\.php$|\\.php.$'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 06-11-2006 12:09:26
// Updated by TYPO3 Extension Manager 06-11-2006 18:49:04
$TYPO3_CONF_VARS['FE']['simulateStaticDocuments'] = '1'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 06-11-2006 18:52:30
$TYPO3_CONF_VARS['EXT']['extConf']['templavoila'] = 'a:1:{s:7:"enable.";a:1:{s:13:"oldPageModule";s:1:"0";}}'; // Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 13-11-2006 17:04:16
$TYPO3_CONF_VARS['EXT']['noEdit'] = '0'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 13-11-2006 18:36:12
// Updated by TYPO3 Extension Manager 13-11-2006 23:29:41
$TYPO3_CONF_VARS['EXT']['allowGlobalInstall'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['EXT']['allowSystemInstall'] = '1'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 14-11-2006 00:07:38
$TYPO3_CONF_VARS['EXT']['extConf']['realurlsettings'] = 'a:2:{s:18:"useRealURLSettings";s:6:"simple";s:17:"useRealURLCaching";s:1:"1";}'; // Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 20-11-2006 16:18:10
?><?php include(PATH_typo3conf.'realurlconf.php'); php?>
die realurlconf.php
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'respectSimulateStaticURLs' => 0,
'postVarSet_failureMode'=>'redirect_goodUpperDir',
),
'redirects_regex' => array (
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 1,
),
'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]',
),
),
),
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev'=>1,
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
);
php?>
und die ext_localconf.php
<?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,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1,
// 'postVarSet_failureMode' => 'redirect_goodUpperDir',
),
'rewrite' => array(
),
'preVars' => array(
/*
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
'valueDefault' => 'de',
),
),
*/
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => '1'
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
),
),
),
),
'fixedPostVarSets' => array(
),
'postVarSets' => array(
'_DEFAULT' => array(
//archive
'period' => array (
array (
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]',
//'valueMap => array()
),
array (
'GETvar' => 'tx_ttnews[pL]',
//'valueMap => array()
),
array (
'GETvar' => 'tx_ttnews[arc]',
'valueMap' => array(
'non-archived' => -1,
),
),
),
'browse' => array (
array (
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array (
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array (
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'article' => array(
array (
'GETvar' => 'tx_ttnews[backPid]',
// 'valueMap => array(
// ),
),
array (
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array (
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'maxLength' => 12,
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
?>
Also wie gesagt, beim Backend-Login komm ich nur noch zu einer komplett leeren weißen Seite.
Im Install-Tool kommt die Login-Schleife.
Habt ihr eine Idee, was ich da demoliert habe? :-(
Danke für jegliche Hilfe!
Jascha