Can't access admin page

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/31/2011 11:31:47 AM
Gravatar
Total Posts 5

Can't access admin page

Hello.

I have funny problem with logging in mojoPortal as admin. I still have default admin@admin.com with password 'admin' which is working when I access mydomain.com/Secure/Login.aspx but after loggin I get redirected to home page without admin toolbar opening.
Also when I try to open mydomain.com/Admin/AdminMenu.aspx I get permission denied message. Looks like admin@admin.com doesn't have admin privileges any more. Default admin login was working normally before and I don't remember changing anything in admin panel or manually in database.
I tried searching forum for same issue, but no luck. I'd appreciate any assistance on this.

I am using mojoPortal 2.3.6.5 on Windows server 2008 and MSSQL 2008 Express as database server.

Best regards

5/31/2011 12:08:39 PM
Gravatar
Total Posts 18439

Re: Can't access admin page

If your site is online and publicly accessible someone else may have figured out it was a mojoPortal site and gained access using those default credentials, then created their own account and removed that admin@admin.con account from the administrators role.

I suggest look in the database to see what users exist and what roles they are in, and whenever you setup a new site one of the first things you should do is change the admin credentials to your own email account and a new password.

Hope that helps,

Joe

5/31/2011 1:13:20 PM
Gravatar
Total Posts 5

Re: Can't access admin page

My website is not yet online and before I have posted here on forum I have checked database. admin@admin.com is still only user there and has correct SiteGuid and correct RoleGuid for administrator and authenticated user. I can't see anything wrong with database. This is not the first time I have this problem. Once it happened on fresh installation and I maganed to fix it only by reinstalling whole thing. But this time I already done some work on website and it would be great if I can avoid starting all over again. Thank you.
5/31/2011 2:22:50 PM
Gravatar
Total Posts 18439

Re: Can't access admin page

Ok, if the database looks fine then it must be something about the cookies. Authentication and roles are based on encrypted cookies that are set when you sign in.

Things I would try:

1. Sign out, clear your cookies and sign in again. Maybe even delete temporary internet files for good measure. Try different browsers, ie Firefox or Chrome, see if you get the same problem.

2. From another thread I know you have some other app running above or below mojoPortal. Consider whether your signing in to that app is a factor, perhaps it sets a cookie that overwrites or conflicts with the mojoportal cookies.

Hope that helps,

Joe

5/31/2011 5:55:49 PM
Gravatar
Total Posts 5

Re: Can't access admin page

I tried deleting cookies and cache memory in web browsers that I use, IE and FF. It didn't help. Also there is no application above or bellow mojoPortal, I gave up on that idea. Just now I noticed that after login page, it redirects me to home page but user actually isn't logged in. There is 'Sign In' link on the home page. Maybe that can shed some light on the issue.
6/1/2011 8:01:21 AM
Gravatar
Total Posts 18439

Re: Can't access admin page

That makes it even more clear that something is preventing it from setting a cookie on your machine. Any number of things could be the cause including:

  • anti virus or privacy guard type software, or custom toolbars installed in the browser sometimes do this kind of thing
  • the browser is configured for private browsing or do not track settings are enabled
  • the site is hosted inside a frame and the outer frame is from a different domain or ip address, browsers won't allow setting cookies in this situation

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.