Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard not found #208

Open
aamir-067 opened this issue Sep 10, 2024 · 3 comments
Open

dashboard not found #208

aamir-067 opened this issue Sep 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@aamir-067
Copy link

Describe the bug
when you enter the login credentials is successfully logged in and redirected to dashboard but the dashboard page is missing and it shows 500 status code

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@aamir-067 aamir-067 added the bug Something isn't working label Sep 10, 2024
@JeffreyAReyes
Copy link

It also happens on the demo, https://test.hotechserver.com/dashboard.
After successful login:

image

@makusa-the
Copy link

Bug Report: 500 Error on Dashboard Due to Stock Alert Notification

Issue: When logging in with valid credentials, the login is successful, and the application redirects to the dashboard. However, if there are no products in the system, the stock alert notification throws a 500 status code error, causing the dashboard page to fail to load. This issue can also be observed in the demo at test.hotechserver.com/dashboard.

Steps to Reproduce:

Ensure that there are no products in the inventory.
Deploy the application to a server environment.
Log in with valid credentials.
Observe the 500 error when redirected to the dashboard.
Expected Behavior: The dashboard should load correctly regardless of whether there are products in stock. If no products are present, the stock alert should handle this gracefully without causing an error.

Actual Behavior: When there are no products, the stock alert notification throws a 500 error, and the dashboard fails to load. Notably, this error occurs only in a deployed server environment.

Suspected Cause: The issue likely stems from the stock alert notification not handling cases where there are no products in the inventory when deployed on a server.

Additional Information: This issue does not occur locally and appears specific to the server deployment environment.

@Wolfijs
Copy link

Wolfijs commented Jan 9, 2025

Error with db,any fixes?
In purchases, trying to fixing it,but coundlt , fucked more things up
Happens after purchasing. Edited db ,got more and more problems and gave up.
The error occurs because the user_id column in your movements table expects an integer value, but you're passing a UUID (cea22de6-1820-4402-81ec-062b6a66cc01) instead. Laravel is throwing a QueryException due to a type mismatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants