Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Extra pages apear in site tree, even if I delete them


Reply

5 Posts   895 Views

Avatar
Big Bang Creative

10 June 2009 at 9:24pm Community Member, 92 Posts

Extra pages are apearing in site tree, even if I delete them .. I am running v2.3.1

Have a look at the attached image (highlighted in red is what I mean).

Attached Files
Avatar
Big Bang Creative

22 June 2009 at 9:26pm Community Member, 92 Posts

I still have not found out why this is happening. Does anyone else have the same issue on their installation of v2.3.1?

Avatar
CrazyCoders

22 June 2009 at 11:48pm (Last edited: 22 June 2009 11:48pm), Community Member, 32 Posts

I don't know if you did this on purpose but if you look at the database itself, you'll see those pages in there with no Title or Name. What happened is, if you didn't do it by code, there was a bug that did it. Unfortunately, the CMS can't remove these, so delete them manually from your DB.

If it was by error such as by code, then just fix your code first then delete the errored page out!

Avatar
Big Bang Creative

22 June 2009 at 11:59pm Community Member, 92 Posts

This happend on a fresh install of v2.3.1, no extra code or pages had been added. This is what I saw as soon as I logged in for the very first time.

Avatar
CrazyCoders

23 June 2009 at 2:18am Community Member, 32 Posts

Then just go to the DB and delete the pages manually. The table should be "SiteTree" and you should have a bunch of lines with empty titles and names. Just delete them, and you are off!

Remember though that if you are able to reproduce the problem in a clear manner, don't hesitate to send the bug report in!