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

Returns 404 For all Pages in Copied Project #4007

Closed
vkiranmaniya opened this issue Mar 15, 2019 · 7 comments · Fixed by #4008
Closed

Returns 404 For all Pages in Copied Project #4007

vkiranmaniya opened this issue Mar 15, 2019 · 7 comments · Fixed by #4008

Comments

@vkiranmaniya
Copy link
Contributor

Version information

  • Laravel: v5.5
  • Voyager: v1.2.2
  • PHP: 7.2.11
  • Database: MySQL 8.0

Description

I have copied the project from the production server to the local machine and reconfigured everything to use it on the local environment. Login and Dashboard works fine but it gives 404 page for everything else.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Setup Laravel Project with Voyeger
  2. Copy the entire project with the database to another machine
  3. Configure everything and Login in the system.
  4. Check for everything is working or not.

Expected behavior

The project should work in local machine as working in production server

Additional context

My Project has lots of BREAD built inside it and REST API also, so i don't want to build everything from scratch. please help.

@fletch3555
Copy link
Collaborator

You likely just missed some configuration. Reproduction steps should be as specific as possible (think like you're telling a blind person how to get somewhere). Right now, your directions say "copy" but don't say where, and "configure" but don't say what or how

@lohchansiang
Copy link

Did you use xampp for the local environment?
i face the same issue when using xampp, but its working after i use laravel php artisan serve

@Ademking
Copy link

Same problem when using xampp.. i updated the APP_URL but it's not working - Error 404
i think the sidemenu is not using relative url( not using APP_URL variable)
maybe i'm wrong 🤔

@Ademking
Copy link

#4008

@vkiranmaniya
Copy link
Contributor Author

You likely just missed some configuration. Reproduction steps should be as specific as possible (think like you're telling a blind person how to get somewhere). Right now, your directions say "copy" but don't say where, and "configure" but don't say what or how

Thanks for your reply.
I just zipped the directory containing the entire project and downloaded in the local machine. after that, I've setup Laragon (i'm not using XAMPP) and installed the database copied from server. as part of the configuration, i also configured the project's .enc file and database configs. Now the Project supposed to work exactly as on the server, but only dashboard URL works. Everything else goes to 404 page.

@vkiranmaniya
Copy link
Contributor Author

Same problem when using xampp.. i updated the APP_URL but it's not working - Error 404
i think the sidemenu is not using relative url( not using APP_URL variable)
maybe i'm wrong 🤔

Yup, I also aspect the same situation that the APP_URL variable in the .env file is not being used.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants