Warning recorded in Event Log for editing using Macintosh; Intel Mac OS X 10.11; rv:48.0

Sharon Parry asked on September 2, 2016 02:57

Hi,

My client uses a Mac computer, and is busy editing the content to get new site live.

I'm seeing HUNDREDS of warnings in the Event Log like:

Event URL: /CMSPages/GetResource.ashx?stylesheetname=0 URL referrer: http://[domain]/cms/getdoc/104bfd45-a289-4da1-852d-ab15e70cc3b7/Guest-and-Local-Info.aspx?viewmode=3&showpanel=1&lang=en-AU&langobjectlifetime=request& User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0

I've noticed this warning occasionally for a site developed some years ago in Version 7, when a particular editor (who only edits the site occasionally) uses a Mac computer. As it doesn't seem to cause any site issues, I haven't worried about it.

What does this mean? And is there something specific I need to do to avoid it?

Recent Answers


Jan Hermann answered on September 2, 2016 05:09 (last edited on September 2, 2016 05:13)

Please share entire log detail. For exampe just following browsers are supported for editing your site:

Chrome 15+
Microsoft Edge 38+ (Windows 10 Anniversary Update or newer)
Internet Explorer 9+
Firefox 8.0+
Safari 5.0.6+ on Mac OS

It can also work for other browsers, but we can't guarantee it and you may get the warning.

0 votesVote for this answer Mark as a Correct answer

Sharon Parry answered on September 2, 2016 05:20

Sorry, I don't know what else I need to post. Will post everything again, and try to format for easier reading:

Event ID: 2114
Event type: Warning
Event time: 2/09/2016 6:19:43 AM
Source: Application_Error
Event code: PAGENOTFOUND
User ID: [User id]
User name: [user]
IP address: [user's ip]
Description: [this is blank]
Site name: [Sitename]
Machine name: [webserver machine name]
Event URL: /CMSPages/GetResource.ashx?stylesheetname=0
URL referrer: http://[domain]/cms/getdoc/104bfd45-a289-4da1-852d-ab15e70cc3b7/Guest-and-Local-Info.aspx?viewmode=3&showpanel=1&lang=en-AU&langobjectlifetime=request&
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on September 2, 2016 08:09

The warning says that requested page doesn't exist. The page could be deleted but that user has it bookmarked for example or there is some link that links that deleted page so everytime you try to load that deleted page you get 404 page and the "page not found" warning gets logged. You can try to find out if the 104bfd45-a289-4da1-852d-ab15e70cc3b7 exists in the CMS_Document table but most probably it's not there.

0 votesVote for this answer Mark as a Correct answer

Sharon Parry answered on September 2, 2016 23:37

Hi Jan,

Have done some more digging around, and found that my initial idea of it being something to do with editing via a Mac has got nothing to do with it. I can trigger the Event Log Warning myself using my own Windows PC.

And the GUID listed in the URL Referrer is actually the Node GUID for the page "guest-and-local-info.aspx", which seems to be the only page where this is occurring.

An Event Log Warning record is created each and every time I select that page in the tree via the Pages application. I don't even have to have it checked out. Just select the node in the tree whilst viewing via Edit mode. It doesn't happen if I'm in Preview mode and select the node. It also doesn't happen when selecting any other page/node in the tree via Edit mode.

The page is a combination Portal/aspx template, and contains various web-parts - repeaters, static html, editable images, accordian panels.

0 votesVote for this answer Mark as a Correct answer

Sharon Parry answered on September 5, 2016 04:17

Hello again Jan,

I've been able to recreate this problem in the default CorporateSite installation, and I think I've partially found what the problem is - it has something to do with changing the toolbar set for an Editable Text webpart on a pane of the Accordian Layout webpart.

To recreate the issue in my default installation of the CorporateSite, this is what I did:

  1. I copied the "Corporate Site - Development model (Mixed)" template as a new template, and then set the Widget zone type for the Left zone to be "None".

  2. On the Design tab of the new template, I then added an AccordianLayout panel with 2 panes, and added an EditableText webpart to each, leaving all the settings as default.

  3. Created a new page using this new template. On the Page tab, navigating to that page didn't record any Warnings in the Event Log.

  4. I went back to the Design tab for the template, and modified the Editable Text webpart in one of the accordian panes to use the "Full" HTML editor toolbar set.

  5. Select the Page tab for the page, went to the Event Log, and WHALLA! There is the same error!

Event URL: /CMSPages/GetCSS.aspx?stylesheetname=0 URL referrer: http://kentico9/cms/getdoc/67f1fc85-7dfd-46c0-931a-bd80ce17ea25/Mixed-Test.aspx?viewmode=3&showpanel=1&cmscontentchanged=false&lang=en-US&langobjectlifetime=request

The guid "67f1fc#######" is the Node GUID for the relevant page.

I've re-set the HTML editor toolbar set for the Editable Text webpart in the pane back to the default "(default)" setting, cleared the browser cache, cleared the cache in the System application and re-started the application, but I'm getting that Warning recorded each and every time I navigate to that page in the Pages application if I'm on the Page tab.

0 votesVote for this answer Mark as a Correct answer

Jan Hermann answered on September 6, 2016 16:26

Hi, let me check that scenario!

0 votesVote for this answer Mark as a Correct answer

Sharon Parry answered on September 6, 2016 20:52

Hi Jan,

I've figured out how to stop the warning from occurring.

If you modify either the HTML editor toolbar set or toolbar location for the Editable text web-part, you MUST specify the editor css stylesheet as well! Even if you re-set them back to their defaults ("(default)" and "In-line toolbar") you continue getting the warning recorded until the css stylesheet is set to the site's stylesheet.

The warning Event URL gave me the clue:

Event URL: /CMSPages/GetResource.ashx?stylesheetname=0

0 votesVote for this answer Mark as a Correct answer

Martin Hejtmanek answered on September 8, 2016 12:41

This seems to me like the (default) option in the selector has the value of "0" instead of the empty string it should have. @Jan: We may want to report it as a bug.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.