Forums

Is it me, WordPress or my host? (Image upload problem) (8 posts)

  1. intellivision
    Member
    Posted 1 year ago #

    Fresh 2.3.3 install. Fresh db.

    Run the installer, log in, Write Post and upload an image.

    BZZZZ! The uploaded file could not be moved to /var/www/vhosts/domain.com/httpdocs/w3/wp-content.

    wp-content is 755, owner is my user.

    Does this look like a host issue? I retreated to 2.3.3 from 2.5.1 for image upload problems, thinking it was 2.5.1. But now I'm thinking it's my server security. I have a $65/month fancy virtual private server, and root access. This should not happen, correct?

  2. kmessinger
    Member
    Posted 1 year ago #

    Make a folder just for images and make it 777. Try to FTP an image to confirm that works.

  3. intellivision
    Member
    Posted 1 year ago #

    I can FTP to wp-content at its current 755. After all, it was created (as were all the other WP files) as my user.

  4. intellivision
    Member
    Posted 1 year ago #

    Anyone else have any thoughts?

  5. kmessinger
    Member
    Posted 1 year ago #

    Some of your permissions not correct but I suppose you know that.

    Does your htaccess file turn off mod security?

    This is mine for example

    <IfModule mod_rewrite.c>
    <files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    SecFilterInheritance Off
    </files>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Also check this out http://wordpress.org/support/topic/171175?replies=3

  6. JesseG5
    Member
    Posted 1 year ago #

    Hi guys, I am running into the same problem when I try and insert images into posts. (2.5) Apparently this is becoming a big problem here at wordpress.

    I have 1 question and 1 thought.

    1. The htaccess file... I can create the file using a txt edit program? What file extension must it be saved as? Where exactly does it go?

    2. Now this is just a thought I have... Could this image problem in posts be a result of the fact that the post is cut off with [...]

    I think so.....

  7. kmessinger
    Member
    Posted 1 year ago #

    Questions - Yes, .htaccess, root.

    Also read this http://wordpress.org/support/topic/164999?replies=1 which is a sticky at the top of the How to and trouble shooting section.

  8. intellivision
    Member
    Posted 1 year ago #

    Thanks kmessinger. I found out that part of my problem was a very strange, rare one: auto_increment was reset to 0 for every table after backing up/restoring the db. It was causing more problems than just this, BTW.

    Jesse, create the .htaccess file on the server. You can do this with any FTP client. If you do it on your Mac, it will immediately be hidden from you. Any files that begin with a dot are hidden in Mac OS X.

Topic Closed

This topic has been closed to new replies.

About this Topic