Project

General

Profile

Actions

Bug #33035

closed

PATH_typo3conf

Added by Ulrich Fischer almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-01-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Calling cli_dispatch.phpsh via cronjob [typo3 v 4.5.10]:
Fatal error: Uncaught exception 'Exception' with message 'localconf.php is not found!'

PATH_typo3conf: rootpathToTypor/typo3_src/typo3conf/localconf.php

Patch: typo3/init.php

180: define('PATH_t3lib', $temp_path_t3lib); // Abs. path to t3lib/ (general TYPO3 library) within the TYPO3 admin dir
+ $pathTypo3conf = PATH_site.'typo3conf/';
+ $pathTypo3conf = str_replace('/typo3_src', '', $pathTypo3conf);
+ define('PATH_typo3conf', $pathTypo3conf); // Abs. TYPO3 configuration path (local, not part of source)

- define('PATH_typo3conf', PATH_site.'typo3conf/');

Actions #1

Updated by Ulrich Fischer almost 13 years ago

  • % Done changed from 0 to 100

Sorry, if the path is set rootpathToTypo3/typo3/cli_dispatch.phpsh and not to the typo3_src directory, everything is allright.

This issue could be removed.

Actions #2

Updated by Georg Ringer almost 13 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF