Help
Customer Support | Forums
LiveCart > User Manual > Installation

Installation

Note: If you encounter any problems, please do not hesitate to contact us via support center.

Downloading & Extracting

  1. After purchasing LiveCart license your copy will be available in your account under the "Downloads" section.
  2. When you download the package you can extract it or upload it directly to your web server.
  3. Use FTP to upload extracted package or the appropriate command line to decompress it on server.

To extract the .tar.gz package on a *nix server, you can use the following command:

> tar -xfz livecart*

You'll also need to change the write permissions for a few directories. This can be done with FTP, but you can also do it from command line:

> chmod 0777 cache storage public/cache public/upload

Installing: 5 steps and you're done

To start installation wizard, point your browser to your shop address i.e. www.myshop.com

During the installation process follow the wizard to complete the following steps:

  • 1

    Accept the product license agreement.

  • 2

    In this step you will be required to enter the following information: database server; database name; database user name and password.

    Note: If you are not sure what any of those are, please contact your hosting company.

  • 3

    Here you create your admin account which is used for your store back-end access.

  • 4

    Store configuration will ask you to enter store name and select its main language and currency.

  • 5

    You've succeeded! You are now all set to start using LiveCart.

    Front-end access - your usual shop address.

    Back-end access - your usual shop address + 'backend/': www.myshop.com/backend.

Advanced Installation Tips

Please note that these tips are completely optional. You're free to skip them.

LiveCart doesn't require all your application files to be accessible from web root - only the /public directory files need to be publicly accessible. There are two ways to achieve this.

1. Using symbolic links

This is the preferred way as it keeps all the application files in a single place and therefore makes it easier to apply updates or create backups.

For example, the public directory of your store website is /home/store/public_html. Instead of copying all LiveCart files to the public_html directory, you can copy them to /home/store/livecart directory or any other directory that is outside the public root.

To make LiveCart accessible from web, you will have to create two symlinks in the public directory:

> ln -s /home/store/livecart/.htaccess /home/store/public_html/.htaccess
> ln -s /home/store/livecart/public /home/store/public_html/public

That's it! No application files apart the public ones will be accessible from your web root.

2. By changing LiveCart configuration

If you do not have the ability to set symbolic links for whatever reason, it is still possible to put application files outside the web root.

In this case you would have to physically move the public directory and .htaccess file from /home/store/livecart to /home/store/public_html directory.

Finally, you would have to edit the public/appdir.php file and change its content to the following:


<?php
    
return '/home/store/livecart';
?>

When you have a choice, always use the first option, because it will make store maintenance easier.

User Contributed Notes

