WordPress 3.5 & Windows: Plugin Update and Install Issue Quick Fix

Anyone got plugin update or install issue after updating to WordPress 3.5? Is this your error message:

Download failed. Destination directory for file streaming does not exist or is not writable

This issue is not limited just to plugins, it’s affecting themes, and whole WordPress, you will not be able to update anything at all!

Here is ticket connected to this issue: http://core.trac.wordpress.org/ticket/22900

So there are 2 things you need to do:

Go. to wp-includes/class-http.php and find this 2 lines:

if ( ! is_writable( dirname( $r[‘filename’] ) ) )
return new WP_Error( ‘http_request_failed’, __( ‘Destination directory for file streaming does not exist or is not writable.’ ) );

And comment them out (just add // in front of them)

This is actually secondary check and its unnecessary, also any path returned by get_temp_dir() method should be writable by default. So this needs to be removed or make it compatible with Windows!

Second thing that you need to do is to add one line of code in yours wp-config.php file:

define( ‘WP_TEMP_DIR’, ABSPATH . ‘wp-content/’ );

This issue is already fixed for WordPress 3.5.1 version, but this is quick fix so you can do it now.

Did this fix worked for you?

JetPack 2.0 Publicize – Facebook special characters problem quick fix

New WordPress Jetpack 2.0 plugin update comes with great Publicize module, that all of wordpress.com users love. But there is a problem with publicize posts in Facebook, special characters from various languages are not shown right. Instead that characters the html code is shown in their place.

There is quick fix for this problem, you should go to your dashboard, than plugins and editor.

Chose Jetpack by WordPress.com and click sellect, than on right find jetpack/modules/publicize.php and than in the file find this line:

$string = mb_convert_encoding( $string, ‘HTML-ENTITIES’, ‘UTF-8’ );

and add // before this line, it should look like this:

//$string = mb_convert_encoding( $string, ‘HTML-ENTITIES’, ‘UTF-8’ );

Click on Update file and that is, your issue with publicize Facebook posts and special characters is solved.

Please comment if you have any issue with this fix.

Jetpack 2.0: Publicize to Facebook, Twitter, LinkedIn, Tumblr; Post by Email; Photon; Infinite Scroll

Jetpack 2.0 just knocked me out today. This just shows how mature and scalable the WordPress platform is. This is a giant step to reach and socialize every wordpress installation just like it’s done with the wordpress.com blogs. I personally was cheering for Publicize module in this version, but Photon and Infinite Scroll have just blown me off. And finally, as a developer, I have a lot of new API’s to play with, and all of them are coming from jetpack.me fabulos kitchen.

I think that this update will also make a lot more developers use wordpress.com services to provide infrastructure for their themes and plugins.

Thank you Matt & WordPress team for this great platform – this is not just a plugin for me any more, this is way bigger!!!

Now I’m more eager to see new modules like translation and developer mode, and also the revamp of stats module. And now I have to add a few jetpack.me modules to my wishlist:

  • Management module (controlling all of my jetpack connected websites from same dashboard)
  • SEO
  • Collaboration (same time writing and editing – very possible if all processing is delegated to wordpress.com servers)
  • More API to play with

What do you ppl think, is there any other plugin that we will need once when the jetpack comes to 4.0 version? And what modules will be in the jetpack 4.0?

Jetpack 2.0: Publicize to Facebook, Twitter, LinkedIn, Tumblr; Post by Email; Photon; Infinite Scroll.

WordPress team worked on parallel data download for WordPress.com stats, its great thing to hear. Before it needed 10-20s just to start displaying stats, now its a lot faster.

 

This fix is also speeding up JetPack stats for WordPress.org sites.

Also for hard core users there are new keyboard Toolbar Notification shortcuts.

The WordPress.com Blog

We’ve just released two improvements that will make WordPress.com even more efficient for you, leaving you more time to create content.

Site Stats

If you get a lot of traffic to your blog, your stats were sometimes slow to load.  We know you like to look at your stats often, think about how all those seconds added up.  Now, your main stats page loads all of its data in parallel:

This loads your whole stats page two to three times faster, which means less time spent staring at a spinner and more time for interacting with your readers and creating content.

Of course, if you’re a Jetpack user, you can partake in the speedy stats goodness on your WordPress.com stats page as well!

Toolbar Notifications

We’ve made your Toolbar Notifications faster to interact with also. Now you can navigate the Notifications menu from your keyboard.

Keys:

  • n : Open/Close the…

View original post 62 more words

Please read Matt blog post about JetPack plugin and if you are using it please rate it!

Jetpack — Essential Security & Performance for WordPress

This has been a pretty exciting year for Jetpack, with numerous updates like countries being added to stats, subscriptions, contact forms, Jetpack comments, Carousel, and there’s some even more exciting things in the pipeline.

But despite the incredible adoption of the plugin and positive feedback we’ve been getting, Jetpack only has 3 of 5 possible stars on the plugin directory. That brings me to two points:

First, if you are having any trouble with Jetpack please let us know on the support forums (it’s even better than comments here). As the plugin says in its sidebar, “57 of 58 support threads in the last two months have been resolved.”

Second, if you’re a user of Jetpack please consider rating it in the directory. You need a WordPress.org account to do so, but once you log in it’s as easy as clicking the stars in the sidebar. Our rating…

View original post 40 more words

Jetpack 1.4 Comments: how to fix it

WordPress Jetpack just got new version 1.4 and here is post about it:

Jetpack Comments Now Available at a Launchpad Near You.

And it finally adds Jetpack comments:

Jetpack Comments has arrived!

We’re breaking down the barriers between you and your audience. When someone reads an article on your site and wants to comment, they can now use one of their existing social networking accounts to post a comment. No longer do they need to create yet another account and profile.

And it looks great, just like on wordpress.com bloogs:

But, users already have problems activating it, even if other commenting plugins were working before.

Problem is that most themes, changed way of commenting by adding custom commenting form instead of WordPress comment_form() function.

What to do?

So if you want to fix it by yourself there is a way, you just need to know little php, and not even to program in it just to recognize this comment form code in your theme.

But first, WARNING don’t do this if you are not sure what you are doing, and always backup your site before using any of this!!!

First go to your Dashboard – Appearance – Editor
This is editor for your theme files, on the right side you will see list of files that you can chose to edit.
Find comments.php and select it

Now hard part! You need to find comment <form> and </form> tags, and to select all of the lines betwen them, including <form> and </form>

For my theme was like this:

<form action=”<?php echo get_option(‘siteurl’); ?>/wp-comments-post.php” method=”post” id=”commentform”>
……
</form>

Copy all that lines and save somewere on your system, just in case you wont to return to previous state (And DO NOT forget to backup your site before all of this)

Now delete that lines and replace them with just this one line:

<?php comment_form(); ?>

Now click on update file button and go to your theme and check if is working.

Great you DID IT, you mastered replacing custom commenting form with WordPress default one.

If by any case you mess something,  mostly bad selection of <form> </form> you need to return all lines that you saved, or in extreamly bad cases recover your site from backup (don’t be scared this happens only if you play to much with code, and you don’t need it in this case)

PS just one more hint you can choose 3 themes for Jetpack comments go to Dashboard – Settings – Discussions and pick:

  • Light
  • Dark
  • Transparent

Have fun with your new Commenting system!

UPDATE:
Please consider rating this great JetPack plugin, Matt posted on JetPack blog call for help. Please give them rating they deserve – rate it now!