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

Admin page not loading. Just blank white screen. No errors. #984

Open
alexpeterson opened this issue Oct 26, 2020 · 4 comments
Open

Admin page not loading. Just blank white screen. No errors. #984

alexpeterson opened this issue Oct 26, 2020 · 4 comments

Comments

@alexpeterson
Copy link

I have migrated a Croogo site over to a new server. The front-end loads fine however the /admin page is just a blank white page. There are no errors to help debug which is really frustrating!

Has anyone experienced the same? Or do you have any idea why this might be??

@rchavik
Copy link
Member

rchavik commented Oct 27, 2020

there are few things to check:

  • turn debug on, then check logs/browser output
  • check nginx or apache error logs, sometimes the error happens early and not logged in app's log

which versions were involved?

@alexpeterson
Copy link
Author

turning debug on doesn't provide any output.

I suspect it's something to do with prefix routing?

I can access the login screen at /admin/users/users/login but when I try and login I get -

Security Error - The requested address was not found on this server.

Versions are Croogo 2.3.2 (CakePHP 2.9)

I found this error in tmp/logs/error.log

2020-11-18 11:01:57 Error: [MissingActionException] Action UsersController::admin_admin() could not be found. Exception Attributes: array ( 'controller' => 'UsersController', 'action' => 'admin_admin', ) Request URL: /admin/users/users/admin Stack Trace: #0 /home/adminw/public_html/Vendor/croogo/croogo/Croogo/Controller/CroogoAppController.php(228): Controller->invokeAction(Object(CakeRequest)) #1 /home/adminw/public_html/Vendor/cakephp/cake29/lib/Cake/Routing/Dispatcher.php(193): CroogoAppController->invokeAction(Object(CakeRequest)) #2 /home/adminw/public_html/Vendor/cakephp/cake29/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(UsersController), Object(CakeRequest)) #3 /home/adminw/public_html/webroot/index.php(110): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #4 {main}

@rchavik
Copy link
Member

rchavik commented Nov 19, 2020

why is it going to /admin/users/users/admin ?

is the generated form action wrong?

@alexpeterson
Copy link
Author

alexpeterson commented Nov 20, 2020

No idea why it's going to /admin/users/users/admin/ - I presume this was the full url. Maybe the rewrite is incorrect? Although I've not changed anything.

I think step 1 is to try and get the /admin /grasp pages loading and then I expect the login form will work.

Why would the /admin url bring up a white screen? (with not errors). It's bizarre.

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

No branches or pull requests

2 participants