Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Installation error (http://www.mysidiaadoptables.com/forum/showthread.php?t=1061)

Gononda 08-18-2009 02:44 PM

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

SleepWalker 08-19-2009 03:36 AM

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:/!

Gononda 08-19-2009 05:05 AM

RE: Installation error
 
I'm using a localhost. One should be able to run the Adoptables script from a localhost.

SleepWalker 08-19-2009 12:22 PM

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..

Gononda 08-19-2009 12:37 PM

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.

SleepWalker 08-19-2009 12:42 PM

RE: Installation error
 
Use 000webhost.com.I tried it and it's cool!I will make a tutorial to you.

Gononda 08-19-2009 12:48 PM

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.

BMR777 08-19-2009 01:38 PM

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. :)

Gononda 08-20-2009 05:34 PM

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

BMR777 08-20-2009 05:43 PM

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. :)


All times are GMT -5. The time now is 10:12 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.