Support » Plugin: WP-LESS » Missing installation step?

  • I’m receiving the following error after unpacking and activating the plugin:

    The upload dir folder (/var/www/wordpress/wp-content/uploads/wp-less) is not writable from WPLessPlugin.

    I am loading the .less file using wp_enqueue_style:

    function intranet_theme_styles() {
       wp_enqueue_style('bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css');
       wp_enqueue_style('bootstrap.responsive', get_template_directory_uri() . '/css/bootstrap-responsive.min.css');
       wp_enqueue_style('intranet', get_template_directory_uri() . '/css/intranet.less');
    add_action('wp_enqueue_scripts', 'intranet_theme_styles');

    By default there is no uploads/wp-less directory, so, I created them. The page would then load, but, the the generated css file would return a HTTP 404 response.

Viewing 1 replies (of 1 total)
  • Plugin Author oncletom


    If your upload dir is writeable for image uploads, wp-less may write inside without any problem.

    The plugin automatically creates the uploads/wp-less. This error is raised when it does not have the permissions to self-create this folder.

    When you upload a picture in the media manager, is everything’s going right? Is the file system a plain filesystem or do you have some plugin like Amazon S3 Filesystem or anything like that?

    Your other topic problem is maybe related to this writing issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Missing installation step?’ is closed to new replies.