WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin - SABRE] Error: when used with Download Monitor (3 posts)

  1. Hoib
    Member
    Posted 6 years ago #

    Am using SABRE and Download Monitor (DM). When I invoke DM to post a file in a page I get these two little wonders one right after the other:

    Warning: require_once(../../../wp-content/plugins//home/stmichaels/public_html/wp-content/plugins/sabre/classes/sabre_class.php) [function.require-once]: failed to open stream: No such file or directory in /home/stmichaels/public_html/wp-content/plugins/sabre/sabre.php on line 16

    Fatal error: require_once() [function.require]: Failed opening required '../../../wp-content/plugins//home/stmichaels/public_html/wp-content/plugins/sabre/classes/sabre_class.php' (include_path=:/usr/share/pear:/usr/share/php') in /home/stmichaels/public_html/wp-content/plugins/sabre/sabre.php on line 16

    If I kill SABRE, invoking DM and posting a file works so this tells me there's a problem with SABRE - perhaps a bug -- perhaps my setup.

    Anyone else seen this before? Got a recommendation???

    H

  2. dlo
    Member
    Posted 6 years ago #

    I'm sorry to say that but to me, Download Manager is not totally compliant with the way WordPress is doing its initialization phase. Before 2.6, WordPress was loading the file wp-config.php at an early step to set up its environment. But since 2.6, the first file loaded by WordPress is wp-load.php which in turn loads wp-config.php and so on. In the file wp-load.php, an important variable is set : ABSPATH. This variable can then be used by plugins like Sabre to determine what is the absolute path to WordPress.
    To make the story short, in the file download.php, Download Manager calls the wp-config.php file directly and doesn't use the wp-load.php as required, thus the ABSPATH variable remains in an indefinite state that causes the problem and the message you get.
    There is little I can do on my side but suggest you to write to the developper of Download Manager and ask him to change the way he's calling WordPress in its download process.

    I hope I was clear enough in my explanations and that helped you.
    Best regards.

  3. Dom Chudleigh
    Member
    Posted 5 years ago #

    Hi there,

    I cannot see the buttons or instructions that make Sabre appear on my outward facing site. I see the General link in my admin pages but only in Configure on the plugin - no buttons or anything anywhere else in my WP admin (settings etc).

    I am using WP 2.7.1

    Any help greatfully received.

    Dom

Topic Closed

This topic has been closed to new replies.

About this Topic