NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page MySQL errors.

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 10-11-2003, 02:23 PM THREAD STARTER               #1 (permalink)
Senior Member
 
wicked_gal00's Avatar
Join Date: Jun 2003
Location: Toronto
Posts: 2,383
wicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to beholdwicked_gal00 is a splendid one to behold
 



MySQL errors.


I'm trying to set up a TopSites script here:

http://www.vacates.com/topsites/

I'm getting a bunch of errors though, like:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/alex/public_html/topsites/index.php on line 20

I'm not the greatest at PHP and don't know how to fix this. Any help? Thanks
Last edited by wicked_gal00; 10-11-2003 at 02:27 PM.
wicked_gal00 is offline  
Old 10-11-2003, 02:25 PM   #2 (permalink)
Senior Member
 
Webtwink's Avatar
Join Date: Jul 2003
Location: United States of America
Posts: 1,158
Webtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of lightWebtwink is a glorious beacon of light
 



if you want i can help you out for free, if it is a simple script ofcourse
Webtwink is offline  
Old 10-11-2003, 02:31 PM   #3 (permalink)
Senior Member
Join Date: May 2003
Location: MA
Posts: 1,892
GCgirl4ever is a jewel in the roughGCgirl4ever is a jewel in the roughGCgirl4ever is a jewel in the rough
 



Hmm that happened to me as well when I started one.. I forget who helped me though.
__________________
Working on something with JP :)
GCgirl4ever is offline  
Old 10-11-2003, 05:00 PM   #4 (permalink)
NamePros Regular
Join Date: Jun 2003
Location: Louisiana, USA
Posts: 658
painperdu has a spectacular aura aboutpainperdu has a spectacular aura about
 



Can you post a few lines, say 1-20, from index.php?

It sounds like a few of the parameters aren't set correctly. Make sure the following are set correctly:
????: NamePros.com http://www.namepros.com/website-development/8389-mysql-errors.html

O.k., I just downloaded the script and your problem may be with config.php.

Make sure the following are set correctly:

$conf['mysql_host'] = "localhost";
$conf['mysql_user'] = "username";
$conf['mysql_pass'] = "password";
$conf['mysql_db'] = "toplist"; <- Is the name of your db table "toplist"? If it is named something other then change it here also.


I think you get the idea.

If you'd like me to have a look-see PM me.
Last edited by painperdu; 10-11-2003 at 05:10 PM.
painperdu is offline  
Old 10-12-2003, 12:12 AM   #5 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
Join Date: Sep 2003
Posts: 890
CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about
 



It's not the host, username or password in the config file. It could possible be the database. If you still need help I can fix this fast. Most likely it's either that or a bad query that can be fixed within mins. Send me a pm if you need my help!
__________________
Online Time Tracking :)
CreativeLogic is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:05 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger