WordPress.org

Forums

[plugin: bbpress-post-toolbar] Upload not working (3 posts)

  1. bizwizkid
    Member
    Posted 1 year ago #

    Hey there, thanks for this plugin... it's a great tool!

    I'm having an issue placing images and am hoping you can help. When I do enter image details (upload image then apply) all I see in the post field is <img src="" alt="" />.

    I even tried uploading a pic on your site and that didn't work either leading me to think it's a chrome issue? I tried IE though and that didn't work either. I get the 'increase post_max_size and upload_max_size' error message in IE. My php.ini has both of these settings already.

    Any help would be greatly appreciated. Thanks again!

  2. bizwizkid
    Member
    Posted 1 year ago #

    Um. After changing php.ini settings one needs to restart server. That being done everything is working great.

  3. bergblume
    Member
    Posted 1 year ago #

    hi! I found the following solution for this issue...
    in your file fileuploader.php
    located in bbpress-post-toolbar/includes
    you have to delete the following lines:

    if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){
                $size = max(1, $this->sizeLimit / 1024 / 1024) . 'M';
                die("{'error':'increase post_max_size and upload_max_filesize to $size'}");
            }

Topic Closed

This topic has been closed to new replies.

About this Topic