turner2f Posted December 23, 2008 Share Posted December 23, 2008 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? Link to comment https://forums.phpfreaks.com/topic/138132-how-do-i-get-rid-of-warning-missing-argument-2-for-retrieveinfo-called-in/ Share on other sites More sharing options...
Mark Baker Posted December 23, 2008 Share Posted December 23, 2008 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 Link to comment https://forums.phpfreaks.com/topic/138132-how-do-i-get-rid-of-warning-missing-argument-2-for-retrieveinfo-called-in/#findComment-722100 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.