Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

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.
3/5/2011 1:03:51 PM
Gravatar
Total Posts 112

Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi All;

I'm test-upgrading from mojoPortal version 2.2.7.9 to version 2.3.6.2 and found that on several sub-sites of the multi-site resolved by host name installation, images are not displaying, thought the image files are present.

I've looked through version 2.3.6.2's release notes and have seen nothing of this error. Is there a way I can look back through all the intervening release notes to discover any issues with image upgrades?

I look forward to hearing from you,
Dale E. Moore 

3/5/2011 3:45:13 PM
Gravatar
Total Posts 18439

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi Dale,

That is quite an old version you are upgrading from, from way back in the .NET 2.0 days.

If the urls are correct the images should work, so I would inspect the urls carefully to look for something wrong in the urls or else check file permissions or use Firebug to see if the image urls are returning 404s or any error code.

But, yes, there are links to almost every version of mojoPortal release notes on the bottom of the download page, and that should help you find out about changes over versions.

Best,

Joe

3/5/2011 11:50:24 PM
Gravatar
Total Posts 112

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

One image is at /Data/Sites/1/GalleryImages/36/FullSizeImages/36mfull6919b81e-f8fe-48b9-a31c-ccd0525801fe.jpg while the "Image Gallery" says it's at /Data/Sites/1/media/GalleryImages/36/FullSizeImages/36mfull6919b81e-f8fe-48b9-a31c-ccd0525801fe.jpg so there's an extra non-existant folder "media". I suppose the easy way to fix this is to edit the table in MSSQL. It's interesting that the un-upgraded LIVE site does not have the extra "media" folder in the URL.

I was surprised to find that there are about 35 releases between the old version I've been using and the current version. It seems the most straightforward way to read through all the release notes is to go to http://mojoportal.codeplex.com/releases/view/20526 and iterate through each release reading each release note.

Thanks for having two File Managers! The default one just gives me a blank page, but from Admin I select the alternate and can look through things; thanks!!

 

3/6/2011 5:24:24 AM
Gravatar
Total Posts 18439

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi Dale,

Back when we implemented the fancier jquery file manager we introduced the media folder as a parent folder for site media so that we could allow non admin users to browse and upload files without letting them muck around in other files/folders. After that we made the Image Gallery change to store its images under media so that it would be possible to browse the gallery images when editing content and re-use them in articles, blog posts etc.

There is a setting you can add to user.config to make it work without being in the media folder

<add key="ImageGalleryUseMediaFolder" value="false" />

so you could fix it that way but it might be more ideal to move the folder /Data/Sites/1/GalleryImages to /Data/Sites/1/media/GalleryImages in order to get that benefit of being able to browse for images from the gallleries to use in content.

Hope it helps,

Joe

3/6/2011 9:08:29 AM
Gravatar
Total Posts 112

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi Joe;

Moving GalleryImages beneath media is a lovely and easy solution, thanks for teaching me!

Do you have any suggestions about corrections to the default File Manager (/Admin/FileManager.aspx) not displaying properly? From the Icon I get a blank page that seems to grow and never stop. From the Administration Menu I get stuff like the following:

  • {"path":"avatars"}
  • {"path":"emoticons"}
  • {"path":"FolderGalleries"}

and have access to the Alternate File Manager (/Admin/FileManagerAlt.aspx) which seems to work fine. Perhaps FileManager.aspx needs some graphics moved beneath media, too?

Thanks,
Dale

 

 

3/6/2011 9:42:39 AM
Gravatar
Total Posts 112

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Several of the sub-sites in my multi-site differentiated by hostname mojoPortal website are getting "Object reference not set to an instance of an object." Others do not experience this error. So far I have been unable to see what might be causing this.

Server Error in '/cmsTest' Application.

 

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   mojoPortal.Web.UI.SiteMenu.Page_Load(Object sender, EventArgs e) +207
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +115
   System.Web.UI.Control.LoadRecursive() +49
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Control.LoadRecursive() +145
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Version Information: Microsoft .NET Framework Version:4.0.21006; ASP.NET Version:4.0.21006.1

Any thoughts you have are much appreciated,
Dale

3/6/2011 9:45:51 AM
Gravatar
Total Posts 112

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Preview/Browse Skins gets a blank page like the FileManager I mentioned earlier. I got to Preview/Browse in the Administration Menu, Site Settings, Skin. I'm looking to see if something else should be under the new media folder next to GalleryImages.

3/6/2011 9:53:36 AM
Gravatar
Total Posts 18439

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi Dale,

Make sure you have this in the head section of layout.master

<portal:StyleSheetCombiner id="StyleSheetCombiner" runat="server" UseIconsForAdminLinks="true" />
    <portal:IEStyleIncludes id="IEStyleIncludes1"  runat="server" IncludeHtml5Script="true" />
    <portal:MetaContent id="MetaContent" runat="server" />
<!--[if IE]>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" /><meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
<![endif]-->
<portal:Favicon id="Favicon1"  runat="server" />
<portal:ScriptLoader id="ScriptLoader1" runat="server" />

If you have the older <portal:StyleSheet , remove that.

You will also need to make sure you have a style.config file, look at the newer skins under /Data/skins to compare.

http://www.mojoportal.com/understanding-the-styleconfig-file.aspx

Then to fix various things such as the file manager, see this sticky thread in the skinning forums about skin changes over versions.

Hope it helps,

Joe

3/10/2011 10:52:39 AM
Gravatar
Total Posts 112

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

I'm happy that the multi-site upgrade is mostly completed and all your comments, Joe, have been a great help!

I wonder if this would be a good place to ask that you consider adding the site-folder-number where sites are selected at Admin/SiteSettings.aspx... Perhaps you could add the site-folder-number in parenthesis so it's easy for administrators coordinating their file-system activities with sites. Just a thought I had.

Thanks so much,
Dale

3/10/2011 11:29:47 AM
Gravatar
Total Posts 2239

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

Hi Dale,

You can add the following to your user.config and then the SiteID and GUID will be present on the SiteSettings page.

<add key="ShowSiteGuidInSiteSettings" value="true" />

HTH,
Joe D.

3/10/2011 12:32:51 PM
Gravatar
Total Posts 18439

Re: Upgrade from 2.2.7.9 to 2.3.6.2 missing images?

In the next release of mojoPortal, the multi site management will be a bit easier.

I've done away with the dropdown list completely, it was always a clunky thing with autopostback and redirecting when the dropdown is changed.

Instead we will have a SiteList page from which you can access site settings for child sites. And there will be a user.config setting you can add to make it show the site id

<add key="ShowSiteIdInSiteList" value="true" />

Site List

It has paging if you have a lot of sites but the root site is always at the top of the list.

Best,

Joe

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