2985 Posts in 761 Topics by 740 members
Template Questions
SilverStripe Forums » Template Questions » Blank output after editing Page.ss
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1419 Views |
-
Blank output after editing Page.ss

22 March 2009 at 8:46am
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 -
Re: Blank output after editing Page.ss

24 March 2009 at 5:16am
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.
-
Re: Blank output after editing Page.ss

24 March 2009 at 6:28am Last edited: 24 March 2009 6:33am
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 -
Re: Blank output after editing Page.ss

24 March 2009 at 9:59am
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.
| 1419 Views | ||
|
Page:
1
|
Go to Top |

