PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Search error (http://www.photopost.com/forum/photopost-pro-how-do-i/134268-search-error.html)

angkor408 November 12th, 2007 04:57 PM

Search error
 
For some reason the search doesn't work if I want to find member photo. This is the error message I got. This problem happen when I upgraded to the newest photopost.

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/search.php on line 281

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /gallery/search.php on line 484

Chuck S November 12th, 2007 05:38 PM

Looks to me like you upgraded and did not run your upgrade script and selected the upgrades you need to run to be honest. Run upgrade.php in your browser and run the upgrades from your last version to the latest.

angkor408 November 12th, 2007 09:45 PM

Hi, actually I did run the upgrade.php file. During the upgrade it also the previous version I have. It installed successfully and everything seem to be working fine like slideshow, etc.. Any other suggestion so I don't have to do the long way? Thank, Tim

Here my website link:

http://www.khmerclub.com




Quote:

Originally Posted by Chuck S (Post 1210233)
Looks to me like you upgraded and did not run your upgrade script and selected the upgrades you need to run to be honest. Run upgrade.php in your browser and run the upgrades from your last version to the latest.


Chuck S November 13th, 2007 08:41 AM

That error tells me you might have ran the 5.6 to 6.0 upgrade but you surely did not run the 5.5 to 5.6 upgrade where you needed to. Maybe you where unsure what version you where last running.

You can also set debug option in global options in admin to display errors and as admin you will see the true error and post here. That will confirm what i am saying.

angkor408 November 13th, 2007 05:15 PM

Hi Chuck, I will try again today. Can you tell me the main file I should backup so it doesn't screw up my setting like SQL path setting, Features block, category.etc Thank, Tim

Chuck S November 13th, 2007 05:26 PM

No files hold that information. You can download the 6.01 distribution unzip it. Delete the data and uploads directories. Delete the install.php and config files. Delete the header and footer htm files if you are using personalized ones. Then upload that to your photopost site on the web and run the upgrade script. You will see if you look at the true error your missing something and if you post it here I can tell you the exact upgrade you missed but off hand with the error it looks like the 5.5-5.6 one.

angkor408 November 13th, 2007 08:20 PM

This is the error I got when I enable the display error:

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT searchid,searchterms,name,date FROM pp_searchids WHERE userid=1 ORDER BY date DESC LIMIT 3

Result: Table 'khmerclu_photo53.pp_searchids' doesn't exist

Database handle: Resource id #24

Chuck S November 13th, 2007 09:00 PM

Exactly that tells me the 5.5 to 5.6 upgrade has not been ran. You need to make sure your running all 6.01 files except the configs and upload the upgrade file and run the proper upgrades and you will be fine.

angkor408 November 13th, 2007 09:19 PM

You the man!! It work now. Actually didn't start upgrade from 5.5 to 5.6. I jump from 5.X to 6.0. Again, my search is working now.

http://www.khmerclub.com/gallery/search.php?searchid=2

Chuck S November 13th, 2007 10:51 PM

Enjoy and have a good evening.


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

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97