Hi, I'm trying to upgrade my site from 2.4 to 3.1. With some help from the "upgrade silverstripe" plugin (for php files only, so far a simple find and replace of "control" with "loop" has been more effective on the ss files) I've been managing quite well with updating functions, and making gridfields, but I am having a few issues I have no idea how to deal with.
I have a number of many-many relationships of pages to objects, quite complex ones. For example, I have "paper" objects which have a many to one "paperholder" page, many to many "staff" pages, and many to many "student" pages. So every paper appears on the list of publications, and also appears on the pages of each staff and student author.
I can get the grid fields to behave as I wish in the back end of the staff and student pages but whenever I click on one of the listed papers I get either a blank page with a pop-up "internal server error" warning, or a page full of \r\r\r\t\t\t etc. And after this all pages are full of \t\t\t\r\r\t\t\t until I do a flush. All during this the front end is behaving perfectly as expected.
When I click on the existing "paper holder" (papers) page I get the internal server error popup followed by nothing. i.e. I stay at the top level.
When I try to make a new "paper holder" page in the back end I get an "internal server" error followed by a blank page then all of the \t\t\t\t rubbish everywhere. This happens even when I strip out EVERYTHING except field declarations and relationships from the php file for the paper holder.
If I start at the front end of the "paper holder" and click on my "edit" button, I get taken not to the papers page as I would expect, but up to the top level of the back end.
Attached are screenshots of a staff page before and after a flush following an abortive attempt to visit a paper object. Also of the associated grid field looking almost as I want it - I just need to figure out how to get something more informative than ID in the search field.
This is all running in MAMP on my test machine with php 5.4.4.