Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2011-02-03 00:56:36
Size: 2058
Editor: JonCo
Comment:
Revision 6 as of 2011-10-28 00:00:28
Size: 2241
Editor: JonCo
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
 * {{{
run fdb2log -i -B [INTERNETLOCATION] -a 9 -a 65}}}
 * {{{
then run log2cscart -I
 * If on 3.x and up, make sure to disable_block_cache=true. The default is false and this would make changing the "show on web" option on categories have no effect on the site.
 * run
{{{
fdb2log -i -B [INTERNETLOCATION] -a 9 -a 65}}}
 * then run
 {{{
 log2cscart -I

Intall cscart intergration with control

1. only work on rel 12 or later version

step needed for setting up cscart integration with control

  • install cscart 2.0.14 , any other version is used , update needed to be done on the cscart_patch-2.0.14.tgz to work with a new version.
  • configure gencont so we write allow update the dblog, we need the log for the update process,
  • input internet location in gencont
  • configure coaad to allow update of cscart
  • configure coaad put the database , login and password for the cscart database in to control
  • make sure the user on control machine can login to the mysqld on the cscart machine,
  • patch the cscart source directory by untar cscart_patch-2.0.14.tgz under the source directory the cscart version need to be 2.0.14
  • after untar make sure the order_sh and user_sh is executable by apache the order directory is readable and writable by apache
  • change order_sh and user_sh so they use the correct CCDIR server related env, COMPANY and BRANCH and terminal ID
  • setup the terminal ID which used by the script in control to use the correct COMPANY and BRANCH
  • set up control category so it use the alphabetical order to determine sub directory
  • create three directory category/ detailed/ product/ under $CCDIR/COMPANY/images/csc_images/
  • if cscart installed on the same server with control link these three directory with ones in cscart_source/images/
  • Don't forget to set the internet location (in gencont last time it moved)
  • if not on the same server setup cron job to rsync the thrss directories from control machine to cscart server machine
  • If on 3.x and up, make sure to disable_block_cache=true. The default is false and this would make changing the "show on web" option on categories have no effect on the site.
  • run

fdb2log -i -B [INTERNETLOCATION] -a 9 -a 65
  • then run
     log2cscart -I
  • done , cscart should work and is intergrated with control , check by changing stock desc on an item and the same produce's name on the cscart should change as well
  • if any process not working, check error.log for hints.

If your captcha is not working make sure you have gd, php-gd, and freetype installed

cscart.html (last edited 2018-08-01 00:24:30 by fuzzy)