The MU forums have moved to WordPress.org

images apprear to be gone (8 posts)

  1. johanhorak
    Member
    Posted 14 years ago #

    Hi I have an mu site with a few blogs at http://ilocals.info
    like

    http://mrshiatsu.ilocals.info/
    http://portofcall.co.za
    http://coffeenews-4u.com

    I have the following problems:
    1) The header images disappeared
    2) I can re-upload the header images but they don't appear
    3) Images that I upload with next-gen gallery are showing but other individual images do not exist any more like on this page http://portofcall.co.za/photos/ scroll down to see the individual images

    The last time I upgraded was when 2.8.6 was released.
    Some of these sites above are more than 12 months old and other less than 2 months.
    Structurally I have not made any changes to my install as I am not inclined and had not reason to even attempt.
    I have asked hostgator if they can shed any light but no.

    Hope you can help me in the right direction.

  2. johanhorak
    Member
    Posted 14 years ago #

    Let me summarise
    I can not (re)-upload header images
    Why did they disappear?
    Why did the other individual images in blog post disappear.

    I did some more digging
    And found that one of the images that's not showing http://portofcall.co.za/files/2009/06/

    exist at my via my CPanel files at
    /public_html/ilocals/wp-content/blogs.dir/191/files/2009/06/imgp0359.jpg

    As well as the thumb nails.

  3. johanhorak
    Member
    Posted 14 years ago #

    Looks like I have a complicated problem ;-) Hostgator said that my rewrite rules. Here's there response. I hope it helps someone else because I have no idea what I need to do

    The problem was caused by some of your rewrite rules. The following rules have recently been added to the .htaccess file for your ilocals directory:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    It looks like these rewriterules are used by WPSuperCache. Did you recently add this plugin to your account? If you comment out its rewrite rules, your images load properly.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    Check to see if the .htaccess in the root folder still exists and it has what it needs.

  5. johanhorak
    Member
    Posted 14 years ago #

    Hi andrea_r Thanks

    The htaccess is as above and exists. I just checked.

  6. johanhorak
    Member
    Posted 14 years ago #

    Any idea of what I should do? Can I deleted it? And how should I create another?

  7. johanhorak
    Member
    Posted 14 years ago #

    Ok. I did what Hostgator support said and deleted all the rewrite rules associated with supercahe. The images are back where they belong. It would be nice to know what the cause for the error is as I would like to get WPSuperCache to work ;-)

  8. sleenmg
    Member
    Posted 14 years ago #

    This is interesting. I had the exact same problem with Hostgator. I finally got all of my images showing again by changing the .htaccess but now I'm having trouble with my subdomains which did work before. I have WPSupercache installed but not activated so I don't think that is the problem.

    Did you have any problems with your subdomains?

About this Topic

  • Started 14 years ago by johanhorak
  • Latest reply from sleenmg