18 comments received. Add your comment.
  • You also have to change permissions to 777 for public/module
  • Fatal error: Call to undefined method Locale::getInstance() in D:\zend\Apache2\htdocs\work\application\LiveCart.php on line 882 When i try to install
  • problem on hostmonster - when to add images i get errors:
    Fatal error: Class 'ImageManipulator' not found in /application/controller/backend/abstract/ObjectImageController.php on line 274

    Warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    knows anybody how to fix it?
  • my error while installing:
    Cannot truncate a table referenced in a foreign key constraint (`livecart`.`useraddress`, CONSTRAINT `State_UserAddress` FOREIGN KEY (`stateID`) REFERENCES `livecart`.`State` (`ID`))
  • Error
    Cannot truncate a table referenced in a foreign key constraint (`livecart`.`useraddress`, CONSTRAINT `State_UserAddress` FOREIGN KEY (`stateID`) REFERENCES `livecart`.`State` (`ID`))
    is apparently related with MySQL 5.5, use instead MySQL 5.1.xx
  • errormind: I had the same problem. Solution: remove php5-intl or PECL initl

  • Son of a gun, this is so heplufl!
  • i am getting the error that
    Undefined index: SEARCH_MODELS in C:\wamp\www\livecart\application\model\searchable\index\SearchableConfigurationIndexing.php on line 141
  • alejandrolsca@gmail.com
    Cannot truncate a table referenced in a foreign key constraint (`livecart`.`useraddress`, CONSTRAINT `State_UserAddress` FOREIGN KEY (`stateID`) REFERENCES `livecart`.`State` (`ID`)) <--------- for this error you only need to put this two lines in the all.sql file located in the installdata>sql>state folder. enjoy!

    SET FOREIGN_KEY_CHECKS=0;
    all.sql
    SET FOREIGN_KEY_CHECKS=1;
  • alejandrolsca
    I get this error when adding the first product, i try clean install with 1.4.0 and 1.4.0.2, and the same thing happens.

    Database Error

    Error message returned from the database:

    Could not execute query [Native Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as valueID FROM SpecificationDateValue LEFT JOIN SpecField ON specFieldID ' at line 1] [User Info: SELECT SpecificationDateValue.*, NULL AS valueID, NULL AS specFieldValuePosition, SpecFieldGroup.position AS SpecFieldGroupPosition, SpecFieldGroup.name AS SpecFieldGroupName, SpecField.* as valueID FROM SpecificationDateValue LEFT JOIN SpecField ON specFieldID = SpecField.ID LEFT JOIN SpecFieldGroup ON SpecField.specFieldGroupID = SpecFieldGroup.ID WHERE productID IN (1) AND SpecField.isDisplayedInList = 1 UNION SELECT SpecificationStringValue.*, NULL, NULL AS specFieldValuePosition, SpecFieldGroup.position AS SpecFieldGroupPosition, SpecFieldGroup.name AS SpecFieldGroupName, SpecField.* as valueID FROM SpecificationStringValue LEFT JOIN SpecField ON specFieldID = SpecField.ID LEFT JOIN SpecFieldGroup ON SpecField.specFieldGroupID = SpecFieldGroup.ID WHERE productID IN (1) AND SpecField.isDisplayedInList = 1 UNION SELECT SpecificationNumericValue.*, NULL, NULL AS specFieldValuePosition, SpecFieldGroup.position AS SpecFieldGroupPosition, SpecFieldGroup.name AS SpecFieldGroupName, SpecField.* as valueID FROM SpecificationNumericValue LEFT JOIN SpecField ON specFieldID = SpecField.ID LEFT JOIN SpecFieldGroup ON SpecField.specFieldGroupID = SpecFieldGroup.ID WHERE productID IN (1) AND SpecField.isDisplayedInList = 1 UNION SELECT SpecificationItem.productID, SpecificationItem.specFieldID, SpecFieldValue.value, SpecFieldValue.ID, SpecFieldValue.position, SpecFieldGroup.position AS SpecFieldGroupPosition, SpecFieldGroup.name AS SpecFieldGroupName, SpecField.* FROM SpecificationItem LEFT JOIN SpecFieldValue ON SpecificationItem.specFieldValueID = SpecFieldValue.ID LEFT JOIN SpecField ON SpecificationItem.specFieldID = SpecField.ID LEFT JOIN SpecFieldGroup ON SpecField.specFieldGroupID = SpecFieldGroup.ID WHERE productID IN (1) AND SpecField.isDisplayedInList = 1 ORDER BY productID, SpecFieldGroupPosition, position, specFieldValuePosition]
  • When I am installing the database I get the following error. Please help!

    Cannot truncate a table referenced in a foreign key constraint (`zuly_crpro_-_live`.`UserAddress`, CONSTRAINT `State_UserAddress` FOREIGN KEY (`stateID`) REFERENCES `zuly_
  • When trying to install, it throws: Table "Product" already exists.

    What to do?
  • JlA72u http://www.FyLitCl7Pf7kjQdDUOLQOuaxTXbj5iNG.com
  • when i try to install, i am facing the issue as Unknown MySQL server host '4@127.0.0.1' (2)
  • KSiE7i http://www.FyLitCl7Pf7ojQdDUOLQOuaxTXbj5iNG.com
  • VyuhYv http://www.y7YwKx7Pm6OnyJvolbcwrWdoEnRF29pb.com
  • FsIELY http://www.y7YwKx7Pm6OnyJvolbcwrWdoEnRF29pb.com
  • afasaFad2da
    aL5Ewv http://brothosonkonlonwon.ru check link