[TYPO3-english] Cronjob for scheduler: localconf.php is not found!
Stefano Kowalke
blueduck at gmx.net
Fri Jul 29 22:26:25 CEST 2011
Hey folks,
I configured the schedule cron job. The path for the job is
/home/www/web431/html/cms/typo3/cli_dispatch.phpsh scheduler.
Unfortunable the cron exits with an error:
PHP Fatal error: Uncaught exception 'Exception' with message
'localconf.php is not found!' in
/home/www/web431/html/typo3_src-4.5.3/t3lib/config_default.php:670
Stack trace:
#0 /home/www/web431/html/typo3_src-4.5.3/typo3/init.php(206): require()
#1 /home/www/web431/html/typo3_src-4.5.3/typo3/cli_dispatch.phpsh(116):
require('/home/www/web43...')
#2 {main}
thrown in
/home/www/web431/html/typo3_src-4.5.3/t3lib/config_default.php on line 670
X-Powered-By: PHP/5.2.9
Content-type: text/html
The code in config_default.php at line 670 is:
// Include localconf.php. Use this file to configure TYPO3 for your
needs and database
if (!@is_file(PATH_typo3conf . 'localconf.php')) {
throw new Exception('localconf.php is not found!');
}
in normal mode the constant "PATH_typo3conf" is correct (i checked this
with "var_dump(PATH_typo3conf);"), but it seems that in for CLI script
it is wrong and localconf.php was not found. I can't check this because
I don't have a ssh account.
According to the hoster, safemode is off.
Can anybody give me a hint in which direction I have to search.
Thanks in advance
Stefano
More information about the TYPO3-english
mailing list