Jump to content

How do I get rid of Warning: Missing argument 2 for retrieveinfo(), called in


turner2f

Recommended Posts

I downloaded a user management  PHP script from  http://energon.ueuo.com/paum/

 

No MSql required  and made sure to chmod 777.

 

The script works great.  But for some odd reason I get a warning message at the top of my website:

 

Warning: Missing argument 2 for retrieveinfo(), called in /data/18/1/89/95/1578258/user/1700141/htdocs/php_login_mgmt/forgotpass.php on line 286 and defined in /data/18/1/89/95/1578258/user/1700141/htdocs/php_login_mgmt/forgotpass.php on line 41

 

 

It shows this on my site at    http://www.pigomultimedia.com/php_login_mgmt/forgotpass.php?id=basic

 

Yet on their site it does not    http://energon.ueuo.com/paum/demo/forgotpass.php?id=basic

 

I even placed this redownloaded script and placed it (unmanipulated) on some other sites and received the same error message.

 

 

How can I trouble shoot this OR just make the warning go away?

 

 

 

 

Look in the file /php_login_mgmt/forgotpass.php at the function retrieveinfo() that appears on line 41, and see what the second argument should be.

 

Then look in the file /php_login_mgmt/forgotpass.php, where you'll find that retrieveinfo() is being called on line 286, and see what arguments it's being called with.

 

That's a starting point for you

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.