Did you hardcode “wp-content” for the gallery images?
-
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-contentSo 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!
- The topic ‘Did you hardcode “wp-content” for the gallery images?’ is closed to new replies.