Saturday, August 8, 2015

Create your own E-commerce website

  1. E-commerce (also written as e-Commerce, eCommerce or similar variants), short for electronic commerce, is trading in products or services using computer networks, such as the Internet.
    To start you no need to be professional and no need to learn any technologies. You can create your own website with in a minutes.
    Here you go..
     1.     Download xampp software from https://www.apachefriends.org/download.html and install
    (before you install this software make sure that you don't have mysql and apache softwares in your computer. If so either uninstall or change the port numbers).
    It is a software which includes mysql+apache(which is different from tomcat)+php+perl .
    There are many frameworks that are available in internet which helps you to create your own website.
    As here I am going to create an E-commerce website there is a framework called opencart.
     2.     Download opencart from http://www.opencart.com/index.php? route=download/download . It works on php and apache server, that's the reason why we installed xampp.
     3.     Open xampp control panel


     4.     Start apache and mysql (you can see a green color background)

     5.     Now unzip the opencart and copy upload folder to C:\xampp\htdocs
     6.     Open browser and type localhost/foldername(upload) and hit enter(This is to deploy )
     7.     Here you need to agree the licence and click continue. In the next page you need to enter database and admin details. Make sure that database and username is already existed in mysql. (To create database, user and tables open XAMPP control panel and open mysql admin page).
     8.     Delete install folder from the project folder.
     9.     Now click go. Here you can see two options i) website ii) admin login




     10.                 Finished  J




  2. // in mac after deployment make sure to create 
    1. create a storage folder in the root of the application sudo mkdir storage
    2. set the new folder to 777 or 775 permissions sudo chmod -R 777 storage
    3. create a storage folder in the root of the application sudo mkdir logs
    4. set the new folder to 777 or 775 permissions sudo chmod -R 777 logs
    5. create a storage folder in the root of the application sudo mkdir modification
    6. set the new folder to 777 or 775 permissions sudo chmod -R 777 modification
  3. this problem happens When the system cant create the storage folder which contains the logs cache and modification folders because of permissions problems ,some times the problem happens after storage directory transfer from the dash board , so to solve the problem you need to do the above
create database and if possible users u want

  1. Move
    /Applications/XAMPP/xamppfiles/htdocs/upload/system/storage/
    to
    /Applications/XAMPP/xamppfiles/storage/
  2. Edit config.php change
    define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
    to
    define('DIR_STORAGE', '/Applications/XAMPP/xamppfiles/storage/');
  3. Edit admin/config.php and change
    define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
    to
    define('DIR_STORAGE', '/Applications/XAMPP/xamppfiles/storage/');

Remove shortcut virus in your PC

1)    Open cmd
2)    Type
  attrib -h -r -s /s /d g:\*.* 
Here g is a drive


Make your computer genuine free (windows 7)

1)    Go to start menu and type cmd
2)    When you find cmd Run it as administrator (Right click on cmd )
3)    Now type slmgr –rearm  and hit enter
4)     Restart your computer
5)    Again open cmd as administrator
6)    Now type slmgr –ato  and hit enter
7)    Now you can set your wallpaper.

NOTE: This will be temporary. It’s only for one month. You can use this command only for 3 times. So you need to buy a genuine product key.