Re: cookbooks SelectQuery and UpdateForm

Petko Yotov <[email protected]>
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <[email protected]>
SelectQuery has a relatively recent release selectquery4.0.php which 
appears to work in PHP 8.2.3.

I don't use the recipe and haven't tested everything, but was able to 
have a query displayed correctly with no warnings.


UpdateForm also has a recent version updateform7.php that I modified to 
fix one initial fatal error.

Line 74, initially like this:

   while (count(@$opt['']) > 0 && count($args) > 0)

Changed to look like this:

   while (count((array)@$opt['']) > 0 && count($args) > 0)

I don't use the recipe and haven't tested everything, but was able to 
have a query select field auto-filled correctly with no warnings.

Let us know if you notice any other problems.

Petko


On 21/06/2023 18:01, Piotr Dybczyński wrote:
> Hi all,
> 
> is there anybody who could adapt these two cookbooks to PHP 8.2?
> 
> I have several PmWiki pages talking to my databases and after
> upgrading to Debian 12 they do not work.
> 
> Great thanks in advance,
> Piotr


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.