Hi justynjj!
I’m sorry to hear that you are experiencing problems.
I have tried to reproduce the problem but I cannot.
There is a new Sightings release (1.3.2.1) which I recommend you to download or update. This update will probably not solve this specific problem but will fix some known bugs.
Did you upgrade Sightings from 1.3.1 or older to 1.3.2? You must delete all your previous sightings after upgrading to v 1.3.2. Multiple marker feature is not backwards compatible with sightings created before v 1.3.2.
What theme are you using? I’ve experienced problems with the Twenty Eleven theme. Please try it in Twenty Ten and see if that helps.
If you still have problems, please let me know your PHP version and provide me with some screen shots.
Thanks for trying Sightings!
UPDATE:
I have managed to reproduce the error now. The reason was that Google had changed the marker position attributes which caused the latitude to be saved as ‘undefined’. I have now fixed so that marker positions are retrieved in a more fail safe way (not depending on attribute names).
I will update with the bugfix as soon as possible.
Thanks for reporting this justynjj!
Hi aaslun,
Great to hear you’ve found and fixed that one.
I’ve now run into another error which I think the latest update may have introduced. It could be something in my settings as well though. I am getting the following php errors when I install you’re latest update 1.3.2.2 If I disable the plugin then everything works fine again.
Warning: include(__DIR__/shortcode-sightings-map.php) [function.include]: failed to open stream: No such file or directory in /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php on line 14
Warning: include(__DIR__/shortcode-sightings-map.php) [function.include]: failed to open stream: No such file or directory in /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php on line 14
Warning: include() [function.include]: Failed opening '__DIR__/shortcode-sightings-map.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/public_html/wordpress/wp-content/plugins/mailchimp-widget/lib') in /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php:14) in /public_html/wordpress/wp-includes/functions.php on line 861
Warning: Cannot modify header information - headers already sent by (output started at /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php:14) in /public_html/wordpress/wp-includes/functions.php on line 862
Let me know if you need anything further on this one.
Thanks,
Justyn
hi! I have the same problem as justyn described…
Warning: include(__DIR__/shortcode-sightings-map.php) [function.include]: failed to open stream: No such file or directory in /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php on line 14
Warning: include(__DIR__/shortcode-sightings-map.php) [function.include]: failed to open stream: No such file or directory in /public_html/wordpress/wp-content/plugins/sightings/theme-files/filters.php on line 14
I use PHP 5.2.17
can you pls. fix sightings so that it will work properly!
Thank you!
bergblume
Plugin Author
webdez
(@webdez)
This error is due to your PHP version not being compatible with the system requirements for this plugin. Your version does not support the PHP magic constant __DIR__: http://php.net/manual/en/language.constants.predefined.php As you may have seen Sightings requires at least PHP version 5.3. I will see if I find time to make Sighings backwards compatible, but until then it is version 5.3 that is the minimum requirement.
hey – good morning andreas!
I see…
yes, that would be very nice if you could program Sightings backwards compatible as most of the providers here in germany still do not support PHP 5.3
or can you give us a tweak how to resolve it?
Thanks for your support,
bergblume
Plugin Author
webdez
(@webdez)
I will see if I find time. I will try to promote the newer technologies first whenever possible.
Meanwhile, try to get your web hosts or web hotels to upgrade their PHP versions. PHP 5.4 was released in march 2012 so that makes PHP 5.2 a legacy technology (released in 2006).