Viewing 8 replies - 1 through 8 (of 8 total)
  • That doesn’t look like the complete error message, and it doesn’t look like a valid path, so I can’t say for sure. However, Check the Settings –> PHP Snippets page and verify that you’ve entered a valid directory. I recommend using the [+ABSPATH+] placeholder when you define your paths: it is a special code to represent the root directory of your WordPress installation. Use the “Show Snippets” button on that page to list valid snippets: it’s an excellent way to test whether or not you’ve configured the correct paths.

    Thread Starter chris_tex

    (@chris_tex)

    here is the path i use but still have a window opening when i click add directory that says :Warningfunction.is-dir/var/www/clients/client2/web41/web/wp-content/plugins/php-snippets/includes/Base.php160

    Thread Starter chris_tex

    (@chris_tex)

    here is the path i use /web/wp-content/plugins/php-snippets/snippets but still have a window opening when i click add directory that says :Warningfunction.is-dir/var/www/clients/client2/web41/web/wp-content/plugins/php-snippets/includes/Base.php160

    I don’t think your full path is going to start with /web, even if you were on a dedicated server. Please double-check the path for the directory you are trying to use. See https://code.google.com/p/wordpress-php-snippets/

    What version of the plugin are you using?

    Thread Starter chris_tex

    (@chris_tex)

    thanks i will check on that i m using the Version 1.0

    Thread Starter chris_tex

    (@chris_tex)

    eben if i use [+ABSPATH+]/snippets it give me the error code
    Warningfunction.is-dir/var/www/clients/client2/web41/web/wp-content/plugins/php-snippets/includes/Base.php160

    Is it possible your host has disabled the “is_dir” or other functions? Has this plugin worked on your site before?

    A test might be:

    <?php
    if (!function_exists('is_dir')) {
       print "Yikes... PHP Snippets cannot run";
    }
    Thread Starter chris_tex

    (@chris_tex)

    no it s the first time i use this pugin i ll check on the host thanks for you help

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Php snipets directory warning’ is closed to new replies.