Re: Error with uploading images, 2.9.1
So I found a
WordPress thread of some others having a similar problem. It appears that some host providers can't handle a certain WordPress function called wp_upload_dir()
They way to fix it is to hard code your paths into the /classifiedform/classifiedform.class.php file.
So replace line 177
Code:
$dir_to_make = $upload_arr['basedir'] . "/classipress";
with this code:
Code:
$dir_to_make = "wp-content/uploads/classipress";
See if that solves the problem. If not, you might also have to replace line 187
Code:
$image_baseurl = $upload_arr['baseurl'] . "/classipress";
with this code:
Code:
$image_baseurl = get_option('home')."/";
Let me know how that works out for you.