SagarMaheshwary / Employee

A Simple Employee Management System with Materializecss and Laravel
MIT License
104 stars 58 forks source link

Login #1

Closed annasindhu closed 5 years ago

annasindhu commented 5 years ago

I am using Xampp. i installed correctly but aftergiving the username and password loging page is not responding.Validation is working

SagarMaheshwary commented 5 years ago

Please give me a screenshot of your error.

annasindhu commented 5 years ago

image

annasindhu commented 5 years ago

after pressing the LOGINBUTTON no action happened in the projects no error is showing

SagarMaheshwary commented 5 years ago

This project is built on materialize-css, so please use a better browser like chrome.

annasindhu commented 5 years ago

i checked with opera and crome but no change

SagarMaheshwary commented 5 years ago

Is the login form submitting?

annasindhu commented 5 years ago

values are passing but image

SagarMaheshwary commented 5 years ago

I have tested the login just now but I didn't see a problem. I think you might have missed a step. Check if you have correctly setup the database configurations and please enable php errors.

SagarMaheshwary commented 5 years ago

Instead of using apache, open you cmd, cd into the project directory and run,

php artisan serve

open the url you see on the cmd and then try login again.

annasindhu commented 5 years ago

Thanks for the immediate support ....Its working fine in http://127.0.0.1:8000/dashboard but not in apache do you know why it happen

SagarMaheshwary commented 5 years ago

The public directory contains the index.php file, which is the entry point for all requests entering your application. So, when you login, you get redirected to localhost/dashboard instead of localhost/your-laravel-project/public/dashboard. For these cases you can use a virtual host. Here's an example https://stackoverflow.com/a/36572751 or you can google it for better examples.

annasindhu commented 5 years ago

Hi i understood the problem,in apache after login-> page submitting in http://localhost/projectname/dashboard instead of http://127.0.0.1:8000/dashboard thats the problem is there any possiblelity to change the path in the Employee-master project.