• Hello once more

    There is a problem when I upload an image it want show a thumbnail and the link you get to the image want work. It say it can find it, so i thought i look at the FTP and i find the picture but i can not link to so i can not use it. So what to do?

    If i go to the Media Library and then wive the image it will show it like this
    /Jesper C

Viewing 14 replies - 1 through 14 (of 14 total)
  • This actually sounds like a permission problem. Check to see if your permissions are set in that folder to 755 or 777. Make sure the image is set up like that as well.

    Thread Starter Ansay

    (@ansay)

    done that and they are all 777 and still it want show the image :/

    ok, I’m not an expert but heres my opinion;)
    your image is this: https://firefly.wordofmy.com/files/2010/11/02002_theopallake_1440x900.jpg

    But, is that where your image is uploaded at? If you have the image saved in that exact location, w/ correct permissions – then it should appear via that link. I have never had a problem just viewing an image before, unless the link was written incorrectly, or the permissions were bad.

    with that being said, maybe you contact host support?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If the image is there and permissions are okay, what’s in your .htaccess file?

    Thread Starter Ansay

    (@ansay)

    mymorningstory.

    wp-content/blogs.dir/56/files/2010/11/02002_theopallake_1440x900.jpg
    it the patch way on the ftp.
    i will contact them then if you think that is what need to be done

    ipstenu.

    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    That what′s in it

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, It looks like you were running WPMU. I would replace that with this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond?%{REQUEST_FILENAME} -f [OR]
    RewriteCond?%{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Thread Starter Ansay

    (@ansay)

    Done it and it want to show my image :(. Should i reinstall WordPress? if so how do i export all the blogs that are online now ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Is this happening on all blogs or just one?

    Thread Starter Ansay

    (@ansay)

    all of them

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, a direct link works so we know the images are there.

    https://firefly.wordofmy.com/wp-content/blogs.dir/56/files/2010/11/02002_theopallake_1440x900.jpg

    However if I try to manually use the ms-files link it doesn’t work. First make sure that the ms-files.php file is there in the WP-includes folder. If so … Can you check if mod-rewrite is fully enabled on your server? Most of the time in this situation, that’s the problem.

    Thread Starter Ansay

    (@ansay)

    ms-files.php is in WP-includes, dose it have to do whit that I had WPMU before WPMS? When i updated it want me too change form blogs.php too wp-files.php in the .htaccess and delete the blogs.php file.

    For mod_rewrite i did this test https://wordofmy.com/rewrite.php

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Well .. I’m assuming it all worked on WPMU and broke after you upgraded (which, if so, is something you should always state in the beginning of your posts ?? it’s useful!).

    Most likely is you have an incomplete upgrade. Try reuploading all the wordpress 3.0.1 files.

    Thread Starter Ansay

    (@ansay)

    Okay sorry for that I did not think of it >_< so sorry for that but i will do that ??

    And double check the upgrade instructions.
    https://wpmututorials.com/how-to/upgrading-to-3-0/

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Image upload problem’ is closed to new replies.