Changing the server - how to move SOTESHOP 7 to the other server

Moving SOTESHOP 7

  1. Pack a shop's folder,
  2. Check out how to pack SOTESHOP 7.

  3. Copy a packed shop to the new server,
  4. Unpack a shop's package,
  5. Check out how to unpack SOTESHOP 7.

  6. Redirect a domain to shop's folder,
    • Shop that was installed from a standard version package (containing folder /core) - just unpack in domain's folder
    • Shop that was installed from a package for administrators (without folder /core) - redirect a domain / subdomain to shop's folder path_to_shop/soteshop/web
  7. Move a database,
  8. Delete a content of folder /soteshop/cache (if standard version package was used - delete a content of folder /soteshop/core/cache),
  9. Enter URL of shop's update panel in a webbrowser eg. http://www.shop.example.com/update.php
  10. Log in. Access data to shop's update panel doesn't change,
  11. Press Update the access data to the database,
  12. Enter access data to a new database and press Save,
  13. Enter URL address in a webbrowser http://www.shop.example.com/update.php/installerweb/task

    Command line in shop's update panel will appear.

    • Enter: cc and press ENTER,
    • Enter: fcc and press ENTER,

    in order to clear a shop's cache.

Packing SOTESHOP 7

Packing via webbrowser

  1. Create a file pack.php in location /soteshop and fill with code:
  2. 
    <?php
       system("/bin/tar -zcf filename.tar.gz soteshop/");
    ?>
                
  3. Redirect a domain to the folder where your shop's folder /soteshop and file pack.php are located,
  4. Enter a domain (set in point 2) in a webbrowser eg. http://www.shop.example.com/pack.php
  5. Packing srcipt will start processing.

Packing via terminal

  1. Enter FTP account via SSH,
  2. Enter command:
  3. 
    tar -zcf filename.tar.gz soteshop/
                

Other

If you can't execute above-mentioned operations, contact your server's administrator and ask for his help with packing a shop.

Unpacking SOTESHOP 7

Unpacking via webbrowser

  1. Create a file unpack.php in location of your packed shop and fill it with code:
  2. 
    <?php
       system("/bin/tar -zxvpf ./filename.tar.gz");
    ?>
                
  3. Redirect a domain to the folder where your packed shop and unpack.php file are located,
  4. Enter a domain (set in point 2) in a webbrowser eg. http://www.shop.example.com/unpack.php
  5. Unpacking srcipt will start processing.

Unpacking via terminal

  1. Enter FTP account via SSH,
  2. Enter command:
  3. 
    tar -zxvpf filename.tar.gz
                

    Shop has to be unpacked with user's authorizations.

Other

If you can't execute above-mentioned operations, contact your server's administrator and ask for his help with unpacking a shop. You have to mention that:

Shop has to be unpacked with user's authorizations (administrator can't unpack your shop as root).