Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Having to re-login to or refresh the CMS every time content is saved or page is accessed with Safari/Chrome...


Reply


627 Views

Avatar
vwd

Community Member, 160 Posts

12 January 2012 at 4:25pm

Edited: 12/01/2012 4:49pm

Hi,

I am having a slightly annoying issue at the moment. Every time I access any page on the site, I'm getting an 'Error Saving Content' message when I subsequently attempt to save a page on the CMS and I'm asked to re-login. This only happens in Webkit browsers. No such issues in Firefox.

The error console shows the following errors:

In Chrome:

Refused to set unsafe header "Connection"

2 event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

POST http://localhost:8888/index.php/admin/RootForm 400 (Bad Request)
Ajax.Request.Object.extend.request prototype.js:765
Ajax.Request.Object.extend.initialize prototype.js:740
(anonymous function) prototype.js:25
CMSForm.save LeftAndMain_right.js:205
action_save_siteconfig_right LeftAndMain_right.js:351
button.onclick LeftAndMain.js:301

In Safari:

Refused to set unsafe header "Connection"

POST http://localhost:8888/index.php/admin/RootForm 400 (Bad Request) RootForm
:8888/sapphire/thirdparty/prototype/prototype.js:765
XHR finished loading: "http://localhost:8888/index.php/admin/RootForm".

Refused to set unsafe header "Connection"

:8888/sapphire/thirdparty/prototype/prototype.js:765
XHR finished loading: "http://localhost:8888/index.php/Security/ping".

Any ideas?

Thanks very much.

VWD