• I had an issue with my hosting but it was resolved and my site is up adn working fine again.

    I’m not sure if its a coincidence or to do with them BUT…

    Now when I try uploading media to a post the thumbnail square you tick stays blank. I can add alt, description etc and post but when I view the blog there is no image just a link that is broken.

    If I try to view the image directly in a URL I get

    “Access Denied
    You are not allowed to see the page.

    If you have any queries about this error, please e-mail webmaster@this.domain.”

    However I can see the image file in the remote folder so its as if it HAS been upload successfully.

    Also if I just FTP up an image to that folder I can see it fine in a browser.

    This make me think it is a WordPress problem. The folder permissions are set to full.

Viewing 6 replies - 1 through 6 (of 6 total)
  • i think you are disallowing it through the .htcaccess . If you have played with it try checking it carefully . Secondly you can also ask hosting provider if they have revoked any directory access or something like that .

    Thread Starter xfade2013

    (@xfade2013)

    Hi kulwant2sin – Ive opened an enquiry with hosting waiting for call back.

    However can you elaborate about the ‘disallowing it through the .htcaccess’ please. Not sure what you mean by this.

    Many thanks,
    Will

    have you changed you database name or anything during your site restoration or you moved your site

    Thread Starter xfade2013

    (@xfade2013)

    not changed database name no, I did move the site from a folder to the root a week or so ago but I changed the url within admin WordPress.

    Is there something else I should check?

    Thread Starter xfade2013

    (@xfade2013)

    problem solved!!!

    here was the issue/fix

    The problem you are having with file permissions in WordPress Media Manager is caused by WordPress setting the incorrect default permissions when a file is uploaded and thumbnails created if it’s an image

    There is a plugin to resolve this (http://wordpress.org/extend/plugins/change-uploaded-file-permissions/), that has been patched by my colleague to work with all versions of WordPress, and the original author has now added this to the WordPress plugins codex correctly.

    To fix the permissions error:

    – log in to WordPress admin on your site
    – go to Plugins and search for “Change Uploaded File Permissions” and install and activate it
    – in the address bar, change the URL to /wp-admin/options.php
    – scroll down to the “Upload Path” option
    – set this to “wp-content/uploads” and save the changes.

    You should now be able to upload files correctly to your WordPress site.

    Thanks, xfade2013! That plugin worked like a charm!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘images uploading but not showing’ is closed to new replies.