e-rice pic upload

Trying to upload some pics to my blog in e-rice. http://www.waynefreeman.net/wxblog/ The following error message pops up?

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/web/wxblog/wp-content/uploads/2010/01) is not within the allowed path(s): (/virtual/users/e16504:/tmp:/usr/lib/php) in /virtual/users/e16504-17741/web/wxblog/wp-includes/functions.php on line 1939

Looks like you have the path to a file coded incorrectly, can you post that line 1939?

Here it is thanks:

function wp_mkdir_p( $target ) {
// from php.net/mkdir user contributed notes
$target = str_replace( ‘//’, ‘/’, $target );
if ( file_exists( $target ) )
return @is_dir( $target );

// Attempting to create the directory may clutter up our display.
if ( @mkdir( $target ) ) {
	$stat = @stat( dirname( $target ) );
	$dir_perms = $stat['mode'] & 0007777;  // Get the permission bits.
	@chmod( $target, $dir_perms );
	return true;
} elseif ( is_dir( dirname( $target ) ) ) {

Think I found your pics…

http://www.waynefreeman.net/wxblog/wp-content/uploads/

like Niko said, Its a path problem somewhere in the file.

Good find. Looks like there is no wxblog/wp-content/uploads/2010/01 directory.

Maybe the permissions are wrong on /uploads and the script can’t create the subdirectory?