Bug #15311
closedunder template module : "Error in init.php: Path to TYPO3 main dir could not be resolved correctly."
0%
Description
as it's written in the title, there's a crash due to CONSTANT definition maybe in init.php
See additionnal information for entire error message.
Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
This happens if the last 6 characters of this path, , (\$temp_path) is NOT "typo3/" for some reason.
You may have a strange server configuration. Or maybe you didn't set constant TYPO3_MOD_PATH in your module?
If you expect any help from anybody on this issue, you should save this page as an html document and send it along with your request for help!
Array
(
[TYPO3_OS] =>
[PATH_thisScript] => /var/www/html/www.brikou.com/typo3/sysext/tstemplate/ts/index.php
[php_sapi_name()] => apache2handler
[TYPO3_MOD_PATH] => ext/tstemplate/ts/
[PATH_TRANSLATED] =>
[SCRIPT_FILENAME] => /var/www/html/www.brikou.com/typo3/sysext/tstemplate/ts/index.php
)
(issue imported from #M2103)
Updated by Ernesto Baschny over 18 years ago
While migrating this from ext to sysext the conf.php wasn't updated accordingly.
To fix: in file typo3/sysext/tstemplate/ts/conf.php, change:
-define('TYPO3_MOD_PATH', 'ext/tstemplate/ts/');
+define('TYPO3_MOD_PATH', 'sysext/tstemplate/ts/');
Updated by Michael Stucki over 18 years ago
I'll fix the problem and publish a new beta version on Sourceforge.net