Bug #15262
closed
Error TYPO3 in windows. Calling history leads to CGI ERROR
Added by peter bartels almost 19 years ago.
Updated over 16 years ago.
Description
CGI Error at editing content elements which are sheduled. CGI error at calling change history
Only when used on windows 2003 machines (IIS 6). The error is in the class.t3lib_diff.php file at function getDiff. Windows 2003 has a protection for executing undefined executes.
Solutions: check for file path in class.t3lib_diff.php or setup through typo3
(issue imported from #M1984)
Hi,
can you please explain the solutions more in-depth?
Thanks &Greets, Sebastian
Hi,
I am still waiting for some comments here.
Thanks,
Sebastian
Extra comments:
I fixed it by taking out line 168 (function getDiff):
exec($cmd,$res);
but this is not the best solution while I changed the core directly
the best overall solution would be to check at this point if diff is available and can be executed, if not to pass this function.
Well, a history obviously needs the diff tool... if you comment out this function history won't work anymore :-) And you don't have any diff either. Or am I wrong here?
Greets, Sebastian
The diff tool must have executable rights for the IIS Service.
The history / undo feature remains working but I don't know what side effect that will cause if diff is not installed. I have never saw something about the need of the diff tool in the install documentation. But a search on google will show that the howto's contain such explanation already. Maybe this could not be classified as bug but as a missing need.
Anyway thanks for your support and I'm sorry for the misunderstanding.
Also available in: Atom
PDF