When logging in takes me back to homepage

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/24/2008 3:58:41 AM
Gravatar
Total Posts 6

When logging in takes me back to homepage

Hello everyone..

Ok..Finally I got everything installed and setup..

But for some reason. once I try to login by entering the default admin username and password.

Once I submit that, it takes me back to the homepage, without logging me in???

Did anyone experience that??

Does anyone know why this is happening?

Any help is greatly appreciated.

Aladdin

8/24/2008 5:35:57 AM
Gravatar
Total Posts 18439

Re: When logging in takes me back to homepage

Most likely something is blocking the cookie. Do you have any kind of browser toolbars or privacy guard software of any kind installed? I would try it from another machine(s) to see if the problem is limited to your machine.

Or at some really bad/cheap hosting places they force an html frameset around your site so they can add advertising and it blocks you from setting cookies, because you can't set cookies inside a frame unless the container page is using the same domain.

Hope it helps,

Joe

8/24/2008 11:06:37 AM
Gravatar
Total Posts 6

Re: When logging in takes me back to homepage

Joe..


Thanks so much for your answer :)..

And I really appreciate all your help and effort..

 

But here is another question for U..

How come a regular asp.net membership login page, is working fine..

on the same site...

 

Is it the fact i setup the portal on http://sitename/portal

rather than the root?

Is there is a way to test this??

 

Aladdin

 

8/24/2008 10:58:05 PM
Gravatar
Total Posts 6

Re: When logging in takes me back to homepage

Anyone can help???????

 

I really like this cms, and I wish i can get it to work...

 

aladdin

8/25/2008 11:44:14 AM
Gravatar
Total Posts 18439

Re: When logging in takes me back to homepage

I would look in mp_users table and verify if the admin user was created and that the password is admin.

If for some reason the user doesn't exist, I would clean out the db and try running setup again.

How come a regular asp.net membership login page, is working fine..on the same site...

Most likely the Web.config file in that root site is interfering with mojoportal.

Hope it helps,

Joe

8/25/2008 4:17:04 PM
Gravatar
Total Posts 6

Re: When logging in takes me back to homepage

Thanks JOE...

You are a wonderful man!!!

I made sure that all the accounts are valid..

And deleted all previous web.config...

So now on my hosting acct. we only have the mojo portal web.config..

Still no success...

Not sure why it is doing that...I can register, retrieve passwords via email, etc..

Except i cannot login :(

 

Any other suggestions?

 

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
Configuring feature Html Content - 00:00:00.4687500
Configuring feature Blog - 00:00:00.5625000
Configuring feature Contact Form - 00:00:00.5937500
Configuring feature Event Calendar - 00:00:00.5937500
Configuring feature Forums - 00:00:00.6093750
Configuring feature Google Map - 00:00:00.6093750
Configuring feature Image Gallery (Simple Folder Version) - 00:00:00.6250000
Configuring feature Image Gallery - 00:00:00.6250000
Configuring feature Links - 00:00:00.6250000
Configuring feature RSSFeed(s) - 00:00:00.6250000
Configuring feature Shared Files - 00:00:00.6406250
Configuring feature Site Statistics - 00:00:00.6562500
Configuring feature Html Fragment Include - 00:00:00.6562500
Configuring feature Xml/Xsl - 00:00:00.6562500
Configuring feature Web Part - 00:00:00.6562500
Configuring feature Poll - 00:00:00.7031250
Configuring feature Survey - 00:00:00.7656250
Configuring feature Web Store - 00:00:00.7968750
Ensuring all features are installed in server admin sites... - 00:00:00.7968750
Setup is complete, click the link below to go to the home page.
Site Home Page

Database PlatformMSSQL
Version2.2.6.8
StatusYour installation is up to date.

Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

8/25/2008 4:26:24 PM
Gravatar
Total Posts 18439

Re: When logging in takes me back to homepage

I would try putting mojoPortal in the root of your web and put the other app in a sub folder.

Hope it helps,

Joe

8/26/2008 2:11:53 AM
Gravatar
Total Posts 6

Re: When logging in takes me back to homepage

Joe it worked..

Moving it to the root did the trick..

Thanks so much my friend..

U got a beer on me..

8/26/2008 5:17:47 AM
Gravatar
Total Posts 18439

Re: When logging in takes me back to homepage

Thanks so much for the beer! I shall raise my glass to you this evening!

Cheers,

Joe

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