Missing Google Map Content

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.
10/28/2009 9:25:24 AM
Gravatar
Total Posts 10

Missing Google Map Content

First of all - the basics:

  • operating system:   Windows
  • database platform: MS SQL
  • What version of mojoPortal: 2.3.1.9

My specific problem - we're working to migrate our site to mojoPortal to allow our users greater control over the content (and to take some of the work out of my hands).  I've run into a problem with the google maps control.

If I use it in the event calendar, the map shows up.  However, I have another page which I cannot get the content to show no matter what I do.  I have two pieces of HTML content then the map, but it will not attach to the page no matter what I try.  I've even gone into the content manager and published it from there (and according to the content manager, it's there), and nothing happens.

 

10/28/2009 9:36:51 AM
Gravatar
Total Posts 18439

Re: Missing Google Map Content

Are you getting any script errors on the page?

Did you get a google maps api key and enter it in Site Settings API Keys tab?

Is it possible one of the html contents on the page has malformed markup like missing closing tags or extra ones? This could possibly throw off the map.

Are you sure you don't have the map view roles set to something too restrictive?

Are you sure you do not have Hide From Anonymous or Hide From Authenticated checked in the settings of the map?

Are you using my pre-compiled deployment package or a package you created yourself from source code?

Hope it helps,

Joe

10/28/2009 9:59:54 AM
Gravatar
Total Posts 10

Re: Missing Google Map Content

Thanks for replying so quickly...now to answer your questions (in italics):

1) any script errors?  none that I can see.

2) Did you get a google maps api key and enter it in Site Settings API Keys tab?  Yes, and I get a map from the events details page so I'm sure the API key works.

3) Is it possible one of the html contents on the page has malformed markup like missing closing tags or extra ones? This could possibly throw off the map.  Not that I can tell.  I edited from the source option of the CK editor, and did a view source of the generated page.  Good thought though since I did it by hand (old habits die hard).

4) Are you sure you don't have the map view roles set to something too restrictive?  I didn't set any roles, and when I checked it's set to All Users.  But I can't even see it logged in as the site admin

Are you sure you do not have Hide From Anonymous or Hide From Authenticated checked in the settings of the map?  Nope, neither are set.

Are you using my pre-compiled deployment package or a package you created yourself from source code?  I'm used the pre-compiled deployment package (I've got stuff to change, but I want to be sure I understand the basics before I get in deep).

The really odd thing is the content manager is showing the map as being published on the page, but in the "edit page" functionality on the page itself, there's no semblance of it being there.  There's not even a pnlContainer being generated for the page.

10/28/2009 10:24:00 AM
Gravatar
Total Posts 18439

Re: Missing Google Map Content

If you put it on the page using content manager rather than directly using the Edit This Page link another possibility comes to mind.

If you have not yet correctly configured the Preferred GMT Offset and have not set your own time zone in user profile, then the publish time may be in the future and it won't show until then.

Also if the server clock is not accurate to its configured time zone that can also be a factor.

You could try un-publishing it then re-publishing it with a publish date of a few days ago to be sure.

Hope it helps,

Joe

10/28/2009 12:03:34 PM
Gravatar
Total Posts 10

Re: Missing Google Map Content

Hmmm... this is getting odder and odder.  Here's what I did:

  1. Went to the page I'm having a problem with and hit the edit page link.  I added a google map to the center content (where I've been trying to add it).  I then clicked on the view this page.
10/28/2009 12:05:56 PM
Gravatar
Total Posts 10

Re: Missing Google Map Content

OK, that's annoying - I hit enter to get a new list item and it posted.  Step 2 was supposed to be: The map appeared on my page.  Cool!  I click on the edit link at the map.  I enter the address in question (421 Deerfield Road, Camp Hill, PA to be exact) and hit the save button.  Step 3 was then supposed to be:  Uh oh!  The map disappeared again.

10/28/2009 12:34:06 PM
Gravatar
Total Posts 18439

Re: Missing Google Map Content

Are you seeing any errors that seem related in the mojoportal log? Administration > System Log

newest errors are at the bottom.

Is there a proxy server of any kind between you and your site that might be caching pages?

10/28/2009 1:00:45 PM
Gravatar
Total Posts 10

Re: Missing Google Map Content

