 | |  | | | ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here. |
March 17th, 2005, 11:05 AM
|
#1 (permalink)
| | Registered User
Join Date: Jul 2003
Posts: 28
| 2.9 Upgrade Today - Error Follows
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script: showproduct
Query: SELECT catname,template,extra1,extra2,extra3,extra4,extra5,extra6 FROM categories where id='9'
Result: Unknown column 'extra1' in 'field list'
Database handle: Resource id #8
Last edited by MRaburn; March 17th, 2005 at 11:43 AM.
|
| |
March 17th, 2005, 11:42 AM
|
#2 (permalink)
| | Registered User
Join Date: Jul 2003
Posts: 28
|
Also at the bottom of showcat.php I have this text at the VERY bottom.
SELECT id,user,userid,cat,date,title,description,keywords,bigimage,views,approved,rating,manu,numreviews FROM products WHERE approved='1' AND cat='9' AND cat='9' ORDER BY disporder,manu
|
| |
March 17th, 2005, 12:20 PM
|
#3 (permalink)
| | Registered User
Join Date: Jul 2003
Posts: 28
|
Well I have looked at the code in the latest showproduct.php.
It Reads:
$query = "SELECT catname,,extra1,extra2,extra3,extra4,extra5,extra6template FROM {$Globals['pp_db_prefix']}categories where id='$cat'";
$resulta = ppmysql_query($query,$link);
list( $thecatname, $template, $Globals['extra1name'], $Globals['extra2name'], $Globals['extra3name'], $Globals['extra4name'], $Globals['extra5name'], $Globals['extra6name'] ) = mysql_fetch_row($resulta);
ppmysql_free_result($resulta);
Which is strange since this is a call to the Categories table and those extra fields do not exist as well as a call to pp prefix which should probably read rp.
I have take out the extra field names from the query and it is currently working.
Might want to take a look at that.
Mike
|
| |
March 17th, 2005, 12:35 PM
|
#4 (permalink)
| | Registered User
Join Date: Jul 2003
Posts: 28
|
So far so good but at the end of showcat.php after the html close tag I get this.
</html>SELECT id,user,userid,cat,date,title,description,keywords,bigimage,views,approved,rating,manu,numreviews FROM products WHERE approved='1' AND cat='8' AND cat='8' ORDER BY disporder,manu
|
| |
March 17th, 2005, 04:48 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
at the bottom of showcat.php remove
echo "$query";
In showproduct.php the query should read like this
$query = "SELECT catname,template FROM {$Globals['pp_db_prefix']}categories where id='$cat'";
$resulta = ppmysql_query($query,$link);
list( $thecatname, $template ) = mysql_fetch_row($resulta);
ppmysql_free_result($resulta);
the extra fields where not moved in 2.9 yet
|
| | |
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 12:44 AM. | |