最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

uploads - Insert images to post not working

programmeradmin1浏览0评论

I'm encountering an issue with wordpress 3.5.1 (french language). I can't insert images in posts/pages or whatever.

When i access the media library from the button "insert a media" (while editing a post), the media library is empty, so i can choose an already upload image to insert. If i upload an image from my computer, the image loads well (and get upload in the uploads directory), but when i insert it in the post, the media box close and the image don' insert.

On my local development environnement, all works fine, i've try all basic steps to identify the issue with no results. I wonder if it could be an issue from my web host.

Any ideas?

I'm encountering an issue with wordpress 3.5.1 (french language). I can't insert images in posts/pages or whatever.

When i access the media library from the button "insert a media" (while editing a post), the media library is empty, so i can choose an already upload image to insert. If i upload an image from my computer, the image loads well (and get upload in the uploads directory), but when i insert it in the post, the media box close and the image don' insert.

On my local development environnement, all works fine, i've try all basic steps to identify the issue with no results. I wonder if it could be an issue from my web host.

Any ideas?

Share Improve this question asked Mar 12, 2013 at 14:20 JoeyjoejoeJoeyjoejoe 2311 gold badge3 silver badges7 bronze badges 3
  • I'm having the same problem with the English language version too... and only very recently. Encountering it on both my local and live servers (so MU and not-MU). Just re-downloaded 3.5.1 from wordpress, disabled all plugins, including mu plugins, switched to default theme and still get Uncaught TypeError: Property 'scrollTo' of object [object global] is not a function in my console when I try to insert into post. Please post back here if you find a solution. I will do the same. – helgatheviking Commented Mar 22, 2013 at 12:33
  • FWIW- I just solved this for myself by disabling all of Chrome's browser extensions. For me, the Better Popup Blocker extension was preventing the insert into post from working correctly. – helgatheviking Commented Mar 22, 2013 at 15:10
  • I'm having the same issue. Uploading images into my media library works. However, when I click "Insert into Post" to embed an image in a post I am editing, the popup closes, and nothing happens. Console returns no errors or messages - nothing. Kind of spooky. I've perusing all over the internet for a solution, but I can't find one. PLEASE somebody solve this. Disabling plugins in Chrome does nothing for me. – David Faux Commented Apr 8, 2013 at 3:45
Add a comment  | 

3 Answers 3

Reset to default 1

Have you enabled debugging in wp-config.php

change define('WP_DEBUG', false); to define('WP_DEBUG', true);

This will cause WordPress and php to generate a lot more error messages.

With very little detail to go on, my first guess would be file permissions on the upload directory on your server.

Try to disable any plugins that may be interfering with it and also check if this occurs on a different browser.

I have this same issue (can upload fine, but not insert into post). It appears that for me I'm changing the location of my wp-content folder by using a combination of these config values:

define('WP_CONTENT_FOLDERNAME', 'media');
define('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME );
define('WP_CONTENT_URL', 'http://domain'.WP_CONTENT_FOLDERNAME); 
define('WP_PLUGIN_DIR', ABSPATH . WP_CONTENT_FOLDERNAME . '/plugins' );
define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');

By commenting these back out, all things return back to normal and I'm able to then 'insert into post' again. It may be related to this track bug, which I just commented on.. https://core.trac.wordpress/ticket/24143

发布评论

评论列表(0)

  1. 暂无评论