OK, I cleared all of the google maps content then cleared the log.  After I had added the content, there was nothing in the log.  After I edited the map, the map gets moved to the welcome page (the default one from the install - I hadn't gotten around to clearing it yet), and this is everything that is in the log as soon as I hit save:

2009-10-28 09:57:31,681 INFO mojoPortal.Business.WebHelpers.IndexHelper - IndexHelper.RebuildPageIndex - About Us
2009-10-28 09:57:31,681 ERROR mojoPortal.Business.WebHelpers.IndexHelper - System.ArgumentException: attempt to access a deleted document
   at Lucene.Net.Index.SegmentReader.Document(Int32 n, FieldSelector fieldSelector)
   at Lucene.Net.Index.IndexReader.Document(Int32 n)
   at mojoPortal.Business.WebHelpers.IndexHelper.ClearPageIndex(PageSettings pageSettings)
2009-10-28 09:57:31,681 INFO mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider - HtmlContentIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,681 INFO mojoPortal.Business.WebHelpers.IndexHelper - IndexHelper.RebuildPageIndex - Welcome
2009-10-28 09:57:31,681 ERROR mojoPortal.Business.WebHelpers.IndexHelper - System.ArgumentException: attempt to access a deleted document
   at Lucene.Net.Index.SegmentReader.Document(Int32 n, FieldSelector fieldSelector)
   at Lucene.Net.Index.IndexReader.Document(Int32 n)
   at mojoPortal.Business.WebHelpers.IndexHelper.ClearPageIndex(PageSettings pageSettings)
2009-10-28 09:57:31,681 INFO mojoPortal.Business.WebHelpers.HtmlContentIndexBuilderProvider - HtmlContentIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:31,947 INFO mojoPortal.Features.ForumThreadIndexBuilderProvider - ForumThreadIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,947 INFO mojoPortal.Features.SharedFilesIndexBuilderProvider - SharedFilesIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,962 INFO mojoPortal.Features.CalendarEventIndexBuilderProvider - CalendarEventIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,962 INFO mojoPortal.Features.GalleryImageIndexBuilderProvider - GalleryImageIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,978 INFO mojoPortal.Features.LinksIndexBuilderProvider - LinksIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,978 INFO mojoPortal.Features.BlogIndexBuilderProvider - BlogIndexBuilderProvider indexing page - About Us
2009-10-28 09:57:31,978 INFO WebStore.UI.Helpers.ProductSearchIndexBuilder - ProductSearchIndexBuilder indexing page - About Us
2009-10-28 09:57:32,103 INFO mojoPortal.Features.ForumThreadIndexBuilderProvider - ForumThreadIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,103 INFO mojoPortal.Features.SharedFilesIndexBuilderProvider - SharedFilesIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,119 INFO mojoPortal.Features.CalendarEventIndexBuilderProvider - CalendarEventIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,119 INFO mojoPortal.Features.GalleryImageIndexBuilderProvider - GalleryImageIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,119 INFO mojoPortal.Features.LinksIndexBuilderProvider - LinksIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,119 INFO mojoPortal.Features.BlogIndexBuilderProvider - BlogIndexBuilderProvider indexing page - Welcome
2009-10-28 09:57:32,119 INFO WebStore.UI.Helpers.ProductSearchIndexBuilder - ProductSearchIndexBuilder indexing page - Welcome

10/28/2009 1:09:01 PM
Gravatar
Total Posts 18439

Re: Missing Google Map Content

Unfortunately none of that looks related. Just 2 errors that are expected under some conditions when updating the search index and the rest is just INFO not ERROR. You might want to rebuild your search index though any errors there are not related because google maps don't participate in the search index.

Its very strange, I certainly am not having any problems with the google maps and no-one else has reported any similar problem with it. In fact our google map feature has not had any changes in a long time.

Are you running any special browser plugins or anything? Do you get the same result if you use a different browser or a different machine to edit the content?

Can you try to produce the problem on demo.mojoportal.com?

10/28/2009 1:55:04 PM
Gravatar
Total Posts 10

Re: Missing Google Map Content

Hmmm...I can't reproduce it here at all.  Not sure what the heck is going on.... *sigh*  Guess I need to delete that whole page out and start over again and see if that will clear it up.  Very odd. 

Cry

Very odd indeed!

10/28/2009 2:02:51 PM
Gravatar
Total Posts 10

Re: Missing Google Map Content

 This is making my head hurt.  Now it's working properly.  The one thing I did do (though it shouldn't make a lick of difference) was to change the page from Work In Progress to Live Content.  Now I can change the properties and it works fine - and I changed it back to Work in Progress and it still works. 

I'm definitely confused....Undecided

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