WordPress.org

Forums

Uploading images (4 posts)

  1. robin678
    Member
    Posted 9 years ago #

    i get this warning every time i try to post an image from the write section.

    "Warning: Wrong parameter count for mkdir() in /home/httpd/vhosts/kortej.com/httpdocs/wp-admin/admin-functions.php on line 1619
    Unable to create directory /home/httpd/vhosts/kortej.com/httpdocs/wp-content/uploads/2005/12. Is /home/httpd/vhosts/kortej.com/httpdocs/wp-content/uploads/2005 writable?"

    I gave the write permisions for the folders but still get this error. Can anyone help me please?

  2. masquerade
    Member
    Posted 9 years ago #

    Are you using a version of PHP prior to 4.2? in 4.2, parameters for mkdir changed, and mode became optional, my guess is that you are running a 4.1 version where two parameters to mkdir are required, and WP is only using one.

  3. knotty
    Member
    Posted 9 years ago #

    I had the same error too using php 4.3.11. I went into wp-content and made a uploads directory and it seems to work but not sure if doing it that way was correct.

  4. robin678
    Member
    Posted 9 years ago #

    Yes i am using php version 4.1.2 so what should i do with the parameters? Could you help me please?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags