image upload error
-
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
- The topic ‘image upload error’ is closed to new replies.