[TYPO3-english] Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
michal_cygankiewicz at interia.pl
michal_cygankiewicz at interia.pl
Thu Apr 7 16:26:40 CEST 2011
I am using the newest TYPO3 version 4.5.2. Everything is working fine apart from of one thing. When I am trying to add new page in page tree, following errors occurs:
"Error in init.php: Path to TYPO3 main dir could not be resolved correctly.
This happens if the last 6 characters of this path, ..../usr/bin/ (end of $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 want to debug this issue, please edit typo3/init.php of your TYPO3 source and search for the die() call right after this line (search for this text to find)..."
This is fresh installation without any extra plugins installed.
And those are variables from array after debug:
"Array
(
[TYPO3_OS] =>
[PATH_thisScript] => /usr/bin/modsec-clamscan.pl
[php_sapi_name()] => cgi-fcgi
[TYPO3_MOD_PATH] => TYPO3_MOD_PATH
[PATH_TRANSLATED] => /usr/bin/modsec-clamscan.pl
[SCRIPT_FILENAME] => /home/qq35/public_html/amtsolution/typo3/alt_doc.php
)
"
Regards,
Michall Cygankiewicz
-------------------------------------------------
Zmien dom na wiosne! Podpowiemy Ci jak to zrobic!
Sprawdz >> http://linkint.pl/f2978
More information about the TYPO3-english
mailing list