Jump to:

23376 Posts in 18218 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Can't create page: Refused to set unsafe header "Connection" error

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

Page: 1
Go to End
Author Topic: 673 Views
  • suntrop
    Avatar
    Community Member
    131 Posts

    Can't create page: Refused to set unsafe header "Connection" error Link to this post

    In my SS website (just updated to 2.4.10) I can't create some types of sup-pages. When I click the "create" button nothing happens and the console shows this error messages:

    Refused to set unsafe header "Connection" base.js:65
    Ajax.Request.Object.extend.setRequestHeaders base.js:65
    Ajax.Request.Object.extend.request base.js:61
    Ajax.Request.Object.extend.initialize base.js:59
    (anonymous function) base.js:4
    Ajax.SubmitForm base.js:80
    addpageclass.form_submit cmsmain.js:17
    POST http://example.com/admin/AddPageOptionsForm 500 (There has been an error) base.js:61
    Ajax.Request.Object.extend.request base.js:61
    Ajax.Request.Object.extend.initialize base.js:59
    (anonymous function) base.js:4
    Ajax.SubmitForm base.js:80
    addpageclass.form_submit

    I've found other threads reporting this issue but some are unsolved and the others didn't help in my situation. I am wondering why some pagetypes I can create and this particular pagetype not.My PHP code ins't that much different. There are just a lot of fields in this pagetype and nothing special when loading (see attached php file).

    Any help is appreciated! Couldn't find a solution the last 4 hours …

    Attached Files
    673 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.