Re: Image upload suddenly stopped working
Hi David,
thank you for replying.
I deleted the "http:" folder. Then I created a new ad, I selected a picture to upload, then I press Submit and the same error message. And the http: folder was created again in the root.
Ok, I tried the steps you just told me...
In the form_process.php file, I have done these changes:
I commented this line...
$dir_to_make = trailingsla****($upload_arr['basedir']) . $image_folder_name;
and added this one...
$dir_to_make = "
wp-content/uploads/classipress"
This repaired the issue in part. The error message dissapeared, and I can see the thumbnails into the home. But I am not able to see the images when I open the ad.
So I commented this line...
(the one that you mentioned in that other post is not the same in 2.9.2 $image_baseurl = $upload_arr['baseurl'] . "/classipress"
$image_baseurl = trailingsla****($upload_arr['baseurl']) . $image_folder_name;
And added this one....
$image_baseurl = get_option('home')."/";
But making this change takes me a step back, as in this way I am not able to see the thumbnails in the home nor the images into the ad.
Please advice.
Thanks!!
Best regards
Alex