• Resolved h4stur

    (@h4stur)


    I just freshly installed the Plugin. If I want to add a new gallery (named “firstgallery”) this errors shows up:
    Unable to create directory /var/www/html/wp-content/gallery/firstgallery!
    Directory /var/www/html/wp-content/gallery/firstgallery is not writeable !
    Unable to create directory /var/www/html/wp-content/gallery/firstgallery/thumbs/thumbs !

    I customized my folder structure for WP.

    I state in wp-config.php:
    define( ‘WP_CONTENT_URL’, ‘https://localhost/contentdir’);
    define( ‘WP_CONTENT_DIR’, dirname( __FILE__ ) . ‘/contentdir’);

    This is according to the WP Core specifications and works with every other plugin I use.

    It works if I do:
    mkdir /var/www/html/wp-content
    chmod 777 /var/www/html/wp-content

    So this should be proof that you hardcoded “wp-content”. Could you please get that directory name from wp-config.php?
    Or am I missing something else?

    Have a nice holidays!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here. My wordpress corefiles are symlinked within the Document-Root. But the plugin somehow uses the absolute path of the “real” wordpress core.

    for example:
    it should be /usr/local/www/xyz/wp-content/… but it’s /usr/local/www/corefiles/wp-content/….

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi,

    Yes, currently, NextGen Gallery will use the absolute path for wp-config folder.
    I will surely add it as a feature request for our developers.

    Mihai

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Did you hardcode “wp-content” for the gallery images?’ is closed to new replies.