WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Says Image Uploaded, But Image is Broken/Not there in FTP (35 posts)

  1. luminousnerd
    Member
    Posted 5 years ago #

    I am having issues uploading images to my blog. Here's what I do:

    -Upload the image (via the flash or web uploader, makes no difference)

    -The image appears as a question mark.

    -In FTP, I look in the place where it says the image is (wp-content/uploads) and the image is not there.

    Originally, I couldn't even upload, which I fixed by changing some permissions and adding the /uploads directory.

    This is mostly a default installation, only thing I have modified is the theme, and I removed some "aria-required" tags in the comments.php for now until they become valid code. If it helps, here's my blog: http://www.whywaitwebs.com/blog/

    Thanks for your help in advance.

  2. luminousnerd
    Member
    Posted 5 years ago #

    Anyone have any ideas?

    Thanks
    Jt

  3. luminousnerd
    Member
    Posted 5 years ago #

    If anyone could provide me a means of fixing this problem I would be grateful. If I can't figure it out, then where to I go? Do I need to pay someone to fix it?

    I have to get this working.

  4. iridiax
    Member
    Posted 5 years ago #

    Have you tried the URL of one of these images in your web browser to see if it loads? Are you using absolute URLs (those beginning with http)? Relative image URLs do not work.

    I don't know if it's related, but you are having permalinks problems. Verify your permalinks settings and then click Save Changes even if you haven't changed anything.

  5. luminousnerd
    Member
    Posted 5 years ago #

    iridiax - The URL needless to say does not load. And as I said, can't see it in FTP so it hasn't actually uploaded the image. Therein lies the problem.

    And what issues are you seeing with the permalinks? I was having issues but I got it all together and thought they were fixed. Hitting save changes on that page doesn't work anyway unless I paint a big target that says "hack me" on my .htaccess

    I am using THE WP SYSTEM. There's no URL involved, at this point, it automatically puts in a full URL so how could I be using a relative URL? The problem is it's not uploading the image at all.

  6. iridiax
    Member
    Posted 5 years ago #

    And what issues are you seeing with the permalinks?

    Sometimes your links load as pretty, default ugly, or generate a "Sorry, no posts matched your criteria" error.

  7. luminousnerd
    Member
    Posted 5 years ago #

    Hmm, I don't get that at all, I've refreshed the page quite a lot trying to find it.

    Are you using the little "Popular" thing on the right? I think that thing is just glitching out right now because there's not enough posts to fill it up.

  8. iridiax
    Member
    Posted 5 years ago #

    Are you using the little "Popular" thing on the right? I think that thing is just glitching out right now because there's not enough posts to fill it up.

    Yeah, that might be it, although I've never heard of this kind of plugin messing up permalinks. I'd recommend trying a different plugin for this.

    If you are having ftp issues, your permissions may still be wrong, your ftp settings/password/upload directory incorrect, your ftp program is having problems, your web host is having problems, or you are out of web hosting disk space. Does any ftp work to your site currently?

  9. Doodlebee
    Member
    Posted 5 years ago #

    what kind of images are you uploading? Do they have extensions? Have you deactivated all of your plugins to see if somethign there is messing it up? Have you reverted to the default theme? (If it works after activating default, then probably something in your functions.php file is screwing things up)

  10. luminousnerd
    Member
    Posted 5 years ago #

    iridiax FTP works fine. I just can't upload with the WP interface. And I have plenty of disk space.

    Doodlebee: I've tried both PNG and JPG. Exported with Photoshop as most of my other images. And I don't have a functions.php so it's using the default.

  11. Doodlebee
    Member
    Posted 5 years ago #

    >>I just can't upload with the WP interface.<<

    Now that's interesting. i think I missed you mentioning this before. What's happening when you try to use the WP interface?

    And I dont' think it's right to say the images aren't uploading at all (or whatever) - what's funny is, they're there, but the extension only. Meaning, where it should say "sitename.com/images/pic.jpg" it's referring to "sitename.com/images/.jpg" - the filename is actually missing. This makes me wonder if you're using some kind of script or plugin hat's supposed to be dynamically pull in the filename based on something else, while the script itself supplies the rest of the path. That's what it looks like is what's happening to me - because when you manually put in the path to the file, you don't forget the filename.

    I'd say you need to check that script, because it's not pulling in the name. The path and extension, yes - but the name is not being called in correctly.

  12. luminousnerd
    Member
    Posted 5 years ago #

    I'm pretty sure it's not uploading them at all. There's nothing in that folder, when I look in FTP.

    I just disabled every single plugin, but the problem still occurs.

  13. Doodlebee
    Member
    Posted 5 years ago #

    Okay. I'm seriously confused.

    The images are there on the home page. How did they get there? Did you use WP to upload them, or did you FTP them to your server yourself?

    Either way, the images ARE there - somewhere - otherwise they wouldn't show up on the index page.

    I'm not talking about the images now - I'm talking about *how* they are called into your site. As noted, they *are* showing up on your index page - which means that there's something wrong with *some* code *somewhere* that's calling them in. As I said, it *appears* you're using some kind of script in your theme files to call in the filename, but there has to be an error in it, because the filename isn't showing up (however the rest of the path *is* - including the .jpg extension).

    If it's not a plugin, then it must be something in the theme files. Without seeing code, there's no way to diagnose the problem. (And please, don't paste a bunch of code here on the forum - it's against the rules - use pastebin for that.)

    How are the images called into the post on the home page? Do you use a tag, or did you use the WP uploading system, or both? Are they links (like hotlinked from another site)?

  14. luminousnerd
    Member
    Posted 5 years ago #

    What images are there on the home page? There aren't any images in any of my posts...

  15. Doodlebee
    Member
    Posted 5 years ago #

    Whoops - sorry about that. I thought you were someone else (had the same issue). Either that, or you recently changed the Theme, because I could swear the one I looked at didn't look like this one. I *must* be thinking of someone else, because they had lots more content, too - sorry about the confusion. (I need more coffee in the morning, I swear.)

    Did you change the permissions on your uploads folder? I see iridax asked that, but you didn't answer it. That would be an issue as well.

  16. luminousnerd
    Member
    Posted 5 years ago #

    Hmm...yeah, I haven't really changed the theme since I installed it, other than minor changes. And I never had any posts with images.

    I did change the permissions, for the uploads folder. Not my .htaccess, but that should have nothing to do with it right?

  17. Doodlebee
    Member
    Posted 5 years ago #

    No, your .htaccess shouldn't have anything to do with it. Normally, you change the uploads folder to "777", then upload something, and then set the permissions back to "755", and that's all it takes. You're not getting an error message when you try to upload through WordPress? Does it go through the process like nothing's wrong? Will it insert the image into the post? or does it stop at some point?

    Do you have a link to a post or Page that is supposed ot have an image in it, but it's not showing up?

    Have you checked your server error logs to see what they say?

  18. luminousnerd
    Member
    Posted 5 years ago #

    Nope, no error, it just goes through everything normally, and it will insert into the post and everything like nothing's wrong. The image is just broken.

    I don't know if you can see this without being logged in?
    http://www.whywaitwebs.com/blog/?p=48&preview=true

    But there's really nothing to look at. It just shows up as a broken image as one might expect.

    I would have no idea what to look for in error logs (or where to find them, in fact). However I'm fairly certain nothing's wrong on the server side, it's WP that's failing to upload the image? Anyway I will try to get ahold of those logs and see if I notice anything.

  19. Doodlebee
    Member
    Posted 5 years ago #

    Nope, I can't see that page without being logged in. (Is this where it's showing up broken fr you - on your previews? If so - it's probably just because it's a preview.) If you can *publish* a page with an image, and then show me that link, maybe I can see what's up.

    *if* it's WP that's failing, there should be an error in the logs. You need to log into your hosts control panel, or FTP into your server, and get the error logs. Every host has a different way to manage those, so you'll have to go in and look around, or ask your host where they are.

  20. luminousnerd
    Member
    Posted 5 years ago #

    It's broken everywhere, the image never gets uploaded in the first place. The problem is not in the display, or permissions... it is that WP fails to upload the image.

    Besides that it's an absolute URL, there is no reason why it wouldn't appear correctly on previews.

    If I do publish a page with an image, here's what you will see:
    <img src="http://www.whywaitwebs.com/wp-content/uploads/someimage.jpg" alt="Some Image">

    And someimage.jpg won't exist.

  21. iridiax
    Member
    Posted 5 years ago #

    Did you contact your host?

  22. Doodlebee
    Member
    Posted 5 years ago #

    Well, without seeing the error logs (or knowing what they say), there's really not much we can tell you. You'll have to take a look at those and see what's going on. The only other suggestion I can offer (aside what iridiax asked) is to download fresh files and re-install. Anything else is just a shot in the dark

  23. colvard
    Member
    Posted 5 years ago #

    Hey luminous, I have the exact same problem. Everything seemingly uploads fine through WP Admin. The tool spits out the absolute path, but when I put it into the post and try to link to the image, it's broken. Why? because no image was actually uploaded to the server.

    It would be fine for me to just do it the clunky way. But this site is for a client and I have to have it fixed. Did you ever get this figured out?

    Thanks so much in advance.

    _j

  24. colvard
    Member
    Posted 5 years ago #

    Just to clarify, the clunky way being upload image through ftp. Then go into WP and write the direct path to the image.

    BTW, just a thought, you're not using an altered version of the tropicala theme are you?

    _j

  25. colvard
    Member
    Posted 5 years ago #

    OH! Just realized something. luminous, did you move WordPress around on your server? Because I did. I switched directories and moved all of the files from one place to another. I just noticed that the images ARE uploading. They are just going to the old wp-content location.

    Unfortunately I still have no idea where to go to fix this. Any help, would be greatly appreciated.

    Thanks!

    _j

  26. luminousnerd
    Member
    Posted 5 years ago #

    I have not moved my WordPress install away from the directory it was originally installed to like you colvard. And they are not getting uploaded anywhere on my server, I have looked in every possible folder.

    I managed to get ahold of my access and error logs. The error log does not log anything at all. The access log shows what I imagine is completely unhelpful, but I'll post it just in case

    http://pastebin.com/m30edc6a1

    I'm getting sick of dealing with this. If you don't know what's up with this, maybe you could suggest a reputable company that I can pay to fix it and have done with it???

    Thanks for all the help, I do appreciate it.

  27. mosquitone
    Member
    Posted 5 years ago #

    I have the same (or similar) problem. The image upload process ends correctly, but once aparenly uploaded, theres only a blank image with the name of the picture displayed (even in the mediabrowser). When i connect via ftp to the upolads folder, in fact, there is no image uploaded.
    Strange, and i don't no why, but sometimes the upload works fine... for a while (or sometimes only for one image). And no, i dont get any error message. Just blank images.
    I tried to make a new "Clean" installation of WordPress, without any plugin activated, but still the same issue.

    Someone has any idea what could happen? Solution?

  28. luminousnerd
    Member
    Posted 5 years ago #

    Mosquitone, that does sound like exactly my problem. Even with no plugins or anything, it still happens, which leads me to be very confused, I can't think of anything that could cause this.

  29. luminousnerd
    Member
    Posted 5 years ago #

    I would really, really like to start posting content. I can't do that until I have images. Can I please get a suggestion, at the very least if you can't help me, point me to someone who can (even if it's for a fee)?

    Please, I really need to get this thing going. It's killing me that I STILL haven't blogged!

  30. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    Forum Section F: for paid work WP-Pro mailing list which you are encouraged to use.
    http://lists.automattic.com/mailman/listinfo/wp-pro

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.