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.

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.

Connect With Other SilverStripe Members /

For all SilverStripe-related topics that don't fit into any of the categories above.

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

processes\process director URL and custom pages error [solved]


Go to End


2 Posts   1835 Views

Avatar
Xananax Prozaxx

Community Member, 11 Posts

2 May 2011 at 11:05am

I just wanted to post this in the (odd) case that someone runs in the same problem I did.
I had a custom class extending page called "Processes" that could contain any number of children DataObjects "process".
When I would add "processes" to my menu and click on it, I would get a Blank Screen of Death.

But calling the "Process" objects from a custom function worked. And my "processes" class contained only an $allowed_children directive!
Boy I had a hard time debugging this.

Turns out, in the _config.php located in /cms/ there is this line:
Director::addRules(50, array(
'processes//$Action/$ID/$Batch' => 'BatchProcess_Controller',....)

So "processes" is actually a reserved keyword.
Just in case someone has the same idea...Rename your holder class "processesHolder" or "procedures"

Avatar
Xananax Prozaxx

Community Member, 11 Posts

2 May 2011 at 11:15am

Or, more simply, change the path from the cms admin panel for that particular page