Trying to fix a slight problem with the Staff mod v0.2

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Trying to fix a slight problem with the Staff mod v0.2
apb91781
CZ Newbie
apb91781 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 11, 2005
0.00 posts per day
Posts: 1
Points: 1,156
   
I am currently running PHPNuke 7.5 on my website and I am having a few issues with it.

Namely when I try to access it In admin i get the following message.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/nia-incn/public_html/efall/yahoo/includes/sql_layer.php on line 286

and the good ole' Access Denied message...
SQL was imported sucessfully but for some reason the configuration is a bit off... Can anybody assist in this matter?

The lines in sql_layer.php are as follows surrounding the lines

274   /*
275    * sql_fetch_row(&$res,$row)
276    * given a result identifier, returns an array with the resulting row
277    * Needs also a row number for compatibility with postgres
278    */
279   
280   function sql_fetch_row(&$res, $nr=0)
281   {
282   global $dbtype;
283   switch ($dbtype) {
284   
285       case "MySQL":
286           $row = mysql_fetch_row($res);
287           return $row;
288       break;;
289   
290       case "mSQL":
291           $row = msql_fetch_row($res);
292           return $row;
293       break;;
294   

Note that the numbers in this is just the line numbers to clairfy where the problem resides.


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum