Fix the issue where settings cannot be saved


Troubleshooting Map Settings Not Saving

If you’re experiencing issues with saving your map settings, it’s likely due to server configuration limits restricting data processing. This commonly occurs when PHP settings prevent larger data inputs from being saved properly.

How to Fix the Issue

To resolve this, you need to increase certain values in your server’s php.ini file. The following settings are crucial for allowing larger inputs and preventing timeouts during the save process:

memory_limit – Defines how much memory PHP can use.
max_execution_time – Sets the maximum time a script can run before timing out.
max_input_time – Determines the time PHP waits for input data to be processed.
max_input_vars – Limits the number of input variables PHP can handle.
post_max_size – Specifies the maximum size of post data allowed.

Example: Increasing Memory Limit

If your current memory limit is set to 128MB, you can increase it to 256MB by modifying the php.ini file:

Before:

memory_limit = 128M

After:

memory_limit = 256M

After making the change, save the file and restart your web server (Apache, Nginx, etc.) for the new settings to take effect.

Important Considerations

  1. Be cautious when modifying PHP settings – Increasing values too much can consume excessive server resources and affect performance.
  2. Shared hosting limitations – Some hosting providers restrict direct modifications to php.ini. If you can’t edit it yourself, check if you can override settings via .htaccess, user.ini, or wp-config.php.
  3. Contact your hosting provider – If you’re unable to change the settings or if the issue persists, reach out to your hosting support team for assistance.

In the same context