Login | Sign up | Toll-Free: 1-800-752-0455
 
 

Forum

 

5 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: January 19

By rez - January 15 - edited: January 15

Notice: Undefined variable: partial match line 143

same for line 147

fatal error: setPrefixedCookie: Can't set cookie (loginsession #) headers already sent!

geocoder.php output started line 143, common.php line 706

Getting the above error pop-up when saving a record of a location. The Latitude and Longitude are not being auto filled by the plugin.

My API key is working /The example map in the plugin installation Admin screen is working. GEOCODER_USE_PARTIAL_MATCHES is set to "true".

I dont get this pop-up every time but the Long and Lat are never filled. I made sure all other tabs are closed since it mentioned some cookie situation but i have no idea how to proceed. Please advise.

Version: 1.06 with the latest cmsb

Thanks! 

Hi Rez, 

Thanks for reporting this.  Can you try changing line 142 from this: 

$isPartialMatch = @$response['results'][0]['partial_match']; 

To this:

$partialMatch = @$response['results'][0]['partial_match']; 

And let me know if that resolves the issue for you?

Dave Edis - Senior Developer
interactivetools.com

Hi rez, 

Can you try setting this to true at the top of your plugin? 

$GLOBALS['GEOCODER_USE_PARTIAL_MATCHES']    = false;  

If that doesn't work, send me an email to dave@interactivetools.com with CMS/FTP login details and steps to recreate the issue and I can take a look.  Note: Don't post login details to the forum.

Thanks!

Dave Edis - Senior Developer
interactivetools.com

No luck. Email sent. Thanks!