Closed MaxRink closed 8 years ago
Do you have the logs when you get the error so that we can see if the error is been logged?
[2015-11-04 09:45:09] production.ERROR: exception 'ErrorException' with message 'Missing argument 1 for CorporationController::getContracts()' in /var/www/blacklistdot/seat/app/controllers/CorporationController.php:426 Stack trace:
It sounds like the $corporationID argument for the function getContracts is empty.
inside the DB the corpid is present though. And it works for the other corps
Err. From that error it looks like the url does not have the corpID in it (which is the first arg for the getContracts method). Not 100% sure what the issue is here.
the corpid is included in the URL.
Just had enought time to look into it myself. is a pretty simple error: i go that many contracts on that api so that the php process wantet to allocate over 512mb of RAM. It takes about 10 minutes to compute in a i5 3570 with 16 gb of ram :D But that funtion need some tweaking. thats way too long fr the ammount of data processed
Thanks. SeAT 1.x will paginate this one.
im getting a error 00 when im trying to access the contractpage of one of my corps. the other ones work fine though (might be related to a few thousand contracts on that corp)