just2b schrieb
- die htaccess gibts noch?
- aktuelle version von realurl installiert?
- update im EM /install tool gemacht?
"geht nicht" ist keine hilfreiche beschreibung"
Hallo Georg,
sorry, das war wenig hilfreich von mir.
Also:
zu 1:
Die .htaccess existiert noch, habe sie auch nach dem Upgrade nicht angefasst.
Zu 2:
Realurl ist mit der Version 1.7.0 installiert.
Zu 3:
Im Install Tool habe ich alle Änderungen durchgeführt (inkl. Compare). Auch im Extension Manager bei Realurl gibts keine ausstehenden Änderungen.
Als Fehler erscheint jedenfalls auf Seiten der Root-Ebene oder der ersten Ebene direkt unter root die Meldung: "No TypoScript template found!", bei Seiten der zweiten und folgenden Ebenen merkwürdigerweise nicht.
Bei einer anderen Installation, bei der ich eine 404-Fehlerseite definiert habe, erscheint dann die 404-Meldung beim Klick auf die o.g. Seiten der Root- bzw. ersten Ebene nach Root.
Hier sicherheitshalber der Auszug aus der Realurl-Config:
<?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,subtitle,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1,
'respectSimulateStaticURLs' => 1,
'appendMissingSlash' => 'ifNotFile',
// 'postVarSet_failureMode' => 'redirect_goodUpperDir',
),
'rewrite' => array(
),
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
'valueDefault' => 'de',
),
'GETvar' => 'type',
'valueMap' => array(
'print' => '98',
'pdf' => '123',
'rss' => '100',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array (
'type' => 'user',
'userFunc' => 'EXT:aoe_realurlpath/class.tx_aoerealurlpath_pagepath.php:&tx_aoerealurlpath_pagepath->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => '4',
'segTitleFieldList'=>'alias,tx_aoerealurlpath_overridesegment,nav_title,title,subtitle',
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'index.html' => array(
'keyValues' => array (
'type' => 0,
),
),
'print.html' => array(
'keyValues' => array (
'type' => 98,
),
),
'pdf.html' => array(
'keyValues' => array (
'type' => 123,
),
),
'rss.xml' => array(
'keyValues' => array (
'type' => 100,
),
),
),
),
'fixedPostVarSets' => array(
),
'postVarSets' => array(
'_DEFAULT' => array(
// CE_Gallery
'album' => array(
array(
'GETvar' => 'tx_cegallery_pi1[album]',
),
),
'foto' => array(
array(
'GETvar' => 'tx_cegallery_pi1[apage]',
),
),
//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' => '-',
),
),
),
),
'category' => array(
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
'date' => array(
array('GETvar' => 'tx_ttnews[day]' , ),
array('GETvar' => 'tx_ttnews[month]' , ),
array (
'GETvar' => 'tx_ttnews[year]',
'valueMap' => array(
'2007' => '2007',
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_ttnews[month]',
'valueMap' => array(
'Januar' => '1',
'Februar' => '2',
'Maerz' => '3',
'April' => '4',
'Mai' => '5',
'Juni' => '6',
'Juli' => '7',
'August' => '8',
'September' => '9',
'Oktober' => '10',
'November' => '11',
'Dezember' => '12',
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array (
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
// 'maxLength' => 50,
'addWhereClause'=> 'AND NOT deleted',
'useUniqueCache'=> 1,
'useUniqueCache_conf' => array (
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
?>
Und hier die .htaccess:
#------------------------------------------------------------------------------
# beginning of static file cache ruleset
# Don't pull *.xml, *.css etc. from the cache
RewriteCond %{REQUEST_FILENAME} !^.*\.xml$
RewriteCond %{REQUEST_FILENAME} !^.*\.css$
RewriteCond %{REQUEST_FILENAME} !^.*\.js$
# Check for Ctrl Shift reload
RewriteCond %{HTTP:pragma} !no-cache
RewriteCond %{HTTP:Cache-Control} !no-cache
# Don't cache HTTPS traffic by default. You may choose to comment out this
# option if your site runs fully on https. If your site runs mixed, you will
# not want https traffic to be cached in the same typo3temp folder where it can
# be requested over http.
# Enable this if you use a mixed setup.
#RewriteCond %{HTTPS} off
# NO backend user is logged in. Please note that the be_typo_user expires at the
# end of the browser session. So, although you have already logged out of the
# backend, you will still have to either restart your browser or remove the
# cookie manually for this rule to work.
RewriteCond %{HTTP_COOKIE} !be_typo_user [NC]
# NO frontend user is logged in. Logged in frontend users may see different
# information than anonymous users. But the anonymous version is cached. So
# don't show the anonymous version to logged in frontend users.
RewriteCond %{HTTP_COOKIE} !nc_staticfilecache [NC]
# We only redirect GET requests
RewriteCond %{REQUEST_METHOD} GET
# We only redirect URI's without query strings
RewriteCond %{QUERY_STRING} ^$
# We only redirect if a cache file actually exists
# Uncomment the following two lines if you use realurl:
# RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}index.html -f
# RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI} [L]
# Uncomment the following two lines if you use simulateStaticDocuments:
RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html -f
RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html [L]
# end of static file cache ruleset
#------------------------------------------------------------------------------
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php
RewriteRule ^[^/]*\.html$ index.php