Managing Portals

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.
5/3/2005 2:08:43 PM
Gravatar
Total Posts 38

Managing Portals

How do I switch to a portal and login.

I tried using the default admin@admin.com with no luck.

Thanks
5/3/2005 3:15:27 PM
Gravatar
Total Posts 18439

Re: Managing Portals

There is no alias like in rainbow and no logins that work across sites. you can host multiple sites using 1 database and one installation folder but each must have its own dns hostname and each has completely independent content and users.

I have setup 2 demo sites to illustrate
http://demo.mojoportal.com is the root admin site which can control which features are available to child sites.
http://demo2.mojoportal.com is a child site

the host names don't have to be in the same domain like mine are.

You can login to either site with admin@admin.com but they are 2 different users.  You'll notice a difference between the sites when you click the Admin menu. On the root site you can create child sites. For a child site to work you have to have another dns host name pointing to the same ip address as the root site then you must add a matching host name to  the child site using the Admin page of the root site.
On the root site you can even change the skin of the child site.
5/3/2005 3:54:32 PM
Gravatar
Total Posts 38

Re: Managing Portals

Hi,
Thanks for the quick response. I have created 2 sites off the default mojo. My domains are handles by the *.welford-costelloe.com. I can get to each site ok using the internet.

I get to a login screen but using the admin@admin.com reports failed login.
I should be able to login to each site using the above  email?

Thanks

I created the same profiles as the your sample.

I can login to the local host which is set as welford-costelloe.com
the second is family.welford-costelloe.com

I can login ok to the main site but still not to the family site.

Not sure as to why.

I have left the sites up with the same sample logins.


5/3/2005 5:16:53 PM
Gravatar
Total Posts 38

Re: Managing Portals

This is the error I get for the family site (child)

Account Login
Email:
Password:
Remember Login

Login Failed!

When I request the send Password:

Account Login
Email:
Password:
Remember Login

E-mail address not found, please register.
5/4/2005 6:48:07 AM
Gravatar
Total Posts 18439

Re: Managing Portals

I logged into your main site and checked the configuration and it looked ok. I deleted the extra host name that was like www.family.wellford-costelloe.com as that didn't seem like a correct format for a host name and thought that might be causing a problem. That didn't solve it though.

The next step is to look in the db in the mp_users table and make sure there is a user with admin@admin.com that has a SiteID = 2

If not add one and then add the user id to the mp_UserRoles table with the role id for admin for site 2 which should be in mp_Roles.

Which data layer are you using? MS SQL? if so maybe there is a bug in the data creation code for new sites in the MS SQL layer. I tested it in development but since I don't have any real sites running on MS SQL it is not as well tested as the MySQL or PostgreSQL data layer. If that is the case let me know and I'll test it more on my end.

Hope that helps,

Joe
5/4/2005 12:07:22 PM
Gravatar
Total Posts 38

Re: Managing Portals

Hi, Thanks for your visit much appreciated. I am running MS SQL and I am having issues saving User ID's or new users etc to the child portal. I use the host name www.family.welford-costelloe.com as It re-directs to the correct site (Family site) otherwise it defaults to the default domain. Example: family.welford-costelloe.com www.family.welford-costelloe.com both point to the Family site. If I remove the host name of www.family.welford-costelloe.com anyone using that above format will be sent to the default site (main portal). Works perfectly under your portal. Server configuration: Win 2k Advance server IIS 5.1 Mecury32 SMTP server Microsoft SQL server 2000 Thanks David.......... p.s. seems since I put up your portal people are asking for it :-) Very smoothe and enjoyable to navigate.
5/4/2005 2:03:37 PM
Gravatar
Total Posts 18439

Re: Managing Portals

I'll do some testing here on the MS SQL version and see if I can reproduce the problem creating users. If I can reproduce it I'll have a fix for you this weekend or sooner.

Were you able to login to the child site after manually creating a user in the db?
5/4/2005 3:09:16 PM
Gravatar
Total Posts 18439

Re: Managing Portals

I found it, it is a bug. The problem is that it is putting admin?admin.com as the admin user for a new child site instead of admin@admin.com.

I fixed your site at http://family.welford-costelloe.com/

You can now login as admin@admin.com and I tested creating a user in the child site and that worked.

If you create any more child sites before I release the fix for this bug, you can login with admin?admin.com

Thanks,

Joe
5/5/2005 12:57:27 AM
Gravatar
Total Posts 38

Re: Managing Portals

Thanks Joe, Fix works great!
You must sign in to post in the forums. This thread is closed to new posts.