• Resolved dutran

    (@dutran)


    I get this error when I try to activate the plugin:

    Could not create the wppa directory. Ask your administrator to give you more rights, or create /usr/share/wordpress/wp-content/uploads/wppa manually using an FTP program.

    I did a couple of defines in wp-config.php to move the uploads folder to a subfolder via:

    define( ‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/hack’ );
    define( ‘WP_CONTENT_URL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/wp-content/hack’ );

    The uploads folder should be under /usr/share/wordpress/wp-content/hack along with plugins and themes folders as well. However, the plugin doesn’t appear to see this change. I also tried:

    define (‘UPLOADS’, ‘/wp-content/hack/uploads’);

    This didn’t work either. Can it be fixed so that the plugin recognizes that I moved the wp-content folder?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Who is the owner of the folder “hack”? Which permissions are set for the folder?
    The webserver needs to write to it, so you have to set proper permissions.

    Thread Starter dutran

    (@dutran)

    The permissions are fine. I can install plugins and upload files to it just fine through wp-admin. However, when activating the WP Photo Album Plus plugin, it tries to install the various folder in:

    /usr/share/wordpress/wp-content/uploads

    instead of

    /usr/share/wordpress/wp-content/hack/uploads

    It doesn’t have rights to instead in wp-content/uploads but it does have permission to do it in wp-content/hack/uploads.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Follow the instructions on the Installation notes help page on https://wppa.nl

    Can not give a link, this reply is from my phone. Look in the menu on wppa.nl and you will find it under the Changelog toplevel menu item

    Thread Starter dutran

    (@dutran)

    Ah. Thanks! I didn’t see the defines I need to set. That should fix the issues I have.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem creating WPPA folder’ is closed to new replies.