Author Topic: Mobilizing 500 militia  (Read 1194 times)

Ratharing

  • Full Member
  • ***
  • Posts: 505
  • Karma: +25/-12
    • View Profile
Mobilizing 500 militia
« on: December 10, 2015, 04:28:37 PM »
When I try to mobilize 500 militia from a settlement I get this error:


Warning[/size]: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in [/size]Unknown[/size] on line [/size]0[/size]Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to start the session because headers have already been sent by "" at line 0.' in /home/maf/symfony/app/cache/prod/classes.php:118 Stack trace: #0 /home/maf/symfony/app/cache/prod/classes.php(192): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/maf/symfony/app/cache/prod/classes.php(492): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes') #2 /home/maf/symfony/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ContextListener.php(78): Symfony\Component\HttpFoundation\Session\Session->get('_security_accou...') #3 /home/maf/symfony/app/cache/prod/classes.php(3012): Symfony\Component\Security\Http\Firewall\ContextListener->handle(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent)) #4 [internal function]: Symfony\Component\Security\Http\Firewall->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symf in /home/maf/symfony/app/cache/prod/classes.php on line 5337

Ratharing

  • Full Member
  • ***
  • Posts: 505
  • Karma: +25/-12
    • View Profile
Re: Mobilizing 500 militia
« Reply #1 on: December 10, 2015, 04:34:27 PM »
And when I try to visualize 871 soldiers:


Fatal error[/size]: Allowed memory size of 134217728 bytes exhausted (tried to allocate 229376 bytes) in[/size]/home/maf/symfony/app/cache/prod/twig/40/400244fbb3592f7c45b5c6ee58dd2929c82e8a523d346f308fb6d87f7e7581c8.php[/size]on line [/size]249


This means I am unable to manipulate the soldiers I carry. I hope you can fix this soon before both they and the settlement starve to the ground.

Tom

  • Head Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6320
  • Karma: +102/-15
    • View Profile
    • Might & Fealty
Re: Mobilizing 500 militia
« Reply #2 on: December 11, 2015, 11:30:00 AM »
Try again now, I've added a workaround.

And once again I am calling for someone with Javascript knowledge to help me out with the soldiers page. I really can't do this by myself.

Ratharing

  • Full Member
  • ***
  • Posts: 505
  • Karma: +25/-12
    • View Profile
Re: Mobilizing 500 militia
« Reply #3 on: December 11, 2015, 01:54:39 PM »
It's working now. Thanks a lot!