Closed (works as designed)
Project:
IP Geolocation Views & Maps
Version:
7.x-1.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2013 at 15:16 UTC
Updated:
26 Nov 2013 at 07:24 UTC
Jump to comment: Most recent
Comments
Comment #1
rdeboerHTTP Error 500 Internal server error: the web server (running the Web Site) encountered an unexpected condition that prevented it from fulfilling the request.
Could be a problem with any module on your system. What makes you think it's an IP Geolocation error? Is that literally what it says?
Any clues in the logs both in Drupal (under Reports) and the Apache server logs?
Comment #2
mabf commentedI have the same problem
your you have been able to solve the problem?
Comment #3
rdeboer@Miguel Angel, #2:
Hi Miguel,
Can you please describe more clearly what you do to get this error?
What is the page that you refresh. Does it have an IPGV&M map on it? If so, what kind of map: Google, Leaflet or OpenLayers?
Is "Use AJAX" on in your View or not?
Is it indeed the 7.x-1.x-dev version of IP Geoloc Views & Maps that this report was logged against that you use? Or is the 7.x-1.18 release?
If I can't reproduce this issue, I cannot fix it. Please show me the steps...
Rik
Comment #4
mabf commentedHi Risk, thank
I use:
Drupal 7.x-1.9
Modules the location
Geofield, Geofield map 7x-1.1
Geo PHP 7x-1.7
IP Geolocation views and maps 7x-1.18
Device GEolocation 7x-1.0
Smart IP 7x-1.8
leaflet... 7x-1.0
it´s all updated
The error is: Message webpage
IP Geolocation : an HTTP error 500 occurred
In blue State report
GeoPHP and GEOS GeoPHP library installed and OK. However, GEOS is was not found. While not required, you will see performance improvements if you install the GEOS PHP extension. See the following link for more information.https://github.com/phayes/geoPHP/wiki/GEOS
webpage
www.cosasmedicas.com
I not because it says that to me if everything is correct
thanks you
Comment #5
rdeboerInteresting Miguel....
Ok I can see the error on your site. It happens in the HTML5 location retrieval Javascript....
What does your "Recent log messages, /admin/reports/dblog, show? Anything suspicious there?
You don't need to enable Device Geolocation if you have IP Geolocation Views and Maps enabled. Just Smart IP by itself is sufficient.
In fact this may be part of your problem...
Try disabling Device Geolocation.
Rik
Comment #6
mabf commentedI have been disabling several modules and GeoPHP and GEOS GeoPHP the have disabling but the error does not disappear IP Geolocation : an HTTP error 500 occurred
Comment #7
rdeboerDon't know. Haven't seen this on other Drupal installs before.
It's easy to just comment out the error in the javascript code, but that's not fixing the underlying issue.
Comment #8
rdeboerHi Miguel,
Did you solve this in the end?
Rik
Comment #9
rdeboerClosing due to inactivity.
Comment #10
socialnicheguru commentedHi.
I am still getting this intermittently. Here is what I get in chrome:
POST http://mysite/ip-geoloc-current-location 500 (Internal Server Error) jquery.js?v=1.7.1:8102
send jquery.js?v=1.7.1:8102
jQuery.extend.ajax jquery.js?v=1.7.1:7580
callback_php ip_geoloc_current_location.js?mwd3ku:89
(anonymous function) ip_geoloc_current_location.js?mwd3ku:61
(anonymous function) VM842:5
(anonymous function) VM842:3
$P VM842:1
e VM842:3
(anonymous function) VM822:72
(anonymous function) VM822:58
(anonymous function) VM822:72
Vt.c VM822:69
(anonymous function) GeocodeService.Search?5m2&1d37.774929&2d-122.41941600000001&7sUS&9sen-US&callback=_xdc_._y5g5if&tok…:1
I have google selected for my geocode.
Comment #11
socialnicheguru commentedComment #12
rdeboerWeird...
"I have google selected for my geocode."
Do you mean you have the "Employ the Google Maps API to reverse-geocode HTML5 visitor locations to street addresses" box ticked on the IPGV&M config page or are you referring to a Geocoder module setting?
Comment #13
gettysburger commentedI am also getting an error like that, on my live server but it works fine on localhost?
The error reads, in part, "A 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
I am using Geocoder 7.x-1.2
Geofield 7.x-1.1
Geofield Map 7.x-1.1
GeoPHP 7.x-1.7
IP Geolocation 7.x-1.23
I am using Chrome and it does not just throw a popup, it throws me to a white error page.
I am wondering if I need to update to a new version of Geofield...?
Comment #14
rdeboer@gettysburger:
I don't know how and why you would get that error on your server as a result of IP Geolocation Views & Maps.
Geofield 7.x-2.x is preferred but it won't make this error go away.
You don't need Geofield Map when you use IP Geolocation Views & Maps.
Comment #15
gettysburger commentedThanks. I'll play around with it some more. Very excited by what I see on my local server.
Comment #16
gettysburger commentedSomeone has suggested that, although this is working for me locally I might need to contact my service provider (webhostinghub.com) and have them change some setting. I have contacted them and will see what they say. Strangely, I checked my server logs (from whh) and they are empty?
Comment #17
gettysburger commentedOK, I called my service provider, enabled the module and got the server 500 error. This is waht he got:
"[Mon Nov 25 10:43:20 2013] [error] [client 24.153.125.19] Premature end of script headers: index.php, referer: http://www.virtualantietam.com/admin/modules"
Any thoughts? Thanks.
Comment #18
gettysburger commentedSolved! I upgraded to PHP 5.3 and the module loaded with no problem. I have not banged on it yet to be absolutely sure, but the first thing it did after starting with no errors was tell me that the site wanted to know my location, which I saw as a good sign. Thanks for a great module.
Comment #19
rdeboerGreat. Closing