Comments (12)
+1 .. Same here..
from hotelmanagement.
Have you setup apache server ?
Then, you should edit following file's 17th line. Change it to your hostname (http://localhost/ if you are installing your local machine)
https://github.com/tugbadogan/hotelmanagement/blob/master/application/config/config.php
from hotelmanagement.
I was trying to do it in WAMP server. even i tried changing the config
file.... still no luck :( Can i have your email id where we can chat ?
Thanks and Regards
Amit Om Mishra
On Tue, Dec 30, 2014 at 4:48 PM, tugbadogan [email protected]
wrote:
Have you setup apache server ?
Then, you should edit following file's 17th line. Change it to your
hostname (http://localhost/ if you are installing your local machine)https://github.com/tugbadogan/hotelmanagement/blob/master/application/config/config.php
—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from hotelmanagement.
Hi,
something is not working with this app, i invested a lot of effort to make it run but i failed.
I have LAMP server, with FastCgi on it.
Made the changes in config.php and database.php(changed the user/pass parameters).
Seems somethig with login redirection is not working correctly.
Opening url http://localhost/ app redirects me to http://localhost/login but there i get 404.
When i try to open http://localhost/index.php/login page brakes but shows partialy both login and welcome screen.
Hope you can help me out.
Cheers,
Jura
from hotelmanagement.
You should edit rewrite rules on your LAMP server @jbiuk
If you use apache server add following lines to your .htaccess file
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
If you're using nginx server add following lines to your configuration file (For example: /etc/nginx/sites-available/yourdomain.com.vhost)
location / {
# Check if a file exists, or route it to index.php.
try_files $uri $uri/ /index.php;
}
@amitommishra : If you say the problem like @jbiuk said, I can help you here too
from hotelmanagement.
Thank you for your response!
I created new .htaccess file in my apache root folder "/var/www/.htaccess", and added the rules as you said.
Defined mile.php as my index page in config.php.
Page showed something that was not in order, for "http://192.168.1.5/hotel/mile.php/login"
In my consle, on Crome broswer, i got the folowing errors when tried to open the login page:
Failed to load resource: the server responded with a status of 404 (Not Found)
login:278 Uncaught SyntaxError: Unexpected token <
login:328 Uncaught ReferenceError: guidely is not defined
When i open the login file in script for line 277 and 278 i saw this:
var lineChartData = {
labels: <? echo json_encode($next_week_freq['dates']);?>,
I am new to javascript so i am unsure if this is correct syntax?
There are many .htaccess files in CI folders, should i change them all?
from hotelmanagement.
@jbiuk That is the problem with php short tags. Please follow below mentioned i got it working after making changes in php.ini however my suggestions would be for keeping future release in mind to use <?php :)
http://stackoverflow.com/questions/12579448/php-short-open-tag-on-not-working
@tugbadogan : Thank you. your comments above did the trick. I got it working till login page :)
from hotelmanagement.
Hi,
thank you guys for your help so far, i got it working till login page :-)
Also i noticed that in code threre should be some users present in hotel.employee table and mine is empty, I guess you need them to login to the page.
So i inserted manualy into hotel.employee table some parameters but still no luck.
Do we have some login credentials hardcoded?
When i try to login in the main page to http://localhost/login instead http://localhost/hotel/login...
App is in /hotel/. In config.php parameters are set correctly.
Why is it still redirecting me to wrong page?
from hotelmanagement.
After consulting with google,I managed to get pass login page,
First i set up the Rules in .htaccess, and added "RewriteBase /",
then changed apache2.conf file to AllowOverride All for my project folder,
Inserted manualy in the database one user and one department:
then did date/timezone setup in php.ini(because page complained about date :)),
INSERT INTO hotel.department SET department_name="test",department_budget=69;
INSERT INTO hotel.employee SET employee_username="aaa",employee_password="123",employee_firstname="test",employee_type="test",employee_lastname="test",employee_telephone=911,employee_email="[email protected]",department_id=1;
After that i managed to login and got blank html page... any suggestions?
from hotelmanagement.
i have the next problem :
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
i'm need your help
tranks sorry for my english
from hotelmanagement.
@satiax That problem is related with Codeigniter and your PHP version. You can find discussion about it from following link.
https://ellislab.com/forums/viewthread/244510/
from hotelmanagement.
hi all,
have anyone managed to setup the app?
from hotelmanagement.
Related Issues (14)
- I can't login , Please advice
- No Login Credentials
- Reservation view is not available, Dashboard is also of no use.
- Finding Room problem.
- Cant Login
- Setup Issues HOT 14
- Stuck at member login screen HOT 7
- database importing problem. HOT 5
- unable to login HOT 4
- Please add dummy data
- Çalışmıyor
- I am unable to login even after entering the employees username and password
- I am unable to login HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotelmanagement.