11004 Posts in 2735 Topics by 1824 members
|Go to End|
28 March 2014 at 3:59am
Running dev/build after added the userforms module doesn't work. The rebuild halts after "VirtualPage". There are no error messages.
The front-end of the website continues to work, but admin just shows a white screen.
I'm using Director: environment_type: 'dev' in my site/_config/config.yml but there aren't any errors displayed.
Running SS3.1 and the current version of userforms. I'm also running a second (separate) SS3.1 website with userforms and this one works fine.
Can anybody suggest what's going wrong, please?
28 March 2014 at 4:01am
I've just found this in php_error.log
[27-Mar-2014 15:52:07 Europe/Berlin] PHP Fatal error: Access level to ErrorPage::$db must be public (as in class Page) in /Applications/MAMP/htdocs/AffordableWDC/cms/code/model/ErrorPage.php on line 14
[27-Mar-2014 15:52:19 Europe/Berlin] PHP Fatal error: Access level to UserDefinedForm::$has_many must be public (as in class Page) in /Applications/MAMP/htdocs/AffordableWDC/userforms/code/model/UserDefinedForm.php on line 7
I think I've done something wrong when changing page.php (or one of the other page types). Still trying to get to grips with 3.1. Any pointers? Thanks
28 March 2014 at 4:27am
I had public static $has_many = array( where I should have had a private static $has_many = array(
|Go to Top|