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

Unable to load Admin Panel #167

Closed
niranjankala opened this issue Oct 13, 2017 · 7 comments
Closed

Unable to load Admin Panel #167

niranjankala opened this issue Oct 13, 2017 · 7 comments

Comments

@niranjankala
Copy link

I have updated to current higher version of BlogEngine and also migrated to another hosting provider. After setting permissions on the folders, I found that website is loading correctly but admin section is not loading.

step1

If i click on any menu item on then left side then it shows error and URL is little strange. See below image for reference:
step 2

#166 -- This issue may be similar to this one but may be I have little different behavior.

@asozyurt
Copy link

asozyurt commented Dec 2, 2017

Hi @niranjankala,
I had the same issue tonight. When i clicked random another item on sidebar and click again to Dashboard, it has loaded.

@atrgmyth
Copy link

I have the exact issue that niranjankala describes.

@asozyurt
Copy link

hi @atrgmyth, after some failed trials i noticed that blog engine must be the top level site, not a subfolder.
For example; www.example.com/blogEngine/ doesn't work and throws your exception. If it is already top level, try clicking another item from dashboard menu and try again.

@kirtanshah11
Copy link

kirtanshah11 commented Mar 12, 2018

Any solution found for this?

I am still facing the issue.

@hugodahl
Copy link

I have no knowledge about the internals of BE.net, however, from the looks of @niranjankala's 404 screenshot, it would appear that there is some Angular/AngularJS binding which isn't happening or being done, since the URL requested has the Angular binding syntax of a value wrapped in double curly braces ("{{" and "}}").

On the page from which you clicked the admin section link, it would be worth checking, from the browser's developer tools, whether the .js file(s?) for Angular are loaded or if an error occurred (401, 404, other). The pattern of the path should be "`http://yoursite.tld//Scripts/angular*.min.js"

@hugodahl
Copy link

@asozyurt I saw your comment about BE.net needing to be at the domain's top level, and I've got mine running in a sub-directory, /blog. What does need to be configured for this to work however is that, in IIS, the directory in which BE.net is deployed must be configured as an application.

@kirtanshah11
Copy link

@hugodahl Yes what I found out is if the URL is domain.com/blog/admin/ then the page will load successfully.

However, if the url is domain.com/blog/admin then the page won't load.

In the first case the browser looks for dashboard.cshtml in ../admin/app/dashboard/dashboard.cshtml.
But for the second the path becomes ../app/dashboard/dashboard.cshtml. This will give 404.

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

6 participants