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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| Navigate here: Code: http://localhost/catalog/install/install.php Miko |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |