[pmwiki-users] action=ruletable

Pierre-Marie CARETTE carette.pierre-marie at wanadoo.fr
Sun Jan 22 10:08:28 CST 2006


Le 22 janv. 06 à 15:48, Patrick R. Michaud a écrit :

> On Sun, Jan 22, 2006 at 03:01:18PM +0100, Pierre-Marie CARETTE wrote:
>>
>>
>>> for pm and joachim
>>>
>>> .......pmwiki.php5?  action=ruletable    doesn't work
>>> BUT
>>> .......pmwiki.php?  action=ruletable    works
>>>
>>>
>>
>> perhaps it's the same with sectionedit.php :
>>
>> with php 4 sectionedit.php : works
>> with php5 : [...]
>
> Older versions of PHP 4 would automatically (and silently)
> convert non-array values into arrays if passed to array_merge.
> PHP 5 doesn't do that -- it generates the error message instead.
>
> Programmers in PHP 4 could therefore call array_merge without
> having to worry if the arguments were arrays (or even initialized),
> but in PHP 5 there must be an explicit cast to make sure the
> elements are arrays.  I suspect that sectionedit.php needs to
> have the cast added somewhere.
>
> It could also be a problem with your PHP 5 installation.
>
> Pm
>
Thanks for your answer. It's important to preserve the future of  
pmwiki and try that your scripts can work with the two php and...   
with php6, php7..... ;-))
I am glad to show the problem but, human researcher, I can't say the  
"script solution" that makes these scripts works with all php

curiously, sectionedit worked with FidelioEspoir+php5 and doesn't  
work now , but I don't know the version where the problem begin v14 ?  
v15 ?




More information about the pmwiki-users mailing list