22849 Posts in 9674 Topics by 2803 members
|Go to End|
2 December 2012 at 6:34pm
I am trying to follow this tutorial http://doc.silverstripe.org/framework/en/reference/siteconfig
to extend the SiteConfig, but I get this error when I visit "dev/build?flush=all":
[Sat Dec 1 20:47:00 2012] [notice] child pid 4036 exit signal Segmentation fault (11)
The access that caused this error was logged some thirty seconds later when I was served a blank page:
xxx.xxx.xxx.xxx - - [01/Dec/2012:20:47:33 -0800] "GET /xxxxxxxxx/dev/build?flush=all HTTP/1.1" 200 1724
top shows heavy cpu use by the httpd process in the meantime. It's curious that the time elapsed coincides with php's default max_execution_time, but I'm at a loss to what's going on here.
2 December 2012 at 9:00pm
This is most likely a bug with your version of PHP. I used to get this when accessing some of the automagic functions SilverStripe added to objects for relationships ie: $this->Relation()
What version of PHP do you have? Some googling might find the problem...
3 December 2012 at 12:37pm
Update: php 5.3.17 same problem, so that wasn't the bug.
|Go to Top|