[KLUG Members] php 4.3.10

bill bill at billtron.com
Fri Jan 28 10:06:00 EST 2005


On Fri, 2005-01-28 at 01:54, Lunitix wrote:
> I downloaded a security update for the Mac and it included php4.3.10  I 
> now get this error when attempting to use question/answer page in Jeopardy.
> 
> Warning: Missing argument 2 for checkerrors() in 
> /Users/jon/Sites/Jeopardy/connecttodb.inc on line 10

It would help if you knew what line was calling the function.  

The error message means the second argument is missing ($sql);

It's odd that the behavior seems to be going back to a previous version
of PHP.  Back when it used to do what it's doing now, we'd change the
second argument to handle blank info like thus:


> function checkerrors($table,$sql="") {

Maybe that will help.

kind regards,

bill



More information about the Members mailing list