Update error-pages.rst

Use render controller('EventBundle:Event:_upcomingEvents') if using Symfony 2.4, else there will be an error using the original code.
Merge pull request #10 from keefekwan/patch-4

Update error-pages.rst