I've got a few websites using the Geo Mashup plugin and just ran into a weird issue: when I click on the map pointer, it doesn't show the info, but just thinks and thinks. If I put the same site on another server it works fine.
The server this is happening on is a new LEMP installation. It's a dedicated box, and I think I've just got something with PHP or nginx configured wrong.
Here's a working site:
[[LINK href="http://sample-one.oilysites.com/my-team/"]]http://sample-one.oilysites.com/my-team/[[/LINK]]
Here's a non-working on the new server:
[[LINK href="http://www.essentiallyconnected.org/my-team/"]]http://www.essentiallyconnected.org/my-team/[[/LINK]]
Thanks anyone!
https://wordpress.org/plugins/geo-mashup/
Firoja_Imtosupport answers:
Hi Kyler,
There is an 500 Internal Server Error at - http://www.essentiallyconnected.org/?geo_mashup_content=geo-query&map_name=gm-map-1&object_name=post&object_ids=3012.
Can you provide remote desktop connection or add me on Skype "firoja3" so we can resolve issue
dimadin answers:
In other words, AJAX request on that file produces that error. Because of type of error and since one test server is on one, Apache server, and other on other, nginx server, it is obvious that there is some problem with either server configuration (for example, settings for PHP) or incompatibility with PHP versions etc.
dimadin comments:
@Kyler
This notice is generated by change in how widgets should be coded in 4.3. Since on both sites you use this WP branch (version 4.3.1) this is not cause of errors, though you might want to change that if this is custom widget, or report if its from plugin/'theme:
http://docs.layerswp.com/doc/notice-the-called-constructor-method-for-wp_widget-is-deprecated-since-version-4-3-0-use-__construct/
https://gist.github.com/chriscct7/d7d077afb01011b1839d
What you need to look for is fatal error that this page is producing. It should be logged somewhere on your server, for example as @Rempty said.
Rempty answers:
Enable wordpress debug on wp-config.php, to display errors.
http://www.essentiallyconnected.org/?geo_mashup_content=geo-query&map_name=gm-map-1&object_name=post&object_ids=3012
Error should appear, maybe a calling a wrong function (PHP incompatibility, access denied, etc).
Rempty comments:
If no errors on this page
http://www.essentiallyconnected.org/?geo_mashup_content=geo-query&map_name=gm-map-1&object_name=post&object_ids=3012
Check the nginx error_log
Dylan Kuhn answers:
I think the answers so far are headed in the right direction. The error info should make it clear, but it could be a permissions issue with the geo-query.php file.
Kyler Boudreau comments:
Thanks everyone. I apologize for the late response here. The debug gives this result:
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/betterlivingeos.com/public_html/wp-includes/functions.php on line 3457
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in /var/www/betterlivingeos.com/public_html/wp-includes/functions.php on line 3457