Bug #14495
closedCGI detection bug in t3_popup.html
0%
Description
On some servers the popup (i.e. inserting a link) displays an error message about server misconfiguration. The server in this case is running PHP as CGI (Linux) and the phpapi string is "CGI".
In line 40 of t3_popup.php the string checks for XCGI (which fails). Changing this to CGI or adding an ORed check for the string CGI fixes the problem.
Found in version 0.4.26
(issue imported from #M682)
Updated by Stanislas Rolland almost 20 years ago
Thanks for the correction.
Corrected in version 0.4.27
I don't know why, but the correction failed to work when inserted in rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-logic.php
So maybe a problem remains on the spellcheck popup?
Updated by Jochen Weiland almost 20 years ago
The bug was also in the insert image plugin. The spell-check plugin also uses the same code, but I didn't test it there to see whether the change fixes it. I can do this in the next few days.
Jochen
Updated by Stanislas Rolland almost 20 years ago
I already corrected the problem in Insert image. Tried to do it for the spell checker, but got an error (t3lib_div not found on the server).
Updated by Stanislas Rolland almost 20 years ago
This is fixed in version 0.4.33, including for the spell checker.