• Resolved emptyragnarok

    (@emptyragnarok)


    Hello there! I upgraded to WP 3.3.1 two days back! before I Upgrade , everything was working fine.. but after Upgrade , whenever I try to insert any image inside wordpress Post , It actually doesn’t add it up! Also image uploader gets stuck on Crunching many times
    I have following plugins installed:

    Ad Injection : Version 1.2.0.7
    Disqus Comment System : 2.7.0
    FV Top Level Categories : 1.2
    Internal Link Building : 2.1
    Maintenance Mode : 5.4
    Related Posts via Categories : 1.1.1
    WordPress SEO: 1.1.2 ( Yoast SEO)
    Yoast Breadcrumbs : 0.8.5

    Please do you have any ideas? share with me! Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)
  • First, verify that your theme in use and the plugins above all note full compatability with WP 3.3.1.

    Thread Starter emptyragnarok

    (@emptyragnarok)

    What I feel for Theme is , Theme won’t affect , because my problem is at WYSIWYG editor , when i use INSERT/UPLOAD button , a pop up opens for Uploading , Gallery , URL etc . If I upload , it shows perfectly in Gallery, but if I select that image from galary and click on Insert into Post , it gives me the error! It does nothing actually!!! It won’t add image in my post :'(
    I try disabling all plugins and try .. I will let you know in few minutes!

    Thread Starter emptyragnarok

    (@emptyragnarok)

    Omg.. Can theme cause this problem?

    Thread Starter emptyragnarok

    (@emptyragnarok)

    SwansonPhotos thanks for help! theme is issue I suppose.. need to search for a new better theme now :'(

    Just test by switching to the latest twenty eleven theme and then look for support from your theme dev.

    Thread Starter emptyragnarok

    (@emptyragnarok)

    Yes Sir .. šŸ˜€

    Ok, so I too am having problems with uploading images to my site under the thesis theme using wordpress 3.3.1…not only that, but now there is a new submit button that says “submit review,” when I click this button, I get a message which says “are you sure you want to do this” with a try again link to click. When i click this, nothing happens. What is going on, so frustrated right now with WordPress. Please help… don’t know what else to do right now. Not even previous images I have uploaded to wordpress before will upload right now.

    Had this problem as well. Did my own child theme. Worked after going to functions.php

    function my_init_method() {
        // scripts here updates all areas including admin section. (which always creates problems.)
    }    
    
    add_action('init', 'my_init_method');

    if you have scripts loading in init. such as Jquery. (which i normally load from googleapis the newest version. You have to move it to not admin area like below. This will cause admin section to be void of new jquery sources.

    if ( !is_admin() ) { // instruction to only load if it is not the admin area
        wp_deregister_script( 'jquery' );
    
        wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
        wp_enqueue_script( 'jquery' );
    }

    I suspect its jquery incompatibility issue where admin section uses an older version of jquery.

    cheers. hope this helps
    Jimmy
    http://www.mirageglobe.com

    Thread Starter emptyragnarok

    (@emptyragnarok)

    mirage thanks for help bro .. but small request if you can help more.. `function my_js() { ?>
    <script type=”text/javascript” language=”javascript”>
    jQuery(document).ready(function() {

    jQuery(‘#upload_image_button’).click(function() {
    formfield = jQuery(‘#upload_image’).attr(‘name’);
    tb_show(”, ‘media-upload.php?type=image&TB_iframe=true’);
    return false;
    });

    window.send_to_editor = function(html) {
    imgurl = jQuery(‘img’, html).attr(‘src’);
    jQuery(‘#upload_image’).val(imgurl);
    tb_remove();
    }

    });
    </script>
    <?php }

    function my_admin_scripts() {
    wp_enqueue_script(‘media-upload’);
    wp_enqueue_script(‘thickbox’);
    add_action(‘admin_head’, ‘my_js’);
    }

    function my_admin_styles() {
    wp_enqueue_style(‘thickbox’);
    }

    if (is_admin()) {
    add_action(‘admin_print_scripts’, ‘my_admin_scripts’);
    add_action(‘admin_print_styles’, ‘my_admin_styles’);
    }`

    this is related code i mean i could find out this code must be related to adding that image to editor .. can you suggest where should i try changing it?

    Thread Starter emptyragnarok

    (@emptyragnarok)

    Sorry for messy code above.. code above post is not working 😐

    Thread Starter emptyragnarok

    (@emptyragnarok)

    I commented of the script and it worked xD the custom upload one i removed it! thanks for help guys!!

    fantastic. so its confirmed most likely a jquery library incompatibility issue.
    cheers.

    if you find that some plugins are not working. i suggest you wrap the code within the functions ..... { the random codessss.... }

    to like this.

    functions ..... {
    if ( !is_admin() ) {
    the random codessss....
    }
    }

    Mirageglobe: I also have had this problem since a while. I tried to add to functions.php the code you said
    ——-

    if ( !is_admin() ) { // instruction to only load if it is not the admin area
        wp_deregister_script( 'jquery' );
    
        wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
        wp_enqueue_script( 'jquery' );
    }

    ——-
    BUT it does not resolve my issue. Is there something you can help a little more…
    Thanks,
    Saku

    hi. its not really add. like my last post, try encapsulating sections of the code with !is_admin. this will prevent offending code from loading in admin area (which is where the uploader is)

    cheers. hope this helps
    Jimmy
    http://www.mirageglobe.com

    Hello guys

    I had the same problem, I updated all my sites to 3.3.1 and they all worked perfectly except for one. They all run with custom themes so I chekcked that along with all the plugins on the site that wasn’t working but nothing changed.

    I eventually checked the permissions and found that the wp-includes directory was set to 750 and when I changed it back to 755 it worked perfectly.

    I hope this helps somebody.

Viewing 15 replies - 1 through 15 (of 20 total)

The topic ‘Image Uploader Problem’ is closed to new replies.