You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Scrolling Fourm block [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Feb 07, 2003 4:54 pm Reply with quoteBack to top

Crying or Very sad Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /httpd/html/d2/sitename/includes/sql_layer.php on line 301

after installing the Scrolling Fourm block I created a new block and moved it to the right. Then I went to look at it in the home page and it split my screen in half, and gave me this error Question Question Question

* sql_fetch_row(&$res,$row)
* given a result identifier, returns an array with the resulting row
* Needs also a row number for compatibility with PostgreSQL
*/

function sql_fetch_row(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype) {

case "MySQL":
line# 301 $row = mysql_fetch_row($res);
return $row;
break;;


I just wanted to take time to thank all of you that maintain this site you do a great job in keeping up with the users that have problems Exclamation Keep up the good work guys, you are apreciated Exclamation By me at least anyway....

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Feb 07, 2003 5:39 pm Reply with quoteBack to top

Change lines 300-303 of sql_layer.php to:
Code:

    case "MySQL":
    if ($row = mysql_fetch_row($res)) {
    return $row;
    } else {
    print (mysql_error());
    }
    break;;

This will not fix the problem but will return a better error report which usually will tell you what is wrong with the actual sql query.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Feb 07, 2003 5:56 pm Reply with quoteBack to top

I figured it wouldn't fix the problem, it was just going to print the error assoiated with the problem, but in this case it still gave me the same error.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /httpd/html/d2/sitename/includes/sql_layer.php on line 301.
My screen is still split in half too....
Should I run a debug???? to see the error????

_________________
zidion
Find all posts by zidionView user's profileSend private message
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Feb 07, 2003 6:13 pm Reply with quoteBack to top

I ran a de bug and I don't know if it means a hill of beans but here is the stuff.

SQL query: SELECT t.topic_id, t.topic_last_post_id, t.topic_title, f.forum_name, f.forum_id FROM nuke_bbtopics t, nuke_bbforums f where t.forum_id=f.forum_id and f.auth_view=0 ORDER BY t.topic_last_post_id DESC LIMIT 20

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /httpd/html/d2/sitename/includes/sql_layer.php on line 301

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Feb 07, 2003 6:51 pm Reply with quoteBack to top

What version of Nuke did you use it for and have you checked if both those tables exist?

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Feb 07, 2003 6:56 pm Reply with quoteBack to top

6.0... what tables?

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Feb 07, 2003 7:02 pm Reply with quoteBack to top

nuke_bbtopics and nuke_bbforums

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Sat Feb 08, 2003 3:30 am Reply with quoteBack to top

I have nuke_bbtopics but no nuke_bbFourms.

_________________
zidion
Find all posts by zidionView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sat Feb 08, 2003 9:05 am Reply with quoteBack to top

Run analyzer for us, we'll get the details much faster.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Sun Feb 09, 2003 1:49 pm Reply with quoteBack to top

Ran analyze.php

phpBB2 Port Values for sitename Theme ID Style Name Template Name

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /httpd/html/sitename/analyze.php on line 429

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /httpd/html/sitename/analyze.php on line 434

I also got this error should I pay attention to this? Laughing


WARNING! WARNING! WARNING! Vulnerable MySQL Client On Your Server!
MySQL Client Version Reason For Vulnerability
3.23.52 A vulnerability has been discovered in MySQL that may cause a denial of service. It has been reported that, under certain circumstances, a malicious MySQL client may be able to trigger a condition in which MySQL attempts to free the same memory twice. MySQL Daemon can be crashed unless upgraded. Details can be found by clicking --> here. Until that is resolved, PHP-Nuke should be the least of your worries.

I have been away for a couple of days. Later guys!

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Feb 09, 2003 4:01 pm Reply with quoteBack to top

As i understand it the scrolling block is meant for sites using the phpBB port, if the two tables i mentioned are not there i would say you don't have the port installed.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Sun Feb 09, 2003 5:37 pm Reply with quoteBack to top

Where could I get that and what would I need I'm confused on the bbport what is it and what does it do? I see one download to upgrade on your site is that what I need? Nukebbsql?

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Feb 09, 2003 6:09 pm Reply with quoteBack to top

The bbtonuke forum is the one we are posting this on, and it's available at http://bbtonuke.sourceforge.net/

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Smazsyr
Guest






PostPosted: Tue Feb 11, 2003 4:50 pm Reply with quoteBack to top

Where does one adjust this? I ask because on Netscape 6 the scrolling text in too small to read, though in IE it's fine.
Find all posts by Anonymous
Smazsyr
Guest






PostPosted: Wed Feb 12, 2003 7:34 am Reply with quoteBack to top

Anyone point me in the right direction on this? I'm struggling to adjust the font size inside the scrolling forums block. What I'm trying to find out is where this is set. The forums stylesheet? The site stylesheet? Somewhere else?
Find all posts by Anonymous
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.477 Seconds - 228 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::