Installation Guide

Installation Instructions are below

Upload Package

  1. Unzip the package for wedding, downloaded from Codecanyon
  2. Upload the folder "ci_wedding" and all its content to your server. 

Setup Database

 Get your database informtation from your hosting's MySQL Databases page. generally it has only 3 fields.

  1. database_name
  2. username that are setup access for those database
  3. password that are used to access for those database

Open the "application/config/database.php" file  and "application/admin/config/database.php" file with a text editor and set your database settings.

$db['default'] = array(
 'dsn' => '',
 'hostname' => 'localhost',
 'username' => '{{ENTER_USERNAME_HERE}}',
 'password' => '{{ENTER_PASSWORD_HERE}}',
 'database' => '{{ENTER_DATABASE_NAME_HERE}}',
 'dbdriver' => 'mysqli',
 'dbprefix' => '',
 'pconnect' => FALSE,
 'db_debug' => (ENVIRONMENT !== 'production'),
 'cache_on' => FALSE,
 'cachedir' => '',
 'char_set' => 'utf8',
 'dbcollat' => 'utf8_general_ci',
 'swap_pre' => '',
 'encrypt' => FALSE,
 'compress' => FALSE,
 'stricton' => FALSE,
 'failover' => array(),
 'save_queries' => TRUE
);

 

Import Database

In the root of package "ci_wedding", there are some sql files, like ci_wedding.sqlci_wedding1.1.sql and so on. and 1 of them is like this 

ci_wedding{{VERSION}}(Latest).sql.

so you need to select this sql file for import.

go to your hosting by login, and open phpmyadmin, select the database, and then go to import tab. where select those sql file for import.

Update Security using htaccess

 Security is major issue on websites, so we take care this using htaccess. There are 2 htacces files need to be updated for front-end and admin.

  • for front-end, .htaccess file is on root folder, that have below content

     

    RewriteBase /main_demo/ci_wedding/

    so we just need to change above like this

    RewriteBase /
  • for admin. .htaccess file is here, root/admin/ folder, that have below content
    RewriteBase /main_demo/ci_wedding/admin/

    so we need to change above like this

    RewriteBase /admin/