• Hi

    Have deleted WordPress php completely using Softaculous on my hosting provider, and double checked no wp-XXX directories or files on the server via FTP. Databases all checked, deleted ok as well.

    New 3.2.1 install via Softaculous again, (it creates the wordpress install & the database) all working ok apart from images – can upload images ok, but no thumbnails shown anywhere. Full size images broken in posts.

    Physical files are appearing within FTP on upload. Within
    Media Library->click “Edit” on an image-> then click the “Edit image” button within the Edit Media Page – here I CAN see a thumbnail of the image. I can also turn it clockwise etc. But on saving and exiting can’t see it anywhere else.

    Any help much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gb_wordpress

    (@gb_wordpress)

    Also – from what I can see – it looks like a security/access issue – the URL with a demonstration of what’s happening is

    https://groritetrees.com.au/?p=1

    And the link to the image within the source on this page is

    https://groritetrees.com.au/wp-content/uploads/2011/08/aaron-concept2-300×246.jpg

    When I go directly to this link – I get a Forbidden error – and an additional “Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Permissions on WordPress is a very important issue . Read this article .

    So I’ve have spent three week moving 4 single site WP installation, into a network site with 4 blogs. While still on the development server using version 3.2.1 newly uploaded images presented fine on the page and thumbnails were visible. After migrating from the development domain to the production domain, newly uploaded image thumbnails and page media do not display. You can go to the media library and select “edit” to see the image though. The “crop” feature is not available you can manipulate the image orientation.
    This is a version 3.2.1 to 3.2.1 migration, all plugin off. The latest php-dg library is installed on the server,Fedora fc-12.

    Has anyone found a solution? Have I missed some obvious.

    some insight to troubleshoot:
    – define DB_DEBUG as true in wp-config.php
    – check your site error-logs
    – check if the image is too big to handle (in pixels and in megas)
    – check if the image is RGB (CMYK = not good)
    – folder permissions, as kostas123 pointed out
    – swap PHP 5.3 for 5.2 or vice-versa

    Thanks brasofilo –

    The problem appears to be apache is not rewriting the path to the directory. In the network installation this path “Site_URL/wp-content/blogs.dir/2/files/2011/10/some-file-name.png” gets rewritten to Site_URL/name-of-blog/files/YYYY/MM/some-file-name.png” I was under the impression the .htaccess file as defined in the network set up was there to ensure these paths were properly translates. However, this could be a apache config issue as I did have to create an Alias Directive for each of the blogs on the server. Unfortunately I’m not an expert with apache yet. The httpd error log indicate there is a path issue. There are virtual host on the server, any path to the web root “html/’ is requiring an alias. Apache 2.x, php 5.3, mysql 5.2. This was not a problem with 6 individual WP installation each in their own directory in web root. Still stumped!

    OK, BIG Brain fart on my end. The solution to my problem was: Adding the web root into a VitualHost Directive. This server hosts a couple of in-house web apps, a MediaWiki instance plus the WordPress MS instance. Adding the VH for the web root fixed it….once there is one virtual host everything is a virtual host…. duh.

    Hope this saves someone else a lot of frustration.

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