 | |  | | | ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here. |
April 19th, 2009, 10:04 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009 Location: Sugarland, TX
Posts: 8
| Error after upgrade from 4.04 to 4.1
I just ran the upgrade from 4.04 to 4.1 and it all appears to have gone well...except when I click my Category link I get the following errors at the top of the page.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /path/to/my/reviewpost/showcat.php on line 577
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /path/to/my/reviewpost/showcat.php on line 615
Can you help me track down what I've done wrong?
|
| |
April 19th, 2009, 11:15 PM
|
#2 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009 Location: Sugarland, TX
Posts: 8
|
The 2 lines are:
577 $rowcnt = mysql_num_rows($queryv);
615 while ( $row = mysql_fetch_row($queryv) )
If I do this -->
577 $rowcnt = @mysql_num_rows($queryv);
615 while ( $row = @mysql_fetch_row($queryv) )
The error goes away. Does this mean my tables didn't get upgraded?
|
| |
April 20th, 2009, 07:31 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
well very strange if you set the debug option in admin global options to display errors what is the error it displays on showcat?
I think maybe you missed running an upgrade or have a corrupt table.
|
| |
April 21st, 2009, 12:55 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2009 Location: Sugarland, TX
Posts: 8
|
I'm sorry...I can't track down what happened now. I found that any new categories I create don't display the errors, so I just did that (and removed the @). I only had 4.04 installed for a day before upgrading to 4.1, so I only had to replace 2 products.
Thank you for the suggestions though and I'll post back if I see anything weird going forward.
|
| |
April 21st, 2009, 01:13 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Have a good day let me know
|
| |
May 28th, 2009, 01:31 PM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: May 2004
Posts: 2
|
Hi, I'm experiencing the same problem when upgrading from 4.04 to 4.11. This is the error message:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT id,user,userid,cat,date,title,description,keywords,bigimage,views,approved,rating,manu,numreviews,extra1,extra2,extra3,extra4,extra5,extra6,disporder,zipcode FROM products WHERE approved=1 AND cat=8 ORDER BY disporder,price DESC
Result: Unknown column 'price' in 'order clause'
Database handle: Resource id #22
Any help you can offer will be greatly appreciated. Thanks in advance!
|
| |
May 28th, 2009, 02:16 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Yes there was a cross over in sort table settings in the translations.
Redownload the build and upload upgrade.php and phrases.php and run the 4.1 upgrade and reimport your phrases should fix your issue.
|
| |
May 28th, 2009, 02:46 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: May 2004
Posts: 2
|
Thank you so much! Worked like a charm!
|
| |
May 28th, 2009, 02:55 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Glad to assist!
|
| | |
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 | | | All times are GMT -5. The time now is 06:55 PM. | |