Prel Posted March 3, 2005 Posted March 3, 2005 (edited) Hello, I´m install the script "site messenger" in one site with PHPnuke and receive this error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/wwwstri/public_html/strike/includes/sql_layer.php on line 287 I do not know what it is. Some idea for me ? Thank´s Edited March 3, 2005 by paulo Quote
TweezerMan Posted March 4, 2005 Posted March 4, 2005 My first suggestion would be to try to get assistance for your script from wherever you got it from. Just a guess here, but the error message you're receiving may be an indication that some MySQL parameters in your script or PHP-Nuke are not configured correctly. The PHP function mysql_fetch_row() returns one row of a MySQL query previously executed in the code. I suspect that the query is what's actually failing, so mysql_fetch_row() has nothing to fetch from. Quote
Tommy Posted March 10, 2005 Posted March 10, 2005 Open your sql_layer.php and find line 287 and change with this code: >$row = @mysql_fetch_row($res); Or email it to me and I will edit it for you -- tommyguns@gunssquad.com Quote
Prel Posted July 8, 2005 Author Posted July 8, 2005 Hi Tommy and David, Sorry by it delay it answer. Tommy, ok, its information was correct, now functions. Thank´s Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.