Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Save button sometimes doesn't work

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2359 Views
  • Decisive Flow
    Avatar
    Community Member
    73 Posts

    Save button sometimes doesn't work Link to this post

    Sometimes it seems like the 'save' button gets stuck so the 'publish' button doesn't show. When you refresh the page all changes are lost.

  • mootaccount
    Avatar
    Community Member
    5 Posts

    Re: Save button sometimes doesn't work Link to this post

    This the error that appears in the Firefox console:

    Error: $("Fields_fields") has no properties
    Source File: http://localhost/silverstripe-v2.0/sapphire/javascript/FieldEditor.js
    Line: 33

  • Decisive Flow
    Avatar
    Community Member
    73 Posts

    Re: Save button sometimes doesn't work Link to this post

    does this mean it will only save if you update certain fields e.g content? I've tried updating that, sometimes I just have to refresh the entire page to get it working, but I've noticed that sometimes SS duplicates input boxes. Like the content box is repeated 8 times down the page, which stops anything being able to be saved. I think the two problems are connected

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Save button sometimes doesn't work Link to this post

    Natalie, which site of yours does this occur most frequently on?

  • msantang
    Avatar
    Community Member
    41 Posts

    Re: Save button sometimes doesn't work Link to this post

    Hi

    Im working in a new project using SS, i had some troubles with installation because instaler script give me mod_rewrite error that i resolve creating the htaccess manualy and ignoring the error.

    But I have a problem with cms the save button works but the publish button never apear. so i have to use /admin/publishall to get page modified published

    some light about what is going on?

    im using the last daily build.

  • ScottiouS
    Avatar
    Community Member
    54 Posts

    Re: Save button sometimes doesn't work Link to this post

    I get the same problem as Natalie. I'm just working on a local installation before publishing the site live and I get the exact same js error using Firefox.

    After a little more testing I figured out that the error only occurs after visiting a UserDefinedForm page. So to get the error I just create a new user defined form and publish it. Once on the user defined form page if I go to any other content page, once I hit the "Save draft" or "Publish" button I get the error.

    I can reproduce the error easily now so if you need any further testing let me know.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Save button sometimes doesn't work Link to this post

    Hey Scott - thanks for tracking this one down!

    2359 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.