View Single Post
Old November 15th, 2010, 04:08 PM   #1 (permalink)
towermatt
Junior Member
Verified Customer
 
Join Date: Jun 2007
Posts: 24
Some SQL errors after upgrade

Hello.

We have been using photopost for years and we love it. Just recently upgraded the forum to 4.0.8 and obviously needed the Photopost upgrade as well.

First weird thing is that after I FTP'd the files over my Photopost admin showed the current version as 7.03 in the admin without running any script through the upgrade console. So that hasn't been done and I am sure it needs to be.

The page looks fine I am just getting the following SQL error in the header

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/jsmith/public_html/thedarktower.org/gallery/pp-inc.php on line 4298

And these two in the footer.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jsmith/public_html/thedarktower.org/gallery/pp-inc.php on line 1242

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/jsmith/public_html/thedarktower.org/gallery/pp-inc.php on line 1246

It looks pretty good otherwise. Here is a link to it.

http://www.thedarktower.org/gallery

EDIT

I am also getting "This category does not contain any images" when clicking on my categories.

EDIT2

I think my problem is the upgrade script. I have no idea what version I was on before upgraded so I don't know where to start.

Last edited by towermatt; November 15th, 2010 at 05:39 PM.
towermatt is offline   Reply With Quote