Jump to:

21286 Posts in 5733 Topics by 2602 members

General Questions

SilverStripe Forums » General Questions » Silverstripe 3 page edit screens not being loaded with AJAX

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

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 302 Views
  • NETim
    Avatar
    Community Member
    22 Posts

    Silverstripe 3 page edit screens not being loaded with AJAX Link to this post

    Hi,

    Found a strange one here.

    We have just started using SS3. A few of our newer sites that use SS3 have an odd issue where the admin system loads and displays the pages/nav/etc but when you click on a page to edit it, the loading dots appear, then disappear but it is still showing the list of pages and not the page edit screen.

    This happens for any page types we create.

    The really odd part, is that if you reload the page, the edit screen is displayed. It seems that, while silverstripe is changing the URL, it doesn't seem to be able to actually push the browser over to the edit screen.

    It's not a major problem as we can still edit sites but it's not something we can give to clients.

    Any ideas what might have caused this?

    Cheers,

    T.

  • Liam
    Avatar
    Community Member
    462 Posts

    Re: Silverstripe 3 page edit screens not being loaded with AJAX Link to this post

    You have some whitespace before your opening <?php tag so check your files.

    http://open.silverstripe.org/ticket/8010

  • NETim
    Avatar
    Community Member
    22 Posts

    Re: Silverstripe 3 page edit screens not being loaded with AJAX Link to this post

    Hi Liam,

    Thanks. That solved it.

    T.

  • Krato
    Avatar
    Community Member
    7 Posts

    Re: Silverstripe 3 page edit screens not being loaded with AJAX Link to this post

    Thanks Liam, I was facing the same issue and you pointed me out in the right direction.

    In my case, it was a closing "?>" php tag at the end of one of my files that was causing the issue. Once I deleted, it started working again.

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