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

Error loading page. Please refresh the page #1843

Closed
ghost opened this issue Mar 23, 2019 · 7 comments
Closed

Error loading page. Please refresh the page #1843

ghost opened this issue Mar 23, 2019 · 7 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 23, 2019

Bug report

What I did:

i have cloned a project into laradock container.

What I expected to happen:

i aspect that it work as in past.

What happened:

in all my crud index page i have:
image

I have no javascript error messages and the search result file seem ok. this is very strange for me. i have no log to study because laravel has no error logs and i can't see javascript errors.

What I've already tried to fix it:

composer update and composer dump-autoload. npm run production.

Backpack, Laravel, PHP, DB version:

backpack crud is 3.6, php is 7.2.16, laravel 5.8, and mysql is 5.7

@welcome
Copy link

welcome bot commented Mar 23, 2019

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

  • Bug Reports, Feature Requests - Github Issues (here);
  • Quick help (How do I do X) - Gitter Chatroom;
  • Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the backpack-for-laravel tag;

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

--
Justin Case
The Backpack Robot

@tabacitu
Copy link
Member

Hi @mauro-gallo .

Strage indeed. What does your Network tab look like? Anything red there?

@ghost
Copy link
Author

ghost commented Mar 25, 2019

i'm using laradock with default settings.

@imansugirman
Copy link
Contributor

Same problem with relationship

@tabacitu
Copy link
Member

tabacitu commented Apr 1, 2019

@mauro-gallo in Chrome Dev Tools if you leave the Network tab open and then refresh the page, it should show all requests. One of them should be red (because it errored). Please click it and show the error here so I can help. It should give a clear error message for us to debug.

Cheers!

@tabacitu tabacitu closed this as completed May 9, 2019
@sokvebolkol
Copy link

sokvebolkol commented Jan 16, 2020

You have to make sure, you have done command ==php artisan migrate== or migrate:fresh
Run: php artisan migrate (it will working)

@Fab-TOK
Copy link

Fab-TOK commented Jul 20, 2023

I had the same problem and it blocked me for days.
All you have to do is change the "APP_URL" variable in the .env file of the Laravel project.

Mine used to be "APP_URL=localhost", but that didn't work.
Then I changed it to "APP_URL=http: //movie.test" and it worked.
knowing that "http: //movie.test" is the local domain name I created for my project.

So all you have to do is change the "APP_URL" variable to the correct address. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants