Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

error_occured - new cs cart instllation - old version database (really old) Rate Topic   - - - - -

 
  • zackstark
  • Member
  • Members
  • Join Date: 06-Oct 09
  • 73 posts

Posted 24 October 2012 - 07:28 PM #1

I had a really old version of cs-cart (2.1) or something close. I backed up the db and get this error after a fresh installation onf the latest version.

Database error: Unknown column 'area' in 'where clause' (1054)
Invalid query: SELECT * FROM cscart_sessions WHERE 1 AND session_id = 'fmtkeq9ct6hl80h1c4akva4me6' AND area = 'C'

Backtrace:
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/fn.database.php
Line: 267
Function: db_error
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/fn.database.php
Line: 78
Function: db_query
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/classes/session.php
Line: 43
Function: db_get_row
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/classes/session.php
Line: 277
Function: read
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/classes/session.php
Line: 350
Function: start
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/fn.init.php
Line: 942
Function: init
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/core/fn.init.php
Line: 1137
Function: fn_init_session
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/init.php
Line: 133
Function: fn_init
File: /mnt/target02/349337/685990/www.freedom-ecigsupply.com/web/content/index.php
Line: 18
Function: require

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3884 posts

Posted 24 October 2012 - 10:25 PM #2

If you are saying that you imported a data base from an old version to a new version, you cannot do that without getting errors.