4806 Posts in 1719 Topics by 1445 members
|Go to End|
19 July 2013 at 4:24am Last edited: 19 July 2013 6:11am
Been at this for a while now, after install I can not complete a dev/build. It seems that I can log out and dev/build will work once, then goes back to the 500 error. very weird. Ive completely removed silverstripe and databases from the server and reinstalled to get the same results. when dev/build runs it is successful. admin functions work and im able to add custom pages and save various content to the database and website displays fine. So my work around is to re-install silverstripe any time i need to update a critical file, not a great work around. Debugging my 500 error turns this up:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 524288 bytes) in **/framework/core/manifest/TokenisedRegularExpression.php on line 24
I doubt it is a memory issue and seems more like the code is getting in a loop? any ideas?
There is one modification I have to make at install, my server setup requires me to include this code in my .htaccess:
AddHandler phpini-cgi .php
Action phpini-cgi /cgi-bin/php5-custom-ini.cgi
but I cant see that having this kind of effect...
I changed the memory allocation to 80M and that removed the 500 error/Fatal error, but now i get nothing, no error and a blank html file:
BUT dev/build is doing its job... any tips to debug the debug template/output so I can see the dev/build results?
24 July 2013 at 10:05pm
A white screen after some /dev/ operation might have something to do with output buffering. See this older thread: http://www.silverstripe.org/general-questions/show/20062?start=0
I don't know which version of SilverStripe you are using and if this issue was fixed in your version, but just maybe it helps
|Go to Top|