Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 19.02.08, 16:27
Forum Newbie
 
Registriert seit: 04.02.08
Alter: 23
Beiträge: 28
Frage

localconf.php parse error installation extensions


Hallo Forum,

ich habe jetzt alle Beiträge mit localconf.php durchsucht und meine Frage wird nicht beantwortet: - wenn Jemand nen Link zu nem Beitrag hat, bitte her damit.. ;-)
Egeal welche Extension ich installiere meine localconf.php geht kaputt...
Ich erhalte eine Fehlermeldung parse error... unexpected t variable... usw... Ich denke nicht, dass die Konfiguration darin falsch ist, sondern, dass Typo die Datei einfach falsch zusammenschnippselt. Denn wenn ich Sie herunterladen und anschaue, stimmen die Zeilen nicht mehr und der Code ist quasi Banane.. JEMAND EINE IDEE?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 19.02.08, 21:47
Benutzerbild von robelix
Forum Stammgast
 
Registriert seit: 03.12.06
Beiträge: 187

Ich tippe mal darauf, daß in deiner localconf das ; am Ende der letzten Zeile fehlt. Und wenn dann darunter was dazugeschrieben wird, dann gibt's den Error.
__________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 19.02.08, 22:41
Forum Newbie
 
Registriert seit: 04.02.08
Alter: 23
Beiträge: 28

localconf.php parse error


danke fpr Deine Antwort.
Meine letzten beiden Zeilen sind:
HTML-Code:
);
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 20.02.08, 13:42
Benutzerbild von robelix
Forum Stammgast
 
Registriert seit: 03.12.06
Beiträge: 187

Poste mal den genauen Fehler und die localconf (Passwörter natürlich vorher raus!)
__________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #5  
Alt 21.02.08, 17:06
Forum Newbie
 
Registriert seit: 04.02.08
Alter: 23
Beiträge: 28
Frage

localconf.php


DANKE für deine Antwort!
Hier die funktionierende localconf.php:
Code:
<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';

    // Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'xxxx9';

$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!

$typo_db_username = 'wsssssss';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'dfdfdfdf';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'localhost';    //  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = 'bdfdfdfdff';    //  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.1';    //  Modified or inserted by TYPO3 Install Tool.
$typo_db = 'udfdfdf';    //  Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 30-04-2006 16:46:05
$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,static_info_tables,templavoila,realurl';    // Modified or inserted by TYPO3 Extension Manager. 
$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.
$TYPO3_CONF_VARS['EXT']['extConf']['realurl'] = 'a:3:{s:10:"configFile";s:26:"typo3conf/realurl_conf.php";s:14:"enableAutoConf";s:1:"1";s:14:"autoConfFormat";s:1:"0";}';    //  Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 16-02-08 23:57:17

$TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(

       'init' => array(

              'enableCHashCache' => 1,

              'enableUrlDecodeCache' => 1,

              'enableUrlEncodeHash' => 1,

       ),

                   
        'pagePath' => array(

           'type' => 'user',

           'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',

           'spaceCharacter' => '-',

           'languageGetVar' => 'L',

           'expireDays' => 3,

           'rootpage_id' => '169'

    ),



        'fileName' => array (

           'defaultToHTMLsuffixOnPrev' => 1,

           'index' => array(

                  'page.html' => array(

                         'keyValues' => array (

                                'type' => 1,

                         ),

                  ),

           ),

    ),

        'fixedPostVarSets' => array(

       ),

           'postVarSets' => array(

              '_DEFAULT' => array(

                     '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' => '-',

                              ),

                       ),

                ),

            ),

        ),

    ), 

);
?>

Hier nach der Installation einer Extension:
Code:
## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!

$TYPO3_CONF_VARS['EXT']['extConf']['th_mailformplus'] = 'a:1:{s:12:"useReference";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,static_info_tables,templavoila,realurl,th_mailformplus';    //  Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 21-02-08 16:58:18
<?php$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';    // Default password is "joh316" :$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bd45f79';$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!$typo_db_username = '0';    //  Modified or inserted by TYPO3 Install Tool.$typo_db_password = 'uZlkjbhlhl4';    //  Modified or inserted by TYPO3 Install Tool.$typo_db_host = 'localhost';    //  Modified or inserted by TYPO3 Install Tool.$TYPO3_CONF_VARS['SYS']['encryptionKey'] = 'bdf92df57fgadfg9';    //  Modified or inserted by TYPO3 Install Tool.$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.1';    //  Modified or inserted by TYPO3 Install Tool.$typo_db = 'us_1';    //  Modified or inserted by TYPO3 Install Tool.// Updated by TYPO3 Install Tool 30-04-2006 16:46:05$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,static_info_tables,templavoila,realurl';    // Modified or inserted by TYPO3 Extension Manager. $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.$TYPO3_CONF_VARS['EXT']['extConf']['realurl'] = 'a:3:{s:10:"configFile";s:26:"typo3conf/realurl_conf.php";s:14:"enableAutoConf";s:1:"1";s:14:"autoConfFormat";s:1:"0";}';    //  Modified or inserted by TYPO3 Extension Manager.// Updated by TYPO3 Extension Manager 16-02-08 23:57:17$TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(       'init' => array(              'enableCHashCache' => 1,              'enableUrlDecodeCache' => 1,              'enableUrlEncodeHash' => 1,       ),                           'pagePath' => array(           'type' => 'user',           'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',           'spaceCharacter' => '-',           'languageGetVar' => 'L',           'expireDays' => 3,           'rootpage_id' => '169'    ),        'fileName' => array (           'defaultToHTMLsuffixOnPrev' => 1,           'index' => array(                  'page.html' => array(                         'keyValues' => array (                                'type' => 1,                         ),                  ),           ),    ),        'fixedPostVarSets' => array(       ),           'postVarSets' => array(              '_DEFAULT' => array(                     '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' => '-',                              ),                       ),                ),            ),        ),    ), );?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #6  
Alt 21.02.08, 19:25
Benutzerbild von robelix
Forum Stammgast
 
Registriert seit: 03.12.06
Beiträge: 187

Hab ja schon viel gesehen, aber noch nie, daß eine localconf derart zerpflückt wird.

Ist die ev. mal von einer Linux- auf eine Windows-Kiste oder umgekehrt verschoben worden und hat jetzt die "falsche" Sorte Newlines drin?

Sonst fällt mir dazu leider nix mehr ein.
__________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #7  
Alt 21.02.08, 19:40
Forum Newbie
 
Registriert seit: 04.02.08
Alter: 23
Beiträge: 28

localconf.php


ja das ist echt heftig,
ich hatte das gleiche Problem bei Servern von DomaFac und jezt alle neu bei neveroff.net installiert. Sogar bei neuer Typo Verison. Egal welche Extension...Sobald typo auf die localconf.php greift, is aus... sogar mit CHMOD 777
..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Parse error: syntax error..... Lowfyr TYPO3 4.x Fragen und Probleme 5 19.06.08 16:38
Parse error: syntax error, unexpected '[' in Oli76 Suchmaschinenfreundliche URLs (SEO) 2 01.09.07 18:18
Parse Error im Backend Bereich teq TYPO3 4.x Backend 1 20.07.07 11:32
Parse Error LoveAndPain HTML & CSS 3 01.05.07 16:21
Dependency Error bei Installation von Extensions Niklas Lazinbee Alle anderen Extensions 0 01.06.06 22:22


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:32 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0