TinyPortal

Development => Support => Installation => Topic started by: mrgriffy on October 21, 2007, 08:28:00 PM

Title: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: mrgriffy on October 21, 2007, 08:28:00 PM
Help please


# Upshrink table created
# Settings table created
2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
File: /home/content/g/r/i/griffinryan/html/Forum/Packages/temp/tp_install.php
Line: 169
Title: Re: TinyPortal updated for SMF 1.1.4/1.0.12
Post by: mrgriffy on October 21, 2007, 08:33:23 PM
So am I going to have to delete or change settings in my Data Base?
Title: Re: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: Nokonium on October 21, 2007, 08:51:36 PM
Download the SMF Upgrade package, unzip it and ftp the upgrade.php file to your forum folder. Point your browser to the file and run it. Then try to install TP again, you may have to delete the file you have, through the package manager and reupload it, through the package manager.

Don't forget to remove the upgrade file afterwards.


And next time please post your question in the correct place.
Title: Re: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: IchBin on October 21, 2007, 11:31:27 PM
You never mention what you are doing. Are you installing in the package manager? Are you manually installing? What version of SMF and TP are you using? What theme are you using? Please provide as much info as possible so we don't have to drag this topic along doing it for you.

My impression is that you're trying to run the install.php file in your browser installing it manually. Are you? If so, use the manual_tp_install.php instead.
Title: Re: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: clickranju on October 22, 2007, 04:30:18 AM
try to uninstall the smf update package and then install the tinyportal.. after installing the tp you can update your smf modules .. it works for me..
Title: Re: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: Cairna on March 31, 2008, 09:10:20 PM
Hm, I get the same error- I got it after downloading, uploading and attempting to install TP via the package manager. I downloaded the TinyPortal 0.9.8  folder, so not the manual one.

--Sorry if I'm bumping, I found this in a search.

Title: Re: 2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Post by: G6Cad on March 31, 2008, 09:13:04 PM
Can you try the suggestion IchBin made with the manual_tp_install.php file from the downloadsection ?

Im not sure it will work though, and if it dont, you need to manually upload all the TP files from the manuall package we have and then make all the code edits to the SMF files shown in our doc section and modinstructions.