• Hey there,

    I’m new and not particularly good with code, being an artist… anyway, until recently WordPress was doing a fine job of showing my background/header images on my as-yet unfinished (when I find the time, it will be) website https://www.bowendesign.com . Except now, for some reason, it doesn’t display the header image (or the bg image, except I’ve taken it down to do some work on it).

    As you can see it gets a 404 error and a broken image display. Thing is, I’ve checked all permissions on my webhost server and they’re all 755 as you’d expect, so it’s not a permission issue as far as I can see. The images DO get uploaded, and I can download them using Filezilla. Only thing is using my webhost’s filemanager they also appear broken…

    Any ideas? Thanks in advance. ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter bowendesign

    (@bowendesign)

    Hahaaa. If all else fails check the sticky. I’ve been banging my head against my desk for ages, and there it is.

    In case a google search (which is how I found out the solution) brings you to this entry then follow the below –

    6. mod_security might be causing problems. Disable it to see if that is the problem. To do this, make an .htaccess file in your wp-admin directory. Add this to it:

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    That will disable mod_security for the upload file receiving code in the wp-admin directory.

    FOR THE NONE TECHY – what this means is create a notepad .txt file on your desktop, call it something like access.htaccess, copy/paste the above and stick it in your public_html folder (or root directory).

    I had to figure it out myself, so hopefully I’ll save some poor soul the trouble if you find your way. ??

    Thread Starter bowendesign

    (@bowendesign)

    Bummer, I fixed it, updated something and it’s done it again. Ideas?

    edit – I may have been fooled into thinking I’d fixed it by my browser cache or something… Basically on the header upload the image appeared again, then on looking at the site on the same tab the image was retained. New or reloaded tabs outside of linking from the upload form is greeted with blank white canvas… anyway, no more posts unless someone responds/I fix it, promise! ??

    Thread Starter bowendesign

    (@bowendesign)

    Tried everything last night to no avail. This is actually affecting my business if I can’t show images on the w/p site, so if anyone has a clue, please do say. Many thanks.

    Visiting https://bowendesign.com is displaying the issues you are talking about however visiting https://bowendesign.hosting5.idnet.net/ works perfectly and displays your image on all of the pages for me.

    If you go into the General page under the Settings menu what is it showing for the WordPress address and Site address?

    Thread Starter bowendesign

    (@bowendesign)

    Both WordPress and site address are the idnet address.

    However I just changed it to https://www.bowendesign.com to no avail? :/

    (many thanks for the help btw)

    Its showing the image for me now when visiting the .com version of the site. Is this what you were wanting or am I missing something?

    Thread Starter bowendesign

    (@bowendesign)

    It’s not showing my end, even when clearing the caché. Weird. Give me five mins to see if I can clear this up… and thank again…

    Thread Starter bowendesign

    (@bowendesign)

    Nope, nothing, cleared caché, cookies, the lot, nothing in either IE or Firefox. :/ I can’t figure it out!

    edit – unless it’s my personal firewall settings, which would be hilarious if so.

    The message I get when trying to view the header is –

    “Forbidden

    You don’t have permission to access /wp-content/uploads/2011/01/header1.jpg on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Hmm yeah, I just visited the .com version and the image is gone once again. So visited the .net one I had mentioned and it shows the header image on the main page.

    If you navigate to other pages it loads on the .com from the .net yet still displays the header image until you refresh the page and then it disappears.

    Did the WordPress address somehow change back to the .net address in the General settings page?

    Thread Starter bowendesign

    (@bowendesign)

    No, it’s still Bowendesign.com I’m afraid… I think the cache saves the image in memory and the header traces to the same address which is why it’s been fooling me that I’ve fixed it occasionally.

    I’ve pretty much tried every workaround fix I’ve found on these forums now and none of them work so it could be a hosting problem. Thing is the permissions are viable so I’ve no idea why it would be blocked? Even under my file editor the images don’t show up but if I pull them off the server they’re fine.

    edit – WEIRD. OK, I resaved Bowendesign.com again on the general settings, and the first time I visited it, BANG, the image was there, then on reload it was gone. This must be something to do with the servers security settings.

    Yeah, I would imagine it is something to do with your host. Get in touch with them and see what they have to say ??

    Thread Starter bowendesign

    (@bowendesign)

    Thanks Jarret, really much appreciated. ?? It’s frustrating being an artist with no way to show your art! Heheh.

    If you do get it figured out and was a hosting issue let me know ??

    Thread Starter bowendesign

    (@bowendesign)

    Don’t worry, if it gets solved I’ll post the solution! Nothing worse than following links from google to a forum thread that closes with a “yay I’ve done it” without how, or if it’s too complex for the average internet nerd. ??

    Thread Starter bowendesign

    (@bowendesign)

    Yo! It was an .htaccess file issue. I’m trying to wheedle out what it was from my excellent hosts at idnet. If I do, I’ll post it, and consider the issue resolved (don’t lock until I know what it is mods, if you can! Cheers! ?? ).

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘HeaderBG images uploading broken’ is closed to new replies.