Find Version

How can you figure out what version your on with out being able to login to the admin section. When I moved servers for some reason the core dir did not get copied. So I took the core dir from CS-Cart 2.1.2 put it in there and now I get:



[COLOR=#000000][FONT=Courier]Database error:[/FONT][/COLOR] Unknown column ‘object_holder’ in ‘field list’ B[/B]

[COLOR=#000000][FONT=Courier]Invalid query:[/FONT][/COLOR] SELECT object_holder, description FROM cscart_common_descriptions WHERE object_id = 0 AND lang_code = ‘EN’

[COLOR=#000000][FONT=Courier]Backtrace:[/FONT][/COLOR] File:/home/warped/public_html/store/core/fn.database.phpLine:310Function:db_errorFile:/home/warped/public_html/store/core/fn.database.phpLine:245Function:db_queryFile:/home/warped/public_html/store/core/fn.common.phpLine:3133Function:db_get_hash_single_arrayFile:/home/warped/public_html/store/core/fn.init.phpLine:152Function:fn_get_manifestFile:/home/warped/public_html/store/init.phpLine:136Function:fn_init_templaterFile:/home/warped/public_html/store/index.phpLine:23Function:require

[HTML]Database error: Unknown column ‘object_holder’ in ‘field list’ (1054)

Invalid query: SELECT object_holder, description FROM cscart_common_descriptions WHERE object_id = 0 AND lang_code = ‘EN’

Backtrace: File:/home/warped/public_html/store/core/fn.database.phpLine:310Function:db_errorFile:/home/warped/public_html/store/core/fn.database.phpLine:245Function:db_queryFile:/home/warped/public_html/store/core/fn.common.phpLine:3133Function:db_get_hash_single_arrayFile:/home/warped/public_html/store/core/fn.init.phpLine:152Function:fn_get_manifestFile:/home/warped/public_html/store/init.phpLine:136Function:fn_init_templaterFile:/home/warped/public_html/store/index.phpLine:23Function:require[/HTML]

If your site won’t run, look at /config.php. You will find a define() for CART_VERSION. it will tell you what version it thinks it is.

[quote name=‘tbirnseth’]If your site won’t run, look at /config.php. You will find a define() for CART_VERSION. it will tell you what version it thinks it is.[/quote]

Seems to be 2.0.15 and the only version in my file area in support is CS-Cart 2.1.2, any one have 2.0.15 sitting around? I just need the core folder.

contact the help desk. They will put the appropriate version in your files area.

Check PM



JOhn