Hi there,
I'm new to SilverStripe and I'm considering using it for my next big web project. I've set up a development site, tested it out, and overall I'm very impressed, but for the life of me I can't get the CMS Workflow module to work.
I've tried uninstalling and reinstalling the module, and the whole site, several times, and I've tried setting it up on different stacks (XAMPP and WAMP) and on different OSs (Windows XP, Windows 7), but each time I run into the same problems with this module.
Firstly, I get an error message during installation about a reference to "addToGroupByName" in "/code/WorkflowSystemMember.php". Through trial and error I worked out that I can solve that problem by changing the line in WorkflowSystemMember.php from:
Group::addToGroupByName($su, 'administrators');
to:
$su->addToGroupByCode('administrators');
Then, however, once the module has been installed, I can no longer publish any pages.
For example, I'll make a change to a page and click "Request Publication" - all well and good - but then, when I try to action the request, I get a red "Server Error" message and no further explanation. This message appears no matter which action button I click ("Approve", "Request edit", "Deny", "Cancel" or "Comment").
If I try to bypass the workflow altogether and click "Save and Publish" on a page, I get a red "Error Saving Content" message, and the animated loading image on the "Publishing..." button continues to spin and spin.
Basically, once the module is installed, I can no longer publish any pages, regardless of whether I try to go through the workflow, or just click "Save and Publish".
Once I've removed the module, I can publish pages again.
Can anyone help me out here?
As I mentioned above, I'm very impressed with SilverStripe and leaning towards using it for my next big site, but my inability to get this module working is holding me back.
Thanks in advance for your help.