Camen Design Forum

Delete

(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[4]: Future developments ?

Pierre-Marie Baty

PHP8 compatibility needs just a simple patch.

% start.php @line 154
foreach (array ('users/', 'lib/', 'themes/', 'cgi-bin/') as $_) if (stripos ($_, PATH) === 0) die ();
%

change to:

% start.php @line 154
if (PATH != "") foreach (array ('users/', 'lib/', 'themes/', 'cgi-bin/') as $_) if (stripos ($_, PATH) === 0) die ();
%

and also:

% lib/domtemplate/domtemplate.php @line 23
class DOMTemplate extends DOMTemplateNode {
...
}
%

move down this whole class definition block after that one:

% lib/domtemplate/domtemplate.php
abstract class DOMTemplateNode {
...
}
%

The new location for the DOMTemplate class becomes around line 380.

:: @Pierre-Marie Baty added on 05 May ’22 · 14:06

*edit* I almost forgot one.

% lib/utf8safe.php @line 50
if (get_magic_quotes_gpc ()) {
%

change to:

% lib/utf8safe.php @line 50
if (function_exists ("get_magic_quotes_gpc") && get_magic_quotes_gpc ()) {
%

After that my copy seems to work (nginx-1.20.2/PHP-8.0.18).

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn