Home › Forums › MapPress Support › Mashup ajax error
- This topic has 5 replies, 3 voices, and was last updated 13 years ago by
Chris.
-
AuthorPosts
-
January 5, 2013 at 9:28 am #11286
Hi, I`m working on a mashup here: http://lanchaembarcaciones.com.ar/ventas-servicios/ that gives me an ajax error!
I`m running WP 3.5 , map-pro 3.9.5 and also tryed disabling plugins and allocated more memory, without luck.
Simple maps work fine : http://lanchaembarcaciones.com.ar/ventas-servicios/consesionarios-sea-doo/
[mashup query="post__in=369,304,305" adaptive="true" width=100%]
any clue?
January 5, 2013 at 10:20 am #11288Hi,
Thanks for writing, I see the AJAX error – WP_Query is saying it’s not receiving an array for post__in.
I’ll try to replicate this issue in my test system this afternoon and get back to you with an answer.
January 7, 2013 at 5:24 am #11298Hi,
I found the problem (a bug in the query module) and it should now be fixed in version 2.39.6.
You can download the new version from your account:
http://mappresspro.com/account
January 7, 2013 at 5:58 am #11300Thanks so much!
worked perfect!
September 26, 2013 at 2:00 am #13437Hi,
I am getting a similar ajax error on a mashup with about 100 icons http://www.ontheqt.ie – memory is being requested to >64Mb. Currently, the error is only being generated with the dashboard open, but I know from the way it has gone so far that a few more posts will cause the error without the dashboard open.
Can you help here please as there seems to be a lot of overhead for a relatively small number of icons.
Vincent
September 26, 2013 at 4:10 am #13440Hi,
The current version of MapPress reads all the posts for the map, so that query dictates the memory usage/time.
I think WordPress itself (with no plugins) uses around 40MB, so 64MB doesn’t sound extraordinary.
If the problem is a memory limitation, you’ll need to increase your PHP memory or set a “posts_per_page” limit in the query. Here’s the codex entry:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
Please note that most hosts require you to edit the php.ini file, so just setting WP_MEMORY_LIMIT in wp-config.php won’t always work.
-
AuthorPosts
- You must be logged in to reply to this topic.
