Error adding/editing blog posts

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.
6/3/2013 5:03:47 AM
Gravatar
Total Posts 66

Error adding/editing blog posts

Site details:

System Information
mojoPortal Version 2.3.9.7 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone Central Daylight Time
Server Local Time (GMT -5) 03/06/2013 04:41:21
Greenwich Mean Time (GMT/UTC) 03/06/2013 09:41:21

Feature Versions [Help]
Feature     Schema Version

blog           2.6.1.2
contactform  0.0.0.6
eventcalendar  0.0.0.6
feed-manager  0.0.1.0
forums  2.2.0.2
imagegallery 0.0.0.8
kdmediaplayer 1.0.0.1
linksmodule 0.0.0.9
pollfeature-byChristianFredh 0.0.0.5
sharedfiles 1.0.0.0
surveyfeature 1.8.0.0
webstore 0.0.7.3

I upgraded my site to 2.3.9.7 a week or two ago, and am now having problems adding and editing blog postings - whenever I try I get redirected to the error page.

Looking in the system log I find the following error when I try to edit a posting:

2013-04-09 21:42:26,749 ERROR 157.55.32.62 - en-GB - /questions-for-201213.aspx - mojoPortal.Web.PageNotFoundHttpModule - Referrer(none)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/questions-for-201213.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The blog posting/page named in the error does not seem to exist in [dbo].[mp_Blogs] in the database - I presume something has got out of synch somewhere - can any suggest where I should look?

 

6/3/2013 5:13:35 AM
Gravatar
Total Posts 66

Re: Error adding/editing blog posts

Further investigations (turning on full error reporting shows that it was trying to open a folder called sites/1/Attachments which did not exist - when I created such a folder, editing now works.

I have never seen this folder before, and it does not seem to exist on other sites I have, so I am very puzzled

 

6/3/2013 6:14:21 AM
Gravatar
Total Posts 18439

Re: Error adding/editing blog posts

Glad you were able to solve the error, that folder should have been created automatically. Support for media attachments like mp3 or video files was added to the blog in mojoPortal 2.3.9.3 to support podcasting.

Hope that helps,

Joe

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