WordPress.org

Ready to get started?Download WordPress

Forums

WP-LESS
Missing installation step? (2 posts)

  1. Ek0nomik
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/wp-less/

  2. oncletom
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.