Setting up mojoPortal source site

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/3/2012 10:39:40 AM
Gravatar
Total Posts 5

Setting up mojoPortal source site

I tried to follow the instructions for setting up a source site.  I am using Windows 7 Pro, IIS 7.5 VS 2010 Pro, and MySQL 5.5.  I have the source downloaded, set up in a folder structure under Program Files (x86) and configured in VS 2010 with VS running in admin mode.  I have the user.config modified for my MySQL database, user name, and password. it is configured in IIS as an application running under the Default Web Site and is pointing to the folder mojoPortal.Web under my source site.  I have both the release and source applications referencing the DefaultAppPool which is set up for .NET4 and Integrated.

The build successfully completes, loads the site (minus the configured skin which is a whole different issue I am instructed not to take up in this forum) but when I try to log into the site, I get "Login Failed!".  I know it is seeing the database because it loads the customization I have done this far with the base site.  The release version loads the skin and uses the database parameters with no issues.

Clearly I don't have something set up correctly but I can't for the life of me figure out what.  I am going to be building a fairly complex feature and obviously need to be able to run in source code mode.

I will supply any additional information needed to figure out what I have done wrong.  Help would be greatly appreciated.

Thanks

3/3/2012 2:48:28 PM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Setting up mojoPortal source site

It sounds like you are running two mojoPortal installs using one database is this correct? I would not recommend you do this as it could lead to issue.

Also I would not put the source files under "Program Files (x86)". Windows has a tight lock down on security permission for any important folders like this and it is really not a good place to be running web apps from. I would recommend that you just create a site  off the root of your drive to place the source code.

Also in VS make sure you are referencing the correct MySQL projects. By default the source code is for MSSQL. You can find more the instructions here.

3/4/2012 9:08:36 AM
Gravatar
Total Posts 5

Re: Setting up mojoPortal source site

Okay,  I figured out the login issue.  I had created a machinekey for the compiled site previous to starting database work but had forgotten to copy that machinekey to the source site. 

I have now moved the the source code site out of Program Files (x86), reconfigured IIS, removed the compiled site totally, and the system is starting up in VS2010 correctly and I can log into the site.  The remaining issue I have revolves around skins.  Not designing, but installing them correctly on the source code site.  I have the base skins (I want to use the artisteer business 2 skin) installed in the Web, skins folder of my source code site.  However, when I log in, go to administration, site settings, there are no skins showing in the drop down, meaning I don't have something installed/configured correctly.  I cannot find anything in the documentation section that addresses this.  Doesn't mean it isn't there, I just can't track it down.  Please provide instructions or link to doc that gives me guidance on where to install the default skins and any configuration needed.

Thanks.

3/4/2012 9:16:34 AM
Gravatar
Total Posts 5

Re: Setting up mojoPortal source site

Found it.  Kept looking and finally found a snippet that told me the skins folder needed to be set up under my specific site.  Copied the skins folder under my site and everything works now.

3/5/2012 7:59:31 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Setting up mojoPortal source site

Glad that you got it working!

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