![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
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? |
|
#2
| ||||
| ||||
| 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) |
|
#3
| |||
| |||
danke fpr Deine Antwort. Meine letzten beiden Zeilen sind: HTML-Code: ); ?> |
|
#4
| ||||
| ||||
| 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) |
|
#5
| |||
| |||
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' => '-', ), ), ), ), ), ), );?> |
|
#6
| ||||
| ||||
| 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) |
|
#7
| |||
| |||
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 .. |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ä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 |