Page 1 of 1

Blank admin page

Posted: Tue Mar 19, 2013 1:12 am
by allanon
Hello,

I've recently followed your eclipse setup page and have the demo site up and running. I've gotten the admin site running in eclipse and when I go to https://localhost:8444/admin I am presented with a log in screen. admin/admin will log me in and other things give an invalid credentials message.

So far so good.

However after logging in with admin/admin I'm presented with a completely blank page. There isn't anything in the header or body, there are no js errors, there are no network errors. There are no errors in the console (well a benign warning about: being unable to determine the runtime environment). So I've debugged into this a ways and gotten to:

BroadleafAdminLoginController.loginSuccess() -> adminNavigationService.buildMenu(...) -> adminNavigationDao.readAllAdminModules()

which returns an empty list from the query "SELECT adminModule FROM org.broadleafcommerce.openadmin.server.security.domain.AdminModule adminModule". So my question is at this point did I miss some setup or configuration that I was supposed to do before running the admin portion?

Thank you so much for any help you can offer.

Re: Blank admin page

Posted: Tue Mar 19, 2013 10:27 am
by phillipuniverse
It's possible that your data did not get imported; the sql scripts are, by default, loaded when the 'site' project is started up. You can also import these files manually into your database from core/src/main/resources/sql.

Re: Blank admin page

Posted: Tue Mar 19, 2013 11:51 pm
by allanon
Well I'm not sure what was missing, but from your description I figured I'd do another mvn install on the parent. Everything is working great now. Thanks!