WordPress.org

Support

Support » Plugins and Hacks » Sorry, you are not allowed to access this file directly

Sorry, you are not allowed to access this file directly

  • I am trying to install DCG and I placed <?php dynamic_content_gallery(); ?> into my index.php template and I see this message in the page source while trying to use mootools or jquery:
    <?
    /* Prevent direct access to this file */
    if (!defined(‘ABSPATH’)) {
    exit( __(‘Sorry, you are not allowed to access this file directly.’, DFCG_DOMAIN) );
    }
    ?>

    The permissions on my plugins directory are setup correctly. I can’t seem to figure out why I’m getting this error.

    While using mootools I see the blackbox with loading bar and while using jquery I don’t see anything loaded.

    Here is a link to the site I’m trying to use: http://sandbox5.2blu.net/

    http://wordpress.org/plugins/dynamic-content-gallery-plugin/

  • The topic ‘Sorry, you are not allowed to access this file directly’ is closed to new replies.