WordPress.org

Ready to get started?Download WordPress

Forums

Media (29 posts)

  1. julienne
    Member
    Posted 11 months ago #

    Hi,

    Late last year I had a problem with media gallery Insrting Images into posts. I came to look for a solution but no one seemed to have any and the topic someone posted had since been closed so Its not just my WordPress that suffers the problem.

    The host of mine tried a few tests but found no problem from there, they came to the conclusion its a WordPress fault. TThe media works on two other sites.

    This year my Kynismar site suffered the same fate, Images won't upload from the media gallery so for that site I decided that the only way to get Images into posts was via the address from the host.

    The error on my Rovers site:

    brothercadfaelrose.jpg An error occurred in the upload. Please try again later.

    Now my Blackburn Rovers has also suffered the same fate, media not putting Images into posts.

    Thanks!

  2. Robin W
    Member
    Posted 11 months ago #

    Url of one of the sites, wrodpress version, theme name and where hosted, and presume you're loading from your PC?

  3. julienne
    Member
    Posted 11 months ago #

    What happened to the post, I add tag last now the flipping post vanishes..sigh,...

    http://katecorner.com/bluenwhite/

    Admired theme

    My wordpress' are always updated

    I upload any theme zips via Filezilla.

    My current version of WP, and the site is 3.6 and only a month old.

    Hosting has nothing to do with whats been happening to some sites since last year. Remember its not just mine its happening to.

  4. Robin W
    Member
    Posted 11 months ago #

    So what order do you do things in.

    1. Do you upload to media first, then create post then insert media?
    2. Or insert media in the post, and upload as part of that
    3. Did it work previously on this site?
    4. When did it stop, and what else was happening with the site any additional plugins/theme updates/wordpress updates?

    sorry for more questions, but need to understand a bit more first

  5. DaxCarlisle
    Member
    Posted 11 months ago #

    I've got the same issue. I've tried all the "fixes" when this happened in previous upgrades - turning off all plugins, clearing the caches on my browser and site, etc. This isn't happening on my other site, which I still haven't upgraded to 3.6

  6. Andrew
    Forum Moderator
    Posted 11 months ago #

    @DaxCarlisle, you can create your own thread to discuss your own issue.

  7. DaxCarlisle
    Member
    Posted 11 months ago #

    Yes, but it's the SAME issue! And I am not the only one having this problem apparently. I've spent half a day searching for answers. This is the NEWEST thread about people not being able to insert images into posts and pages. It doesn't make sense to create a dozen threads on this - how about we actually get solutions, so others (like me) can find them.....

  8. Andrew
    Forum Moderator
    Posted 11 months ago #

    To discuss your own issue you create a thread about it. That's how these forums work. If someone knows the answer or wants to run through some troubleshooting to get to the answer then that person can post in your thread.

    Likewise if you know the answer or want to troubleshoot the answer please do, otherwise don't post in someone else's thread. What good does saying that you have the same issue do?

    If you really do have the same issue then you do not need to post here at all, but instead watch this thread and follow the answers given to the original poster.

  9. DaxCarlisle
    Member
    Posted 11 months ago #

    Meanwhile, for those looking for a temporary work around, I am currently "manually" inserting the images, by going to the "Text" tab and using this code:

    <img class="alignright size-full wp-image-####" alt="Insert Alternative Text" src="http://YourWebsite.com/wp-content/uploads/2013/08/ImageName.jpg" width="###" height="###"/>

    You can upload images to Media and get the "wp image number" and URL from there.....

  10. DaxCarlisle
    Member
    Posted 11 months ago #

    Sorry, I am used to people posting in threads on the same issues in other forums. By saying "I have the same issue" it, #1 - let's the "powers that be" KNOW this is not an isolated issue, and they should work on "fixing" this in the next upgrade or patch - and - #2, it let's the person posting about the issue KNOW they are not alone, that it's not their fault, WP just screwed up another Update...........

  11. julienne
    Member
    Posted 11 months ago #

    Yes, but it's the SAME issue!

    Exactly.

    When I came looking some time ago there was this same issue but locked, there was no solution then and I could bet money these people with the same Issue don't get a solution this time either.

    No one had clicked 'resolved' yet the topic was closed.

    I even emailed Matt but got no reply let alone a solution.

    With every upgrade it gets worse. This week as well as media difficulties there was a problem when adding a new catagorie, publish was'nt working and when I added it to draft and then refreshed the new catagorie was added and I could publish by the publish button.

    Ok your questions.

    1. Do you upload to media first, then create post then insert media?

    (A) No. I write my post and where it relates to text I add media.

    2. Or insert media in the post, and upload as part of that.

    (A)I make my post add Images as I go then publish.

    3. Did it work previously on this site?

    (A) Yes.

    4. When did it stop, and what else was happening with the site any additional plugins/theme updates/wordpress updates?

    (A)I did say I take all the updates availble.
    Normally its just the media but this week the catagories were not loading, preview was'nt working till I put it into draft then refreshed.

    (A) No idea when it stopped, it just stopped and I have only two plugin and a script.

    I know for a fact some web designers on WordPress use plugin after plugin on their clients site so I cannot see where plugins make a site break down.

    sorry for more questions, but need to understand a bit more first.

    I don't mind a bit.

    Andrew, any normal site would have merged all the same problems into one untill it was a solution, this would keep a forum tidy. Its too easy to close a topic when there is no solution.

    I would like this to stay open, people add to it, their experiences untill a solution is found. Its useless to ask us to upgrade when the current one is a failure in some areas.

    We have tried to fix this with a phpini but it does'nt make any difference.

    The moderator has only chastised a member does he not have a solution?

    Thanks for trying to help Robin.

    OMG, this was happening five years ago, take care if you try any of those suggestions.


    I am not saying the writer is wrong but if you try any just backup first

    There is a post on media problem a year ago also.So it would seem there has been the media problem for some years now.

  12. Purab Kharat
    Member
    Posted 11 months ago #

    Did you checked the uploads folder permission on server. Set the uploads permission and that will fix your issue.

  13. Mike van Lohuizen
    Member
    Posted 11 months ago #

    Just my two cents on the statement that it's the same issue:

    The symptoms seem to be the same, the cause can be very different.

    I'll list the 4 causes of the faillure to insert images into posts that I've seen this week:

    1) webhosting space was full, preventing uploads
    2) Chrome browser on one mac did not work, did work on other mac.
    3) permissions on folders were reset by webhost
    4) plugin was conflicting with jquery
    etc etc.

    Remember: all had the complaint that there was a media problem and WordPress was broken.

    Please have some respect for the volunteer moderators who do their best to support everyone and produce a great free piece of software. (with which I and a lot of others make money)

    Meanwhile: have you tried a new install of wordpress, in a subfolder on the same host? Just the basic install, no plugins, no theme apart from the default WordPress theme.

    If a problem baffles me this is what I tend to do. It takes only 10-15 minutes and you have then eliminated a lot of variables.

  14. Samuel Wood (Otto)
    Tech Ninja
    Posted 11 months ago #

    Yes, but it's the SAME issue!

    No, it's the same symptom. Any one of a number of possible issues could cause the same results.

    Having many people post contradicting information just because the end results are the same makes it much harder to solve each of their problems. This is why we prefer each person make their own thread, to avoid this sort of cross-talk which just creates more confusion.

    @julienne:

    The message "An error occurred in the upload. Please try again later." is the default error message for an undefined upload error. It tries to check for things like zero byte files and size limits and invalid filetypes, but in the end, it can't check for all possible reasons, and sometimes the server doesn't even return a reason.

    Try to figure out what is special about these uploads. Can you upload small files, for example? ZIP files? Does it only fail on large images (not large in filesize, but large in dimensions)? If it "used to work" and nothing changed, then it still must work. So either something changed, or something is different about what you're uploading, or something else.

    But regardless, a generic error message isn't enough information to go on to help you solve the problem.

    Also, I'm sorry, but "Hosting has nothing to do with whats been happening to some sites since last year." is completely incorrect. Hosting has *everything* to do with file uploads. Every host, every server, every configuration is unique. Ultimately, WordPress doesn't actually do any part of the "uploading". The webserver and the browser do the uploading, and WordPress just handles the results. The fact that the problem can exist in many forms and many places doesn't make the problem the same everywhere.

  15. Robin W
    Member
    Posted 11 months ago #

    Ok so back on the Op's issue

    You say that you only upload media during the creation of a post.

    can you try using dashboard>media>ad new and let us know if the same error comes up?

  16. RRetreat
    Member
    Posted 11 months ago #

    Could be completely irrelevant to your problem but I had problems uploading media & it turned out to be a browser issue. What I couldn't do using Internet Explorer worked perfectly fine with Firefox, even though previously it had worked with IE.

  17. julienne
    Member
    Posted 11 months ago #

    @Samuel Wood; is the default error message for an undefined upload error.

    Yes, thats true.

    As you know Samuel we have three sizes, I am presuming we can change the default size after install?

    My Images are usually 480x 300, never ever a zip unless its a theme through dashboard, then we can only upload a zip. 9/10 I use FTP filezilla.

    We can happily be posting with Images then suddenly it will not upload...end of. I have no idea when my trouble first began, first of my sites to have this trouble was my dog site, her site was running very well from 2008 till till 2011. Nothing changed, I had always used plugin of one sort, and only one, alaways used the same us.mungus visitor map. What was the new version for the year 2011 because thats when it broke my Install.

    I know of one person who has gone back to 3.5.2 to get themselves out of version troubles.
    I'm sorry but if a brand new site fails after just a month then something is seriously wrong with the software.

    Right summing up; I will upload some images to the gallery first before I create a post.

    I am asking my host to Install a new install manually to see if its the auto Installer.

    Its going to take some hours for my host as he is a different time zone, please try to leave this open till at least the end of today.

    From some tests by host

    Unfortunately this error does not seem to be related to server. I have tested this by checking different settings on server. Logs are not showing any errors. Following are the tests that I performed.

    1. Checked php as well Apache error logs, but there are no errors.
    2. Tried setting the memory limit for all the folders and subfolders as sometimes setting the memory limit in "public_html" will not affect the sub-folders.
    3. Verified the permissions and ownership for uploads directory and its fine.
    4. Tried the fix as mentioned at http://wordpress.org/support/topic/unable-to-insert-images-in-wp-version-35 by "JoseVega" (Adding define('CONCATENATE_SCRIPTS', false ); in wp-config.php file just before require_once(ABSPATH . 'wp-settings.php'); ). This is not working in our case.
    5. Tried disabling the suhosin module on server because normally this module limit the script activities.

    I have researched about this error and could see that this is a common error in wordpress 3.5.x versions. Did she upgrade wordpress recently?

    While going through similar issues, I can see that there is not a particular fix for this error. Some are able to fix the error by switching to default theme, some by disabling plugins and some others by reinstalling wordpress.

    By the way; these people did not get told off for 'having the same problem ill after it was resolved.

    http://wordpress.org/support/topic/unable-to-insert-images-in-wp-version-35

    To you its a symptom, to us its a problem.

    Thanks for your time. And I do respect anyone who tries to help.

  18. Mike van Lohuizen
    Member
    Posted 11 months ago #

    @Julienne ofcourse its a problem and we're here to help.

    when a moderator mentions to a member that it's forum policy to create new topics for new issues/incidents, then the member is not being told off, just told to conform to forum policy.

    Lets agree to disagree.

    Back to the problem:
    Did you mention that sometimes uploading works and sometimes it doesnt and then it works again? On the same install without any updates?

    If that is the case, have you been able to upload and insert images since you created this topic?

    Have you activated wp_debug in wp_config and checked the logging?

    http://codex.wordpress.org/Debugging_in_WordPress

    (if you do this on a live site: please restrict access to your site to only your ip-address with .htaccess)

  19. julienne
    Member
    Posted 11 months ago #

    @purab; Did you checked the uploads folder permission on server. Set the uploads permission and that will fix your issue.

    lol do you think my host has'nt tried things like that?

    <img class="alignright size-full wp-image-####" alt="Insert Alternative Text" src="http://YourWebsite.com/wp-content/uploads/2013/08/ImageName.jpg" width="###" height="###"/>

    That IS the code when its working.

    This used to be the code in 2008 when the dog site was installed

    <p align="center"><img border="2" width="500" src="http://www.jungaling.com/bichimgs/cashorse.jpg" alt="My Whiteghost and his trick" height="295" /></p>

    If we make a post, then try to add an Image by clicking media, not 'add media' to take the image from the gallery then we get a message 'do we want to leave the page'.

    I think its far easier to upload and grab the address for myself.But I will wait to hear from the host on a manual Install and see if its the auto Installer.

    I can also try different browsers on the two sites that don't work.

    If that what we next try fails then I need to rethink what software I want my sites on because it will be a fault within WordPress versions. Its where most seem to have the media problem.

    It may be I will have to wait some time once the new Install goes in, months possibly.

  20. Mike van Lohuizen
    Member
    Posted 11 months ago #

    @julienne

    If we make a post, then try to add an Image by clicking media, not 'add media' to take the image from the gallery then we get a message 'do we want to leave the page'.

    The advice robin W was giving you is: have you tried to login to your site. Then from your dashboard go to media > add new and upload an image.

    Then after you have uploaded the image (if it works), create a new post. Click add media, look for the uploaded image and insert it.

    We're trying to find out if uploading problems just occur when you upload from within a post. Or if it also happens if you upload from the media menu.

  21. Mike van Lohuizen
    Member
    Posted 11 months ago #

    @julienne

    @purab asked you;

    Did you checked the uploads folder permission on server. Set the uploads permission and that will fix your issue.

    You answered:

    lol do you think my host has'nt tried things like that?

    We don't know what your host has or has not checked. Laughing at a member for trying to suggest a possible solution is very impolite and will prevent others from suggesting a solution.

    As far as I'm concerned there are no stupid questions, and there are no stupid answers.

    If this is frustrating to you feel free to contract a local WordPress developer who I'm sure will be happy to provide paid support (with access to your website)

    If you decide to activate wp_debug, I'd be very interested in the log created while the upload error occurs.

  22. julienne
    Member
    Posted 11 months ago #

    Mike, the logs have already been looked at, there are no errors. They did certain tests and nothing came up.

    1. Checked php as well Apache error logs, but there are no errors.
    2. Tried setting the memory limit for all the folders and subfolders as sometimes setting the memory limit in "public_html" will not affect the sub-folders.
    3. Verified the permissions and ownership for uploads directory and its fine.
    4. Tried the fix as mentioned at http://wordpress.org/support/topic/unable-to-insert-images-in-wp-version-35 by "JoseVega" (Adding define('CONCATENATE_SCRIPTS', false ); in wp-config.php file just before require_once(ABSPATH . 'wp-settings.php'); ). This is not working in our case.
    5. Tried disabling the suhosin module on server because normally this module limit the script activities.

    I have researched about this error and could see that this is a common error in wordpress 3.5.x versions. Did she upgrade wordpress recently?
    An error occurred in the upload. Please try again later.

    Back to the problem:
    Did you mention that sometimes uploading works and sometimes it doesnt and then it works again? On the same install without any updates?

    If that is the case, have you been able to upload and insert images since you created this topic?

    Once the WordPress breaks it does'nt mend.Each time I make a post I try the media just in case it works again but it does'nt. This from minutes ago.

    An error occurred in the upload. Please try again later.

    It was a test so is now deleted.

    Anyway thanks to everyone, I do get frustrated especially when the problem never gets solved even with new Installs. Media works for so long then its broken, never to return.

    I still have to try a new Install when the host replies to my message at his site.

    I still have to try different browsers.

    I don't want to run WordPress bare boned for long, but it will get 6 months or till it breaks down..

  23. Mike van Lohuizen
    Member
    Posted 11 months ago #

    Ok, just to confirm that you activated wp_debug in wp-config.php and that when you got that media error there was no logging for that error.

    I would expect to have at least something logged. I've never had a clean/empty log while running wp_debug. If you really do have clean logs then it would be wise to have the host raise the error logging level.

    Don't just try other browsers, try a completely different computer, that has never accessed your site. (Thats probably not it, since the error seems to be server side, but just to eliminate)

  24. julienne
    Member
    Posted 11 months ago #

    They looked at everything, nothing came up.

    I don't have another computer.

    So is this it, another unresolved?

    There *has to be a reason why the software breaks down. It just might be WordPress at fault but no one will admit it. Other people have this problem as well..no its down to the coders to get it right with new versions.

    Each new version brings a new problem for someone.

    Still no solution after five years.

    I will continue for now to upload my own images by url which I know at least is successful.

    Waitng for host to agree a manual Install which I will agree a fee for the work.

    Try Chrome and Internet Explorer. If there are any success' on the three sites for the media I will return to let people know.

    I can't be fairer than that Mike.
    Thanks for your Imput.
    J

  25. Mike van Lohuizen
    Member
    Posted 11 months ago #

    @julienne

    Its unfortunate that you insist blaming WordPress.
    If it is a WordPress bug than we'll fix it. But first through carefull analysis we have to locate the error.

    Blaming WordPress requires proof. Saying they checked everything just isnt proof.
    A system administrator knows that if you checked everything and there is still an error, you didn't check everything.

    If the logs are clean then you raise the logging level.

    Tiust me, if we can prove it is WordPress nobody will have a problem admitting it.
    Thats why we have bugfixes and buglists

    You mention there are more people with this problem. With 18% of all websites running WordPress ofcourse there will be problems. But as I mentioned up till now everytime I encountered this issue there was a different cause. (Read posts above for at least 4 causes)

    Anyway there is more you can do as I mentioned before:

    Activate wp_debug try to upload an image and send us a link to the log file.
    Install new clean WordPress install in a sub directory (ten minutes work, tops) and check if problem occurs.

    If a clean install works, then trust me, it's not a WordPress error. If a clean install also does not work then it might be an incompability with your hosting company servers or settings.

    I'm dying to find out what is the cause.

  26. Robin W
    Member
    Posted 11 months ago #

    So is this it, another unresolved?

    It will be as you seem to be more intent on attacking people on here who give their time for free, than giving us the symptoms - YES Symptoms, that how a doctor works out what's wrong with a patient, along with carrying out some tests, just as doctors run tests to find out what is wrong - sorry but it does involve you doing some work rather than attacking us -

    That is how you get from a problem to a diagnosis, then to a fix, by looking at symptoms carrying out tests, and looking at details not generalisations.

    WordPress is developed for free, costs you nothing to have, and is supported for free by a community of volunteers - I come onto the forum and help where I can to give something back to the community, so that I don't just take. I do not expect abuse from people who seem to think they have a right to support and then attack those trying to help them.

    There are over 80 million wordpress websites. If there was "something is seriously wrong with the software" there would be more than a few people with this issue.

    As others have said, you keep saying this is a wordpress issue. Your website consists of :
    Lots of complex server stuff, inc. hardware, software, and operating systems
    Network - yes lost of network bits
    You PC - ever thought that maybe it is a problem with your end that is causing it? You have multiple sites, there are millions of websites, but just your PC.
    Wordpress core software - the stuff that runs wordpress
    Wordpress themes - the stuff that is individual to a set of sites
    Wordpress Plugins - stuff that adds functionality
    MySQL database - the stuff that holds your data
    Your directories, structure and permissions

    Yet you insist that it is wordpress core that is the issue.

    You state that other people have fixed this by changing themes and by removing plugins - so for these people it is not wordpress, but these add ons - yet you insist that it is wordpress.

    Ok tirade over, and I feel better for that

    Can you please carry out the tests you have been asked to do.

    1. Firstly try adding a file just using dashboard>add media and then create a post and add the media from the media library. Does it produce the same result?
    This is to let us know if the issue is wider than just one within a post

    2. Can you tell us what the permission on your upload folder are?
    This is to confirm that these are at a level that would not prevent upload
    3. Have you tried a new install of wordpress, in a subfolder on the same host? Just the basic install, no plugins, no theme apart from the default WordPress theme.
    This will tell us if maybe your theme or plugins have an issue, or possible corruption of wordpress files. the answer to this will determine which of several routes to take next.

    4. Did she upgrade wordpress recently? when did you upgrade from 3.5.x to 3.6 or has this site always run on 3.6?
    this may help us to determine if an upgrade corruption is the issue
    5. Have you activated wp_debug, as people on here would be very interested in the log created while the upload error occurs
    Again this will help us diagnose possible areas
    6. Try Chrome and Internet Explorer
    This will help to se if this is browser related.

    Until you help us, and start to accept that ALL the people above want to resolve and stop attacking us and the software, we will get no further forward.

  27. julienne
    Member
    Posted 11 months ago #

    I am not attacking anyone,

    Maybe one day there will be a solution for all.

    Thankyou, again many thanks..many thanks.

  28. Robin W
    Member
    Posted 11 months ago #

    So you're not prepared to do any diagnostic tests then?

  29. julienne
    Member
    Posted 11 months ago #

    I decided to upload by url robin, thanks to everyone for their help.

    Its been a right ball ache due to the media not working, far easier to login to my host and grab the url.

    I hope one day someone will create a version where everything works as it supposed to.

    By the way; Internet Explorer was no different, the media wouldn't work in there either.

    Have a great day all.
    J

Reply

You must log in to post.

About this Topic

Tags