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 |3 Answers
Reset to default 1Have 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
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