• i am using php version 4.1.2 on my hosting. i have this warning when i try to upload file. i have set the all persmisions that it needs for the folders. still doesnt work. please help me.

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

    This is the code on that line:

    // Make sure we have a monthly dir
    if ( ! file_exists( $pathym ) ) {
    line 1621>>>> if ( ! mkdir( $pathym ) )
    return array(‘error’ => “Unable to create directory $pathym. Is $pathy writable?”);
    @ chmod( $pathym, $dir_perms );

    can anyone solve this please? thnx

Viewing 2 replies - 1 through 2 (of 2 total)
  • “please help me.”

    You are using pre-release software.
    You should expect both bugs and different behaviour.

    I believe this is due to the php version you have.

    Thread Starter robin678

    (@robin678)

    i cant upgrade the php version. there should be a way to make the script work. Please help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘image upload error’ is closed to new replies.