 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
November 12th, 2007, 04:57 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 102
| 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
|
| |
November 12th, 2007, 05:38 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
November 12th, 2007, 09:45 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 102
|
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 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. | |
| |
November 13th, 2007, 08:41 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
November 13th, 2007, 05:15 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 102
|
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
|
| |
November 13th, 2007, 05:26 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
November 13th, 2007, 08:20 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jul 2006
Posts: 102
|
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
|
| |
November 13th, 2007, 09:00 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
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.
|
| |
November 13th, 2007, 10:51 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,941
|
Enjoy and have a good evening.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Search error messages | SherryG | Photopost Pro Installation & Upgrades | 6 | January 10th, 2007 04:49 AM | | search and tables error | julianvinas | Photopost Pro Installation & Upgrades | 4 | December 3rd, 2006 09:34 AM | | Search error messages | rexromance | Photopost Pro Installation & Upgrades | 21 | November 29th, 2006 03:25 PM | | Error on Search | clasione | Classifieds How do I...? | 1 | March 15th, 2006 12:40 PM | | Error in photo Search | Geiri | Photopost Pro Bug Reports | 4 | September 19th, 2005 07:19 PM | All times are GMT -5. The time now is 09:59 AM. | |