Computer and IT knowledge - things to know
This happens if the last 6 characters of this path, ..../ruthwoodtli.ch/httpdocs/ (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)...
wenn man die auskommentiert bekommt man:
[PATH_TRANSLATED] => /usr/bin/modsec-clamscan.pl
solution:
In the file init.php located in typo3 folder is a variable called $temp_path.
The code seems to be unable to enumerate the
correct path within a php file located in the same folder
(like alt_doc.php).
$temp_path = str_replace('\\','/',dirname(PATH_thisScript).'/');
So I changed it to the absolute path like that...and
it's working.
$temp_path = "/var/www/vhosts/domain.tld/httpdocs/typo3/";
für unseren Fall: $temp_path = "/var/www/web062/html/typo3/";
computer2know :: thank you for your visit :: have a nice day :: © 2024