Login fails on upgrade

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/12/2009 3:19:51 AM
Gravatar
Total Posts 30

Login fails on upgrade

 I'm running openSUSE 11.1 with Mono 2.4 & PostgreSQL.

I had installed mojoPortal 2.2.7.9 from the Mono:Community repository (I thought it was updated but it wasn't).  I then downloaded the mojoportal-2-3-0-1-pgsqlreleasefiles-for-mono.zip and extracted the contents to a temp dir.  I then copied the contents of the wwwroot dir into the mojoPortal root as instructed, when I run the setup script all seems to go well with no errors showing.

The problem happens when I try and log in, I get "We're sorry but we could not find the page you are looking for. Please try the Site Map." and "Other things to try:

* Search 192.168.1.10:8880:magportal secure Error [with a google search button]"

 

I know the credentials are correct.  There are no errors showing up in the apache log, any ideas?

5/12/2009 5:24:01 AM
Gravatar
Total Posts 18439

Re: Login fails on upgrade

Hi,

Try this and see if it solves the problem. Download the mojoportal-2-3-0-1-pgsqlreleasefiles.zip (the pgsql version for windows not mono). Grab the mojoPortal.Data.dll file from the/bin folder in that zip and paste it in the /bin folder of your installation, replacing the existing one.

Let me know if that solves it or not.

Thanks,

Joe

5/12/2009 5:50:02 AM
Gravatar
Total Posts 30

Re: Login fails on upgrade

Hi Joe,

As always you're a scholar and a gent!!  That worked perfectly, thanks!

5/12/2009 5:52:07 AM
Gravatar
Total Posts 18439

Re: Login fails on upgrade

Thanks. It was a last minute bug that got fixed in the windows version but I forgot to update that dll in the mono package.

Best,

Joe 

5/12/2009 5:56:02 AM
Gravatar
Total Posts 30

Re: Login fails on upgrade

Just encountered another issue though with the same output on the screen

I tried to add the Feed Manager and it didn't like it.  It looks like any content and it falls over - just tried Blog & Calender and the same.

This time though if i go to the menu option that i added the content in i get the standard error message of

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page

Where are the logs kept again?

5/12/2009 5:59:30 AM
Gravatar
Total Posts 18439

Re: Login fails on upgrade

You can view the log at Administration Menu > System Log, or download the file /Data/currentlog.config

Newest errors are at the bottom, ignore errors at the top as there are expected errors for installation and upgrade.

Best,

Joe 

5/12/2009 6:06:07 AM
Gravatar
Total Posts 30

Re: Login fails on upgrade

Well that makes sense

Ok i think my issue is a CSS one

2009-05-12 11:54:22,891 ERROR mojoPortal.Web.Global - 192.168.1.48-en-GB - /mojoportal/Data/style/mojo1.css
System.Web.HttpException: Path '/mojoportal/Data/style/mojo1.css' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]

I'm using the mitchinson-earthy skin, is there anyway i can resolve this CSS issue?  The aparently missing CSS page doesnt exist anywhere not even in my back (just copied the whole mojoPortal root dir before I upgraded.

5/12/2009 6:09:38 AM
Gravatar
Total Posts 18439

Re: Login fails on upgrade

This was an upgrade and your site still has old skins. If you have not customized them, then copy the ones from /Data/skins into /Data/Sites/1/skins overwriting the existing ones. There were some big changes in the skinning a few versions ago as dicussed here.

Best,

Joe

5/12/2009 7:58:48 AM
Gravatar
Total Posts 30

Re: Login fails on upgrade

I must be missing something, I did as instructed and copied the skins over, but I'm still getting the missing mojo1.css error

5/12/2009 8:01:29 AM
Gravatar
Total Posts 18439

Re: Login fails on upgrade

I have no idea, as far as I know there is nothing in mojoportal that uses a css file /Data/style/mojo1.css. But I would try to create an empty css file in that location and see if it gets past the error.

Hope it helps,

Joe 

5/12/2009 8:07:20 AM
Gravatar
Total Posts 30

Re: Login fails on upgrade

Ok I'll try that now.  In the mean time I deleted the pages that I was trying to add content to, and recreated them.  When I went to add html content to one of them it errored out with the original error, and I get the following in the logs:

2009-05-12 14:04:11,066 ERROR mojoPortal.Web.mojoBasePage - 192.168.1.48-en-GB - /mojoportal/Admin/PageLayout.aspx?pageid=13
System.NullReferenceException: Object reference not set to an instance of an object
at mojoPortal.Web.AdminUI.PageLayout.btnCreateNewContent_Click (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
2009-05-12 14:04:11,119 ERROR mojoPortal.Web.Global - 192.168.1.48-en-GB - /mojoportal/Admin/PageLayout.aspx?pageid=13
System.NullReferenceException: Object reference not set to an instance of an object
at mojoPortal.Web.AdminUI.PageLayout.btnCreateNewContent_Click (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]
2009-05-12 14:04:11,286 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: Path '/mojoportal/Admin/Error.htm' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2009-05-12 14:04:11,871 ERROR mojoPortal.Web.Global - 192.168.1.48-en-GB - /mojoportal/Admin/Data/SiteImages/FeatureIcons/home.gif
System.Web.HttpException: Path '/mojoportal/Admin/Data/SiteImages/FeatureIcons/home.gif' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]
2009-05-12 14:04:11,997 ERROR mojoPortal.Web.PageNotFoundHttpModule - PageNotFoundHttpModule handled error.
System.Web.HttpException: Path '/mojoportal/Admin/Data/SiteImages/FeatureIcons/Error.htm' was not found.
at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000]
at System.Web.HttpApplication.Tick () [0x00000]

 

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