Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500:ImportMap error #88

Open
Poolie30059785 opened this issue Apr 21, 2024 · 4 comments
Open

500:ImportMap error #88

Poolie30059785 opened this issue Apr 21, 2024 · 4 comments
Labels
question Further information is requested

Comments

@Poolie30059785
Copy link

Import map error,

I have updated Vars and this is set to what allows larger maps to be loaded.

324279341-5ba16215-924b-487d-93c8-d87f5ce8c230
324279381-9fdc01ab-7cc1-4f74-abda-3f13caf03e9f

@fleischsalatinspace
Copy link
Collaborator

Can you check the Pathfinder log files what exactly is logged when the 500 error appears ?

@fleischsalatinspace fleischsalatinspace added the question Further information is requested label Apr 22, 2024
@Poolie30059785
Copy link
Author

Poolie30059785 commented Apr 22, 2024

Says I need to increase VARS,5000 not enough.

I cant seem to find the php.ini directory.

I found it in static but changes are not reflklected on server when I restart

@GQuantrill
Copy link

GQuantrill commented Sep 27, 2024

@Poolie30059785 I also had the same issue. It doesn't update from the static/php/php.ini

What I ended up doing was replicating the entire php7 ini file within the project (so basically overwrote the static file with the correct php file). I then updated the various values required.

Within the docker-compose file, i think mount the file.

e.g.
volumes: - ./config/pathfinder/config.ini:/var/www/html/pathfinder/app/templateConfig.ini - ./config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini - ./config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini - ./static/php/php.ini:/etc/php7/php.ini

It is a bit of mucking around but worked for me.

@fleischsalatinspace Is there any easier way of doing this? I've attached a map that recreates the issue
Delve_2020_01_17.json

Edit: I appreciate this was an old question but I've just re-installed pathfinder and immediately hit this problem when importing region maps

@TyrHeimdalEVE
Copy link
Contributor

I cant seem to find the php.ini directory.

We inject the PHP configuration at build here:

COPY static/php/fpm-pool.conf /etc/php7/php-fpm.d/zzz_custom.conf

I found it in static but changes are not reflklected on server when I restart
This is caused by changes like these needing a rebuild.

We could technically just mount it instead to allow for more dynamic updates for special needs like these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants