Ich habe gerade das gleiche Problem und habe die FE-index.php schon einmal geändert, dort waren zwei Fehler. Ausserdem habe ich ein Debug-Output eingebaut, das man anzeigen kann, wenn die Variable $debug auf 1 gesetzt wird:
PHP-Code:
<?php
/***************************************************************
* Copyright notice
*
* (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
*
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/**
* This is the MAIN DOCUMENT of the TypoScript driven standard front-end (from the "cms" extension)
* Basically this is the "index.php" script which all requests for TYPO3 delivered pages goes to in the frontend (the website)
*
* $Id: index.php 1421 2006-04-10 09:27:15Z mundaun $
*
* @author Ren�Fritz <r.fritz(at)colorcube.de>
* @package TYPO3
* @subpackage tslib
*
*
* Debug-Function included by David Bruchmann <agentur(at)bruchmann-web.de>
* Some Inquiries also have been changed
*
*/
// *******************************
// Change To 1 To Debug
// *******************************
$debug = 0;
// define path to tslib/ here if required
// example:
// $configured_tslib_path = '/var/www/mysite/typo3/sysext/cms/tslib/';
$configured_tslib_path = '';
// *******************************
// Set error reporting
// *******************************
error_reporting (E_ALL ^ E_NOTICE);
// ******************
// Constants defined
// ******************
define('PATH_thisScript',str_replace('//','/',str_replace('\\','/',(php_sapi_name()=='cgi'||php_sapi_name()=='isapi'||php_sapi_name()=='cgi-fcgi')&&($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED'])?($_SERVER['ORIG_PATH_TRANSLATED']?$_SERVER['ORIG_PATH_TRANSLATED']:$_SERVER['PATH_TRANSLATED']:sad:sad:$_SERVER['ORIG_SCRIPT_FILENAME']?$_SERVER['ORIG_SCRIPT_FILENAME']:$_SERVER['SCRIPT_FILENAME']))));
if ($debug) {
echo '@ PATH_thisScript= '.PATH_thisScript.' @<br />';
echo '@ $_SERVER[\'ORIG_PATH_TRANSLATED\']'.$_SERVER['ORIG_PATH_TRANSLATED'].' @<br />';
echo '@ $_SERVER[\'ORIG_SCRIPT_FILENAME\']'.$_SERVER['ORIG_SCRIPT_FILENAME'].' @<br />';
echo '@ $_SERVER[\'PATH_TRANSLATED\']'.$_SERVER['PATH_TRANSLATED'].' @<br />';
echo '@ $_SERVER[\'SCRIPT_FILENAME\']'.$_SERVER['SCRIPT_FILENAME'].' @<br />';
echo '@ php_sapi_name()= '.php_sapi_name().' @<br />';
}
define('PATH_site', dirname(PATH_thisScript).'/');
if ($debug) {
echo '@ PATH_site= '.PATH_site.' @<br />';
echo '@ following Strings are searched in Filesystem: @<br />';
echo '@ 1) PATH_site.\'typo3/sysext/cms/tslib/\'= '.PATH_site.'typo3/sysext/cms/tslib/ @<br />';
echo '@ 2) PATH_site.\'tslib/\'= '.PATH_site.'tslib/ @<br />';
}
if (@is_dir(PATH_site.'typo3/sysext/cms/tslib/')) {
define('PATH_tslib',PATH_site.'typo3/sysext/cms/tslib/');
if ($debug) echo '@ ACCESS (Case 1:sad: Folder Found In directory:'.PATH_tslib.'<br>';
}
elseif (@is_dir(PATH_site.'tslib/')) {
define('PATH_tslib', PATH_site.'tslib/');
if ($debug) echo '@ ACCESS (Case 2:sad: Folder Found In directory:'.PATH_tslib.'<br>';
}
else {
if ($debug) echo '@ <span style=\'color:red;font-weight:bold\'>NO ACCESS (Case 3:sad:<br>The Folder \'tslib\' was neither found in Directory </span>'. '<span style=\'color:blue;font-weight:bold\'>'.PATH_site.'typo3/sysext/cms/tslib/</span> <span style=\'color:red;font-weight:bold\'>nor in Directory</span> <span style=\'color:blue;font-weight:bold\'>'.PATH_site.'tslib/ </span>@<br>';
define('PATH_tslib', $configured_tslib_path);
if ($debug) echo '@ Manually defined Path of tslib (Case 3) = '.$configured_tslib_path.' @<br>';
}
if ($debug) echo (is_dir(PATH_tslib)) ? '@ PATH_tslib was found '.PATH_tslib.' @<br />' : '@ <span style=\'color:red;font-weight:bold\'>PATH_tslib was NOT found </span>@<br />';
if (PATH_tslib=='' || PATH_tslib=='PATH_tslib' || !is_dir(PATH_tslib)) {
die('Cannot find tslib/. Please set path by defining $configured_tslib_path in '.basename(PATH_thisScript).'.');
}
/*
// ******************
// include TSFE
// ******************
*/
require (PATH_tslib.'index_ts.php');
?>