haxxorsid / food-ordering-system

Food or Item Order Management System
300 stars 162 forks source link

Login Loading Error #1

Closed Klevi7 closed 6 years ago

Klevi7 commented 6 years ago

Hello when I log in with admin/costumer credentials it stays loading/buffering all the time. Database is configured correctly and registering new users works well, but login doesn't work. Why does it happen?

haxxorsid commented 6 years ago

It is working fine on my setup. Check for logs or any warnings.

Klevi7 commented 6 years ago

I cleared logs, caches etc both on chrome and mozilla but it just keeps buffering. Can you help me please?

Klevi7 commented 6 years ago

The problem is at buffering effect. When I remove after as I log in as admin, I can see the admin view. When I click at Users it works, but it doesn't work when I click at orders or tickets.

haxxorsid commented 6 years ago

If by buffering effect you mean the splash screen(colorful loading circle) then you can try removing it from webpages: This is the code which is present in all .php files in the root-

  <div id="loader-wrapper">
      <div id="loader"></div>        
      <div class="loader-section section-left"></div>
      <div class="loader-section section-right"></div>
  </div>

This might be a problem because of JS/CSS/Browser. If this doesn't fix it then it might problem with your development environment(maybe too slow) or code doesn't support your environment or there is some real problem with code.

My environment: PHP5.6 (on XAMPP)

If this doesn't fix it, then you will have to provide me some typical error message your system is giving you, else I won't be able to solve your problem.

Klevi7 commented 6 years ago

My browser says that the problem seems to be that custom.min.css is not loading. I use phpstorm 9.0 and xampp. I removed all the loading circle codes. Problems that I face is that in admin page orders/tickets can not be clicked. When I login as a user I can only see the amount of dollars in the right top and that's all nothing is showed.

haxxorsid commented 6 years ago

custom.min.cssis blank. So that should not matter. Other than that please check if your PHP supports the code. I have doubt if PHP7 supports it. Regarding your problem: I need the proper error, warning your system is generating else I can't help you.

Klevi7 commented 6 years ago

I just tried it with php 5.6 and it still doesn't work properly. You don't have any bugs in your project? All the functionalities are working?

haxxorsid commented 6 years ago

All the functionalities are working on my environment. Try it on your alternative or any colleague's PC. I have added some screenshots in README.md if you want to take a look.

haxxorsid commented 6 years ago

I am closing this issue since there was no followup on this. Thanks.