• Resolved xbloggerx

    (@xbloggerx)


    Hi, i currently use the lastest version of MU wordpress. My website is online but my visitor cannot upload her content. Can you help me?
    my server:
    CORE2 Duo E7400 2.8GHz

    RAM
    4096 MB

    HDD
    2x 2 TB SATA

    BANDWIDTH INCLUDED
    750.00 Mbit/s per Mon.

    CPANEL!!!!!!!! this is the problem!!
    When i try to uploading something. i see a X on my image but my image is in my FTP…. So i need your help PLEASEEEEEEEEEEEE

    thank you very much for your help…
    when i fix this, my website is ready 2 use…

    Best regards,

    Martin
    XbloggerX.com

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

    (@xbloggerx)

    ho i forget to say my wp-content/blogs.dir/ is 775
    i cannot set 777 because i have a 500 error

    Well you gave lots of detail, but not the ones we need. ??

    What error does the user receive?
    Can you give us a link to her blog?

    Can you clarify if you’re using 3.0 or if you upgraded from wordpressmu?

    Thread Starter xbloggerx

    (@xbloggerx)

    My version is a fresh new installation from
    https://mu.www.ads-software.com/download/
    2.9.2

    and this is what i see when i upload images or any file.

    (NSFW) https://www.silverstar-industry.com/error.jpg

    thank you very much

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You can upgrade WPMU 2.9.2 to WordPress 3.0 with Multisite (IIRC you can just upgrade via the built in upgrade feature).

    Can you right click on the broken image icon and grab the path of the image? Verify if it’s there.

    Also, verify if the file is created in blogs.dir.

    Thread Starter xbloggerx

    (@xbloggerx)

    here is a exemple of my file uploaded folder
    (right click on image, proprity)

    (NSFW) https://xbloggerx.com/files/2010/07/xporn-150×150.jpg
    (used the main account)

    Thread Starter xbloggerx

    (@xbloggerx)

    i have the 3.0 sorry… ??

    NSFW links, great. ??

    As noted in another thread, your .htaccess file needs to be correct.

    Thread Starter xbloggerx

    (@xbloggerx)

    i dont find the other thread… too many tread on this forum lol

    Thread Starter xbloggerx

    (@xbloggerx)

    my .htaccess of my root folder (xbloggerx.com)

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.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>

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Thank you for the NSFW warning, Andrea. I work for a corporation who frowns on that stuff ??

    Are you using Subdomains or Subfolders?

    You get a slightly different .htaccess depending on which one

    Could someone put the NSFW warning by the links please? Further down the page doesn’t do a whole lot of good. Librarians like their rulers.

    thanks

    was just getting to it. ??

    Thread Starter xbloggerx

    (@xbloggerx)

    Hi, i use subdomain
    sorry for the content posted

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    if you’re on 3.0, you skipped the step to correct your .htaccess.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    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]
    </IfModule>
    # END WordPress

    Ipstenu, if your host suddenly disables mod_rewrite, your WordPress install is going to fail. The IfModule part should be kept separate from the rest. Either way, xbloggerx’s htaccess is fine, with the exception of not having done the following:

    1) delete wp-content/blogs.php
    2) Change this line in your .htaccess
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    To this:
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    The above changes apply to WordPress 3.0 only.

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Problem with uploading media’ is closed to new replies.