Mindlogix Technologies

Mindlogix Technologies

Happy Wedding – Personal Wedding & Invitation CMS – Installation Guide

Installation Instructions are below

Upload Package

1. Unzip the package for wedding invitation, 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 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
);

Update Security using htaccess

Security is major issue on websites, so we take care this using htaccess.

RewriteBase /main_demo/ci_wedding/

so we just need to change above like this

RewriteBase /

final .htaccess file will be like this code

<IfModule mod_security.c>
SecRuleEngine Off
SecFilterInheritance Off
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>


RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index.php|resources|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]