Backend-Login -> Leere Seite

  • gaukeleier gaukeleie...
    Typ im Roten Hemd
    0 x
    3 Beiträge
    0 Hilfreiche Beiträge
    20. 11. 2006, 19:10

    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:

    [TS]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 =| / |*| | / |*| |
    }[/TS]

    und den hier wollte ich dann in die localconf.php einbauen.

    1. ‘GETvar’ => ‘L’,
    2. ‘valueMap’ => array(
    3. ‘en’ =>2&#8242;,
    4. ‘de’ =>0&#8242;,
    5. ‘fr’ =>4&#8242;,
    6. ),
    7. ‘valueDefault’ => ‘en’,
    8. ‘noMatch’ => ‘bypass’,
    9. )

    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

    1. <?php
    2. $TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';
    3.  
    4. // Default password is "joh316" :
    5. $TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';
    6.  
    7. $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';
    8.  
    9. $typo_db_extTableDef_script = 'extTables.php';
    10.  
    11.  
    12. ## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!
    13.  
    14. $TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/'; // Modified or inserted by TYPO3 Install Tool.
    15. $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm'; // Modified or inserted by TYPO3 Install Tool.
    16. $TYPO3_CONF_VARS['SYS']['sitename'] = 'Volkmann und Schmitz WebMarketing'; // Modified or inserted by TYPO3 Install Tool.
    17. $typo_db_username = xxxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
    18. $typo_db_password = 'xxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
    19. $typo_db_host = 'xxxxxxxxxxx'; // Modified or inserted by TYPO3 Install Tool.
    20. $typo_db = 'db46794_3'; // Modified or inserted by TYPO3 Install Tool.
    21. $TYPO3_CONF_VARS['BE']['installToolPassword'] = 'XXXXXXXXXXXXXXXXX'; // Modified or inserted by TYPO3 Install Tool.
    22. $TYPO3_CONF_VARS["SYS"]["compat_version"] = '4.0'; // Modified or inserted by TYPO3 Install Tool.
    23. $TYPO3_CONF_VARS['SYS']['encryptionKey'] = 'oTI2Q7sC'; // Modified or inserted by TYPO3 Install Tool.
    24. $TYPO3_CONF_VARS['GFX']['imagefile_ext'] = 'gif,jpg,jpeg,tif,bmp,pcx,tga,png'; // Modified or inserted by TYPO3 Install Tool.
    25. $TYPO3_CONF_VARS['SYS']['doNotCheckReferer'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    26. // Updated by TYPO3 Install Tool 04-05-2006 11:27:34
    27. $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.
    28. $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. ...
    29. // Updated by TYPO3 Extension Manager 05-11-2006 18:43:16
    30. $TYPO3_CONF_VARS['SYS']['curlUse'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    31. $TYPO3_CONF_VARS['BE']['fileDenyPattern'] = '\\.php$|\\.php.$'; // Modified or inserted by TYPO3 Install Tool.
    32. // Updated by TYPO3 Install Tool 06-11-2006 12:09:26
    33. // Updated by TYPO3 Extension Manager 06-11-2006 18:49:04
    34. $TYPO3_CONF_VARS['FE']['simulateStaticDocuments'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    35. // Updated by TYPO3 Install Tool 06-11-2006 18:52:30
    36. $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.
    37. // Updated by TYPO3 Extension Manager 13-11-2006 17:04:16
    38. $TYPO3_CONF_VARS['EXT']['noEdit'] = '0'; // Modified or inserted by TYPO3 Install Tool.
    39. // Updated by TYPO3 Install Tool 13-11-2006 18:36:12
    40. // Updated by TYPO3 Extension Manager 13-11-2006 23:29:41
    41. $TYPO3_CONF_VARS['EXT']['allowGlobalInstall'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    42. $TYPO3_CONF_VARS['EXT']['allowSystemInstall'] = '1'; // Modified or inserted by TYPO3 Install Tool.
    43. // Updated by TYPO3 Install Tool 14-11-2006 00:07:38
    44. $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.
    45. // Updated by TYPO3 Extension Manager 20-11-2006 16:18:10
    46.  
    47. ?><?php include(PATH_typo3conf.'realurlconf.php'); php?>

    die realurlconf.php

    1. <?php
    2. $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
    3. 'init' => array(
    4. 'enableCHashCache' => 1,
    5. 'appendMissingSlash' => 'ifNotFile',
    6. 'enableUrlDecodeCache' => 1,
    7. 'enableUrlEncodeCache' => 1,
    8. 'respectSimulateStaticURLs' => 0,
    9. 'postVarSet_failureMode'=>'redirect_goodUpperDir',
    10. ),
    11. 'redirects_regex' => array (
    12.  
    13. ),
    14. 'preVars' => array(
    15. 'GETvar' => 'no_cache',
    16. 'valueMap' => array(
    17. 'no_cache' => 1,
    18. ),
    19. 'noMatch' => 'bypass',
    20. ),
    21. 'GETvar' => 'L',
    22. 'valueMap' => array(
    23. 'en' => '1',
    24. ),
    25. 'noMatch' => 'bypass',
    26. ),
    27. ),
    28. 'pagePath' => array(
    29. 'type' => 'user',
    30. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
    31. 'spaceCharacter' => '-',
    32. 'languageGetVar' => 'L',
    33. 'expireDays' => 7,
    34. 'rootpage_id' => 1,
    35. ),
    36.  
    37.  
    38. 'postVarSets' => array(
    39. '_DEFAULT' => array(
    40. // news archive parameters
    41. 'archive' => array(
    42. 'GETvar' => 'tx_ttnews[year]' ,
    43. ),
    44. 'GETvar' => 'tx_ttnews[month]' ,
    45. 'valueMap' => array(
    46. 'january' => '01',
    47. 'february' => '02',
    48. 'march' => '03',
    49. 'april' => '04',
    50. 'may' => '05',
    51. 'june' => '06',
    52. 'july' => '07',
    53. 'august' => '08',
    54. 'september' => '09',
    55. 'october' => '10',
    56. 'november' => '11',
    57. 'december' => '12',
    58. )
    59. ),
    60. ),
    61. // news pagebrowser
    62. 'browse' => array(
    63. 'GETvar' => 'tx_ttnews[pointer]',
    64. ),
    65. ),
    66. // news categories
    67. 'select_category' => array (
    68. 'GETvar' => 'tx_ttnews[cat]',
    69. ),
    70. ),
    71. // news articles and searchwords
    72. 'article' => array(
    73. 'GETvar' => 'tx_ttnews[tt_news]',
    74. 'lookUpTable' => array(
    75. 'table' => 'tt_news',
    76. 'id_field' => 'uid',
    77. 'alias_field' => 'title',
    78. 'addWhereClause' => ' AND NOT deleted',
    79. 'useUniqueCache' => 1,
    80. 'useUniqueCache_conf' => array(
    81. 'strtolower' => 1,
    82. 'spaceCharacter' => '-',
    83. ),
    84. ),
    85. ),
    86. 'GETvar' => 'tx_ttnews[swords]',
    87. ),
    88. ),
    89. ),
    90. ),
    91.  
    92.  
    93. 'fileName' => array(
    94. 'defaultToHTMLsuffixOnPrev'=>1,
    95. 'index' => array(
    96. 'rss.xml' => array(
    97. 'keyValues' => array(
    98. 'type' => 100,
    99. ),
    100. ),
    101. 'rss091.xml' => array(
    102. 'keyValues' => array(
    103. 'type' => 101,
    104. ),
    105. ),
    106. 'rdf.xml' => array(
    107. 'keyValues' => array(
    108. 'type' => 102,
    109. ),
    110. ),
    111. 'atom.xml' => array(
    112. 'keyValues' => array(
    113. 'type' => 103,
    114. ),
    115. ),
    116. ),
    117. ),
    118. );
    119. php?>

    und die ext_localconf.php

    1. <?php
    2. $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tstemplate.php'] ['linkData-PostProc'] []
    3. = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
    4. $TYPO3_CONF_VARS['SC_OPTIONS'] ['tslib/class.tslib_fe.php'] ['checkAlternativeIdMethods-PostProc'] []
    5. = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
    6. $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php'] ['clearAllCache_additionalTables'] ['tx_realurl_urldecodecache']
    7. = 'tx_realurl_urldecodecache';
    8. $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php'] ['clearAllCache_additionalTables'] ['tx_realurl_urlencodecache']
    9. = 'tx_realurl_urlencodecache';
    10. $TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=
    11. ',tx_realurl_pathsegment,alias,nav_title,title';
    12. $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(
    13. 'init' => array(
    14. 'enableCHashCache' => 1,
    15. 'enableUrlDecodeCache' => 1,
    16. 'enableUrlEncodeHash' => 1,
    17. // 'postVarSet_failureMode' => 'redirect_goodUpperDir',
    18. ),
    19. 'rewrite' => array(
    20. ),
    21. 'preVars' => array(
    22. /*
    23. array(
    24. 'GETvar' => 'L',
    25. 'valueMap' => array(
    26. 'de' => '0',
    27. 'en' => '1',
    28. 'valueDefault' => 'de',
    29. ),
    30. ),
    31.  
    32. */
    33.  
    34. ),
    35. 'pagePath' => array(
    36. 'type' => 'user',
    37. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
    38. 'spaceCharacter' => '-',
    39. 'languageGetVar' => 'L',
    40. 'expireDays' => 3,
    41. 'rootpage_id' => '1'
    42. ),
    43. 'fileName' => array (
    44. 'defaultToHTMLsuffixOnPrev' => 1,
    45. 'index' => array(
    46. 'page.html' => array(
    47. 'keyValues' => array (
    48. 'type' => 1,
    49. ),
    50. ),
    51. ),
    52. ),
    53. 'fixedPostVarSets' => array(
    54. ),
    55. 'postVarSets' => array(
    56. '_DEFAULT' => array(
    57. //archive
    58. 'period' => array (
    59. 'condPrevValue' => -1,
    60. 'GETvar' => 'tx_ttnews[pS]',
    61. //'valueMap => array()
    62. ),
    63. 'GETvar' => 'tx_ttnews[pL]',
    64. //'valueMap => array()
    65. ),
    66.  
    67. 'GETvar' => 'tx_ttnews[arc]',
    68. 'valueMap' => array(
    69. 'non-archived' => -1,
    70. ),
    71. ),
    72. ),
    73.  
    74. 'browse' => array (
    75. 'GETvar' => 'tx_ttnews[pointer]',
    76. ),
    77. ),
    78. 'select' => array (
    79. 'GETvar' => 'tx_ttnews[cat]',
    80. 'lookUpTable' => array (
    81. 'table' => 'tt_news_cat',
    82. 'id_field' => 'uid',
    83. 'alias_field' => 'title',
    84. 'addWhereClause'=> 'AND NOT deleted',
    85. 'useUniqueCache'=> 1,
    86. 'useUniqueCache_conf' => array (
    87. 'strtolower' => 1,
    88. 'spaceCharacter' => '-',
    89. ),
    90. ),
    91. ),
    92. ),
    93. 'article' => array(
    94. 'GETvar' => 'tx_ttnews[backPid]',
    95. // 'valueMap => array(
    96. // ),
    97. ),
    98. 'GETvar' => 'tx_ttnews[tt_news]',
    99. 'lookUpTable' => array (
    100. 'table' => 'tt_news',
    101. 'id_field' => 'uid',
    102. 'alias_field' => 'title',
    103. 'maxLength' => 12,
    104. 'addWhereClause'=> 'AND NOT deleted',
    105. 'useUniqueCache'=> 1,
    106. 'useUniqueCache_conf' => array (
    107. 'strtolower' => 1,
    108. 'spaceCharacter' => '-',
    109. ),
    110. ),
    111. ),
    112. ),
    113. ),
    114. ),
    115. );
    116. ?>

    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


  • 1
  • gaukeleier gaukeleie...
    Typ im Roten Hemd
    0 x
    3 Beiträge
    0 Hilfreiche Beiträge
    21. 11. 2006, 12:13

    Nene ... hat sich erledigt mein Problem!
    Blöderweise hatte ich nach dem abschließenden PHP?> noch eine Leerzeile gesetzt!

  • 1