I needed to get nested URLs on a site I am making for a design company, using silverstripe.
I found this page and made the changes described. Now, when I go to a page on the site it says:
Parse error: syntax error, unexpected T_RETURN in /home/firemake/public_html/sapphire/core/control/ModelAsController.php on line 58
That is an entry that was added in the change:
"return $modelFinder::get_one('SiteTree', '`SiteTree`.URLSegment = \"$urlSegments[$currentSegment]\" AND `SiteTree`.ParentID = $model->ID');"
Anyone have any ideas?
The site is www.firemakerdesign.com.