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 08-18-2009, 02:44 PM
Gononda Gononda is offline
Member
 
Join Date: Aug 2009
Posts: 8
Credits: 990
Gononda
Default Installation error

Hi, I get this error when trying to install the adoptables script:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\adoptables\inc\functions.php on line 183
Reply With Quote
  #2  
Old 08-19-2009, 03:36 AM
SleepWalker SleepWalker is offline
Member
 
Join Date: Jul 2009
Posts: 32
Credits: 3,781
SleepWalker
Default RE: Installation error

Quote:
Originally Posted by Gononda
Hi, I get this error when trying to install the adoptables script:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\adoptables\inc\functions.php on line 183
You must upload it to a FTP server.The URL must be:http://yoursite.com/adoptables/etc.,not C:/!
Reply With Quote
  #3  
Old 08-19-2009, 05:05 AM
Gononda Gononda is offline
Member
 
Join Date: Aug 2009
Posts: 8
Credits: 990
Gononda
Default RE: Installation error

I'm using a localhost. One should be able to run the Adoptables script from a localhost.
Reply With Quote
  #4  
Old 08-19-2009, 12:22 PM
SleepWalker SleepWalker is offline
Member
 
Join Date: Jul 2009
Posts: 32
Credits: 3,781
SleepWalker
Default RE: Installation error

Quote:
Originally Posted by Gononda
I'm using a localhost. One should be able to run the Adoptables script from a localhost.
Localhost is not C:/.In MySQL,the localhost server name is common.If your SQL server is not localhost,the server name is the SQL address.Example:
something.yoursite.sql OR sql.yoursite.com OR etc..
Reply With Quote
  #5  
Old 08-19-2009, 12:37 PM
Gononda Gononda is offline
Member
 
Join Date: Aug 2009
Posts: 8
Credits: 990
Gononda
Default RE: Installation error

I was trying to install it in wamp which I'm running on my computer. Wamp includes php, mysql etc. I've installed many other scripts (e.g. forum scripts) on wamp before, but I get the above mentioned error when trying to install the Adoptables Script.
Reply With Quote
  #6  
Old 08-19-2009, 12:42 PM
SleepWalker SleepWalker is offline
Member
 
Join Date: Jul 2009
Posts: 32
Credits: 3,781
SleepWalker
Default RE: Installation error

Use 000webhost.com.I tried it and it's cool!I will make a tutorial to you.
Reply With Quote
  #7  
Old 08-19-2009, 12:48 PM
Gononda Gononda is offline
Member
 
Join Date: Aug 2009
Posts: 8
Credits: 990
Gononda
Default RE: Installation error

Thanks for the recommendation. I'll check it out. But I'm still looking for an answer why I get the 'Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource' error when trying to install this mod.
Reply With Quote
  #8  
Old 08-19-2009, 01:38 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,709
BMR777 is on a distinguished road
Default RE: Installation error

What step of the installation is this happening on and what is the page URL that appears in the browser address bar at the time you get this error?

You are correct in saying that it should be possible to install on a localhost installation. :)
Reply With Quote
  #9  
Old 08-20-2009, 05:34 PM
Gononda Gononda is offline
Member
 
Join Date: Aug 2009
Posts: 8
Credits: 990
Gononda
Default RE: Installation error

Thanks for your reply. I realized that I have to go to the 'install' directory to install. (there should actually be some detection in the root to see if installation was done, and if not yet installed, redirect you to /install - as is done with many other scripts).

I also noticed a few bugs in the install:

1. One should not have to be asked to specify:
Domain Name
Script Path
-these should be detected by the script.

2.
On my localhost, a database password is not set, so I usually use:
db username: root
db: (leave blank)
but I get this error in this script when leaving it blank:
"Something required was left blank. Please go back and try again."
-meaning I still can't get this installed.[hr]
Quote:
Originally Posted by SleepWalker
Use 000webhost.com.I tried it and it's cool!I will make a tutorial to you.
Beware of this host, as can be seen in the many negative reviews they got here:
http://www.web-hosting-top.com/web-hosting/web-hosting-top.000webhost.com-reviews
Reply With Quote
  #10  
Old 08-20-2009, 05:43 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,709
BMR777 is on a distinguished road
Default RE: Installation error

The database password thing is simply for security. You can bypass it by opening install > configwrite.php and find:

PHP Code:
if($dbuser == "" or $dbpass == "" or $dbname == "" or $domain == "" or $prefix == ""){
die(
"Something required was left blank.  Please go back and try again.");

Replace With:

PHP Code:
if($dbuser == "" or $dbname == "" or $domain == "" or $prefix == ""){
die(
"Something required was left blank.  Please go back and try again.");

That will allow you to install without a database password. :)
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
Installation Help Brookreed Questions and Supports 0 03-17-2013 04:49 PM
Fatal Error (At the end of installation, trying to access site.) Nieth Questions and Supports 3 12-08-2012 09:41 PM
Error In Installation? ChocolateFate Questions and Supports 5 03-22-2012 03:27 PM
log in error - after new installation draugluin Questions and Supports 11 11-03-2011 07:56 AM
Installation Help Kib Questions and Supports 5 07-27-2011 12:38 PM


All times are GMT -5. The time now is 07:45 AM.

Currently Active Users: 9736 (0 members and 9736 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