Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2009, 08:50 AM
sully sully is offline
Member
 
Join Date: Nov 2009
Posts: 3
Credits: 731
sully
Default MySQL Error

Can someone tell me what the following means and how do I rectify it?

Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/sites/site.com/public_html/subs/script/inc/functions.php on line 183


Thanks
Reply With Quote
  #2  
Old 11-19-2009, 09:23 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,576
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: MySQL Error

Your config.php file was probably not setup right. Other than that line 183 falls into the getlinks() function, have you been editing the funtions.php file?
Reply With Quote
  #3  
Old 11-19-2009, 09:27 AM
sully sully is offline
Member
 
Join Date: Nov 2009
Posts: 3
Credits: 731
sully
Default RE: MySQL Error

Thanks blood. Nope, I haven't touched any files at all, I just used then install set up.
Reply With Quote
  #4  
Old 11-19-2009, 09:29 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,576
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: MySQL Error

Quote:
Originally Posted by sully
Thanks blood. Nope, I haven't touched any files at all, I just used then install set up.
Hmm, double check your config.php file and make sure everything is correct.
If everything is correct, make sure the tables were actually made in your MySql Database. Especially the adopts_links table, if none of them were made it means you didn't supply the right data. If all of them were made except that one, I can help you fix that.
Reply With Quote
  #5  
Old 11-19-2009, 09:36 AM
sully sully is offline
Member
 
Join Date: Nov 2009
Posts: 3
Credits: 731
sully
Default RE: MySQL Error

I've just checked config.php and it's an empty file. It was empty in the zip file I downloaded too.

Initially, I uploaded sql.txt through my hosts mysql database panel as stated in the tutorial. I can view the tables there too, but I wouldn't if they were correct or not.
Reply With Quote
  #6  
Old 11-19-2009, 09:45 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,576
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: MySQL Error

Quote:
Originally Posted by sully
I've just checked config.php and it's an empty file. It was empty in the zip file I downloaded too.

Initially, I uploaded sql.txt through my hosts mysql database panel as stated in the tutorial. I can view the tables there too, but I wouldn't if they were correct or not.
That tutorial is old, it is for the older version. The new version has a Walk Through script that will set up the information for the script as you supply the data. Once uploading the files to your FTP, you were suppose to CHMOD:

inc>config.php
picuploads>gif
picuploads>jpg


All to 777

Then you were suppose to navigate to the directory install

Code:
www.yoursite.com/adoptables/install/
Or where you placed your adoptables script at. Then following the steps in that process your site would have been set up properly. You didn't see the instructions on the first post of this thread? I suggest you read the instructions and do what they say. Then everything will work. I hope I helped you. =D
Reply With Quote
  #7  
Old 11-21-2009, 04:14 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,903
exdiogene
Default RE: MySQL Error

isnt
PHP Code:
mysql_numrows 
supposed to be
PHP Code:
mysql_num_rows 
Ive had problems with that in scripts I've made :)
Reply With Quote
  #8  
Old 12-10-2009, 11:25 AM
roryo roryo is offline
Member
 
Join Date: Dec 2009
Posts: 1
Credits: 230
roryo
Default RE: MySQL Error

Erm, I'm having something like that, in the installer it says Error connecting to MySQL when I try to submit from step 3.
Reply With Quote
  #9  
Old 12-10-2009, 03:18 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,696
BMR777 is on a distinguished road
Default RE: MySQL Error

Quote:
Originally Posted by roryo
Erm, I'm having something like that, in the installer it says Error connecting to MySQL when I try to submit from step 3.
This usually means that your database details are incorrect. Either that, or MySQL is down on your host. Make sure the database and database host details are correct. :)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank page, MySQL Database Error? MeinKat Questions and Supports 22 01-17-2015 01:33 PM
Error connecting to MySQL draugluin Questions and Supports 4 10-26-2011 08:29 AM
Error connecting to MySQL Clyfia Questions and Supports 8 01-08-2011 02:38 AM
Cannot Connect to MySQL Error SNK2713 Questions and Supports 4 06-20-2010 08:42 PM
MySQL error exdiogene Questions and Supports 4 10-25-2009 01:21 PM


All times are GMT -5. The time now is 12:24 AM.

Currently Active Users: 591 (0 members and 591 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636