aaslun
Forum Replies Created
-
+1 on that. I just wanted to confirm that we are also experiencing the same issue since updating to version 1.14.6.
Forum: Plugins
In reply to: [Debug Bar] Does Not Work -> WP 3.9.1The Request tab is blank, the Object Cache tab outputs data. So yes, something concerning collection of Request data appears to be broken.
Forum: Fixing WordPress
In reply to: Custom user typesTo do this programmatically yourself you should take a look at the add_role function in WordPress: http://codex.wordpress.org/Function_Reference/add_role
Forum: Plugins
In reply to: [Sightings] Parse Error – Sightings in XAMPPWhat PHP version are you running on?
It seems you are either running on an earlier than PHP 5.3 or not having configured PHP to use short open tags.To use short open tags, it must be enabled in PHP.INI. Search for short_open_tag in PHP.INI, and change the value to On. The line should look line:
short_open_tag = On
Also, try updating to the latest version of Sightings.
Forum: Plugins
In reply to: [Sightings] Sightings map location not saving/displaying correctlyUPDATE:
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!Forum: Plugins
In reply to: [Sightings] [Plugin: Sightings] Maps not working with new themesHi vickytnz!
I’m sorry but there seems to be some JavaScript related issues with the scripts that Google Maps V3 uses to render maps.
I have not yet figured out what causes this but Sightings seems to work better with themes that are kept simple (with less fancy stylesheets or JavaScript effects) such as the Twenty Ten theme.
I will look into this and see if there is something I can do to better implement the maps.
The [sightings-map] shortcode does not seem to be broken. How do you insert your shortcodes?Forum: Plugins
In reply to: [Sightings] Sightings map location not saving/displaying correctlyHi 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!Forum: Plugins
In reply to: [Sightings] [Plugin: Sightings] Activation failsThanks for notifying me about this! This is now fixed in the latest version (1.3.2.1).
The reason this happens is that you are probably running Sightings on PHP version 5.2 or earlier which does not support anonymous functions in PHP.
Please download the latest version of Sightings or upgrade your PHP version in order to solve this.
Thanks for trying Sightings!Forum: Themes and Templates
In reply to: wp_redirect with 404 status returns white pageTrue.
Forum: Themes and Templates
In reply to: wp_redirect with 404 status returns white pageThanks for your reply Chip!
Good to get your input about the recursive loop!
I’m currently working with migrating a large website to WordPress. This means importing lots of posts which will all get new URIs. This site has been around for awhile and there are probably a lot of old bookmarks out there. I need to pass any request containing a broken links to a 404 (since the post doesn’t exist in these cases), also Google will index broken links incorrectly if these will be 301 or 302.
But$wp_query->is_404 = true;does the job just fine for me.Forum: Themes and Templates
In reply to: wp_redirect with 404 status returns white pageI just solved it by using $wp_query:
if(isset($imported_post)){ wp_redirect($post_link, 301); exit; } else{ // No match, generate 404 global $wp_query; $wp_query->is_404 = true;Hope this helps!
Forum: Themes and Templates
In reply to: wp_redirect with 404 status returns white pageI have the exact same problem.
This works however since my theme has a 404.php page:
wp_redirect(home_url('404.php'), 302); exit;But i want to set http-status to 404, like so:
wp_redirect(home_url('404.php'), 404); exit;What am i missing here?