Jump to content

Recommended Posts

Posted (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. :thumbup1:

Some idea for me ?

 

Thank´s

Edited by paulo
Posted

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.

Posted

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

  • 3 months later...
Posted

Hi Tommy and David,

 

Sorry by it delay it answer.

 

Tommy, ok, its information was correct, now functions. :D :lol:

 

Thank´s

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...