Jump to:

3445 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » Blank output after editing Page.ss

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

Page: 1
Go to End
Author Topic: 1804 Views
  • localghost
    Avatar
    Community Member
    2 Posts

    Blank output after editing Page.ss Link to this post

    Hello,

    i edited my

    themes/tutorial/templates/Page.ss

    as described at

    and after that the output (both Draft & Published) was blank. Even viewing it with a ?flush=1 attached to the url did not help. so i tried to undo the changes, but same result: blank page. Sorry, but these are my very first steps in SilverStripe and i do not even know wether my post occures in the correct place.

    Thanks for help,
    Lorenz

  • ootersplace
    Avatar
    Community Member
    16 Posts

    Re: Blank output after editing Page.ss Link to this post

    Hi Lorenz,

    It looks like you might have missed an end tag. Make sure every beginning tag is matched to an end tag (e.g., every opening "<div>" tag has to have a corresponding ending "</div>" tag).

    If you can't find the problem, post the contents of your Page.ss file so others can take a look.

    Karl.

  • localghost
    Avatar
    Community Member
    2 Posts

    Re: Blank output after editing Page.ss Link to this post

    Hi Karl (german?),

    my Page.ss should be attached to this post, without the changei did, because as i said i undid that. And the change i did, did not touch any tags:i just had reclaced

     

    by $Title.

    At the moment i can not even reach the cms or the start page of silverstripe. all i get to see is a blank page. is there any way to get an error message out of it? if it helps: both the directories Includes and Layout are empty.

    Thanks,
    Lorenz

    Attached Files
  • ootersplace
    Avatar
    Community Member
    16 Posts

    Re: Blank output after editing Page.ss Link to this post

    I took a quick look at the file and everything seems to be fine with it, but I think the problem is bigger than that. Could you have accidentally deleted some files?

    As long as you're talking about the folders under mysite (and not under the theme you're using), I think it's ok that your Includes and Layout folder are empty (since it will pick up the layout from the template).

    Either way, that shouldn't affect your being able to log into the CMS. What's your setup? Are you trying SS on a local machine? Can you reinstall? (what happens if you go to http://yoursite.com/dev/build/?flush=1 ... do you see anything?

    To view errors, go to http://yoursite.com/?isDev=1.

    Hope some of that helps.

    Karl.

    P.S. No, I'm not German. I'm Canadian and my ancestry is Middle Eastern.

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