Previous Thread
Next Thread
Print Thread
Rate Thread
#239195 03/09/2003 3:46 AM
Joined: Jun 2002
Posts: 9
Lurker
Lurker
Offline
Joined: Jun 2002
Posts: 9
First off hello, thing this is my first post. Usually lurk Setting ubbt for a friend and "trying" to get ubbtnrews.php to function the way its suppose to. However regardless of what group as access to the board I get this error:

----------------------
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/gd/web/ubbthreads/mysql.inc.php on line 130
-----------------

with lines 128-133 being:

------------------
function fetch_array($sth) {

$this->row = mysql_fetch_array($sth);

return $this->row;
}
------------------

any help would be appreciated

Sponsored Links
ken2 #239196 03/09/2003 4:05 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Welcome

Do you get any output when you bring the file up into your browser? Did you set the settings at the top of the file? And what version threads are you trying to run this on?


- Allen wavey
- What Drives You?
SurfMinister #239197 03/09/2003 4:18 AM
Joined: Jun 2002
Posts: 9
Lurker
Lurker
Offline
Joined: Jun 2002
Posts: 9
v6.2.3

the only output i get is that error message. i tried to comment out some sections in the mysql.inc.php file so it would show a more accurate error. but all that was shown was nothing. just Error: witha blank part followed by the same next line.

yeah the ubbtnews has all the setting set.

ken2 #239198 03/09/2003 4:36 AM
Joined: Jun 2002
Posts: 9
Lurker
Lurker
Offline
Joined: Jun 2002
Posts: 9
ok figured that it was my path to the file that was wrong alterd it and now i dont get an error. yay!

yet the file is blank. i know it works im using the same one *minus path/name changes* on another site.

ken2 #239199 03/09/2003 12:38 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
What forum do you have it set to pull news items from?

Sponsored Links
jacksonm99 #239200 03/09/2003 7:04 PM
Joined: Jun 2002
Posts: 9
Lurker
Lurker
Offline
Joined: Jun 2002
Posts: 9
its set to $newsboard = 'news';

ken2 #239201 03/10/2003 1:32 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
And you have a news forum on your site? It sounds like you are trying to pull news from a forum that doesn't exist.

jacksonm99 #239202 03/10/2003 1:57 AM
Joined: Jun 2002
Posts: 9
Lurker
Lurker
Offline
Joined: Jun 2002
Posts: 9
well i had a friend of mine take a look see due my obviously oversight to something that i wasnt finding an answer to. for whatever reason the $path info was incorrect, even though i had tried the varient that he ending up using that solved the problem. go figure. i should lay off the early AM attempts. lol. much thanks for the assistance.

ken2 #239203 03/10/2003 1:58 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
More coffee

Glad you got it working

ken2 #239204 03/10/2003 2:05 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]vashavoc said:
well i had a friend of mine take a look see due my obviously oversight to something that i wasnt finding an answer to. for whatever reason the $path info was incorrect, even though i had tried the varient that he ending up using that solved the problem. go figure. i should lay off the early AM attempts. lol. much thanks for the assistance. [/]

Don't sweat it, I've been there myself on many occasions.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)