Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

Importing Maps - Max_input_vars? #16

Closed
GQuantrill opened this issue Jan 12, 2020 · 13 comments
Closed

Importing Maps - Max_input_vars? #16

GQuantrill opened this issue Jan 12, 2020 · 13 comments

Comments

@GQuantrill
Copy link

Hello,
First up, love your work. Really nicely down.

I'm struggling and I think I'm missing something.
Basically, I'm attempting to import a map which is fairly large (It's all of Catch).

I hit the issue whereby php states "{"status":"Internal Server Error","code":500,"text":"Fatal error: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini.","level":0}"

In the config/php.ini I've increased the value to say 5000 but it doesn't appear to take any notice of this.

Am I missing something?

@GQuantrill
Copy link
Author

Managed to get around this. I'd not noticed the ./config/php.ini wasn't actually being used.

Managed to get around this issue but noticed that the entries for max_corp_systems isn't being set either so I'll fiddle around.

@november781
Copy link
Contributor

november781 commented Jan 13, 2020

@GQuantrill the max_corp_systems is managed on the browser side, its getting set but the browser is not letting you access the new limit. That is an issue with the pathfinder project itself.

and as for your input vars, the /config/* files are only used when building a new image, be default the image is getting pulled from docker and will not represent any changes you made to those files.

The only values that change without building a new image are the ones in the .env file

@GQuantrill
Copy link
Author

@november781 Thanks. It's not a browser issue by the look of things. The pathfinder.ini in 'var/www/pathfinder/conf/' is never generated (nor is the folder) therefore it doesn't take any of the .env file where those settings are being written. I'm not sure why as the entrypoint.sh indicates it should be.

I've got around it by literally creating and copying over a new file into that location.

@november781
Copy link
Contributor

november781 commented Jan 13, 2020

would you mind helping me troubleshoot this on your end? that stuff was part of my commit line and if it is broken, I would like to get it fixed

Not to mention, this is the first time I'm seeing this

@GQuantrill
Copy link
Author

@november781 Yes, not a problem. I've forked the repo so I can play around a little and see what's amiss.

I'll ignore the php issue for now as that's likely to just me. I'm trying to import 109 systems in a single map so I suspect that's edge case!

@november781
Copy link
Contributor

out of curiosity, what OS/server are you building on?

@GQuantrill
Copy link
Author

I've tried it on 2 OS's so far.

Ubuntu 18.04
OSX Mojave (10.14.6)

@november781
Copy link
Contributor

november781 commented Jan 13, 2020

hmm, my Ubuntu server (what I have this deployed on) works fine, I know @porowns uses (or has used mac) and it works fine on windows for me.

EDIT: no longer works on windows.

would you please re-open the issue while we work on it?

@november781
Copy link
Contributor

@GQuantrill try changing your image in docker-compose.yml from kryptedgaming/pathfinder:latest to kryptedgaming/pathfinder:lastest looks like there was a typo in tagging the latest image

@GQuantrill
Copy link
Author

@november781 Just changed and it works perfectly now! Thank you.

@porowns
Copy link
Collaborator

porowns commented Jan 13, 2020

Sorry about that. New naming schema:

lastest build
lastest-lastest build
most-lastest build

Just kidding... latest image is pushing now, I'm going to delete my fat-finger mistake.

@GQuantrill
Copy link
Author

hehe, happens to everyone :) I kinda like the naming convention :D

@porowns
Copy link
Collaborator

porowns commented Jan 13, 2020

I'd recommend also joining our support discord: https://discord.gg/Nd3RYZ

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants