WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Rich Widget] Upload not working [FIX] (2 posts)

  1. sfgabe
    Member
    Posted 4 years ago #

    Not sure if this is a server setup thing or happens to all installs, but my upload image button was producing an error about not being able to create a directory.

    In case you are having the same problem, here is what I did to fix it:

    - Go into wp-content/plugins/rich-widget/config.php on line 8
    - Change the path to your own images folder and remove the last slash in the second parameter - it will probably look like this:


    define('RB_RICHWIDGET_FILEPATH', realpath(dirname(__FILE__) . '/../../uploads/rich-widget') . '/');

    to


    define('RB_RICHWIDGET_FILEPATH', realpath(dirname(__FILE__) . '/../../images') . '');

    http://wordpress.org/extend/plugins/rich-widget/

  2. numero7
    Member
    Posted 3 years ago #

    another simple way is to add a "rich-widget" folder with write rights to your uploads folder... so you don't have to modify the core widget code.

Topic Closed

This topic has been closed to new replies.

About this Topic