osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Upgrading Question

This is a discussion on Upgrading Question within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, Out of curiosity, I've just try to restore sql database (from previous ver.) to newly installed Oscommerce (most current ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-24-2003, 12:43 AM
Lurker
 
Join Date: Jan 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daybeauty
Default Upgrading Question

Hi,

Out of curiosity, I've just try to restore sql database (from previous ver.) to newly installed Oscommerce (most current version). I'm hoping to upgrade to current version due to great new features. Database was restored without any problem but when I visited the site, it showed following error message:

1064 - You have an error in your SQL syntax near 'MAX_DISPLAY_PRODUCTS_IN_ORDER_HISTORY_BOX' at line 1

select distinct op.products_id from orders o, orders_products op, products p where o.customers_id = '2' and o.orders_id = op.orders_id and op.products_id = p.products_id and p.products_status = '1' group by products_id order by o.date_purchased desc limit MAX_DISPLAY_PRODUCTS_IN_ORDER_HISTORY_BOX

[TEP STOP]

Can anyone tell what above error message mean? Any advice would be really appreciated. Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-24-2003, 06:53 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Most likely if this is from an older version, the database is not compatible with the new version. Run the upgrade option on the install script and it should update your database for you.

If after this it still gives you an error, time to look at syntax, mysql version and what you have to change in the data to make it work.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-24-2003, 09:25 AM
Lurker
 
Join Date: Jan 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daybeauty
Default

Thank you so much for the advice msasek
Could you tell me where&how to run the upgrade option on the install script? Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-24-2003, 10:01 AM
New Member
 
Join Date: Jan 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
miko
Default Upgrade option in install script

Navigate here:

Code:
http://localhost/catalog/install/install.php
And it is the 3rd option

Miko
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
help with upgrading to rc3 art230 osCMax v2 Installation issues 11 11-19-2006 10:48 PM
need some help on upgrading bagged89s10 osCMax v2 Installation issues 0 10-11-2005 07:14 PM
Upgrading from 1.7 max to 2.0 rc2 max - How to do it and.... Pr0ject osCMax v2 Installation issues 0 09-23-2005 11:11 AM
upgrading from 2.1 to 2.2 phluisma osCommerce 2.2 Installation Help 3 10-30-2003 02:40 PM
Upgrading from 2.1 to 2.2 Anonymous osCommerce 2.2 Installation Help 1 11-19-2002 04:31 PM


All times are GMT -8. The time now is 05:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax