Project

General

Profile

Actions

Bug #15262

closed

Error TYPO3 in windows. Calling history leads to CGI ERROR

Added by peter bartels over 18 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-12-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Sebastian Kurfuerst over 18 years ago

Hi,
can you please explain the solutions more in-depth?

Thanks &Greets, Sebastian

Actions #2

Updated by Sebastian Kurfuerst over 18 years ago

Hi,
I am still waiting for some comments here.
Thanks,
Sebastian

Actions #3

Updated by peter bartels over 18 years ago

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.

Actions #4

Updated by Sebastian Kurfuerst over 18 years ago

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

Actions #5

Updated by Thomas Peterson over 18 years ago

The diff tool must have executable rights for the IIS Service.

Actions #6

Updated by peter bartels over 18 years ago

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.

Actions #7

Updated by Thomas Peterson over 18 years ago

Close :-D

Actions

Also available in: Atom PDF