channaveer / hotel_management

OBSOLATE NO MORE MAINTAINED
Other
14 stars 19 forks source link

project not work #2

Closed deazure closed 8 years ago

deazure commented 8 years ago

hello i download the project and follow the instruction :+1: Hotel Management Installation Steps

Note - Maker sure to enable "short_open_tag=On" in your 'php.ini' file.

Copy the unzipped project folder to www/htdocs location and change the project name to 'hotel'

OR

Change the your project base_url name in app/config.php folder to the following

$config['base_url'] = 'http://localhost/hotel_managment';

Create a database with name 'hotel' and Open 'Database' folder which is in project root folder and dump the 'hotel.sql' file to database using phpmyadmin or any other relavent tools.

OR

If you have given the name of the database other then 'hotel' then change the name of the database on app/database.php to the following

$db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'root'; //DB username $db['default']['password'] = ''; //DB password $db['default']['database'] = 'hotel_managment'; //In case if your database name is 'hotel_managment'

Open browser with the the following url localhost/hotel

or

localhost/your_project_name Now login with the following credentials username - channaveer password - channaveer

after i going to localhost/file_project but i don't work

can you help me tanks

channaveer commented 8 years ago

Please check .htaccess file whether you have changed the name of the project

deazure commented 8 years ago

thks

  1. i change this ligne but nothing

RewriteRule ^(.*)$ /file_projet_name/index.php/$1 [L]

  1. what is the nginx.conf

what it do ?

how i can do ?

Le 19/05/2016 à 09:00, Channaveer Hakari a écrit :

Please check .htaccess file whether you have changed the name of the project

*

Instead of

RewriteRule ^(.*)$ /hotel/index.php/$1 [L]

*

You need to replace by
RewriteRule ^(.*)$ /your_project_name/index.php/$1 [L]

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/channaveer/hotel_management/issues/2#issuecomment-220266943

channaveer commented 8 years ago

Please follow the following steps.