I was looking through the dataobject_manager tutorial to get the feel of it, and upon creating a new TestimonialPage, it gave me an error loading page. Problem is, now I can't even delete it off of SS from the CMS because it won't let me select it to delete it from the website. Is there a way to manually delete it without going through the CMS?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
What you described is very likely an error in your coding. I've ran into that problem before.
Check your code. If you're stumped, post it here and we'll point out the flaw.
P.S. You can manually delete pages by accessing the database via phpMyAdmin or the command line.
Can you post the error so we can trace it?
/C
Thanks for the replies. I replaced the code with the code from Page.php and then was able to delete it, so I must have had an error in there somewhere.
It must've been there somewhere. No problem. :)
/C