WordPress.org

Forums

SP Project & Document Manager
[resolved] ABSPATH issue (4 posts)

  1. Michael Mann
    Member
    Posted 2 years ago #

    It seems for some reason the download.php file returns a "white screen of death" with the issue being the second line in the file:

    require( ''.ABSPATH.'wp-load.php' );

    ABSPATH returns nothing. Any help?

    http://wordpress.org/extend/plugins/sp-client-document-manager/

  2. Michael Mann
    Member
    Posted 2 years ago #

    I set php to find the document root using:

    $_SERVER["DOCUMENT_ROOT"];

    and use that and it all works. For some reason ABSPATH is not being set, which causes the blank page.

  3. Michael Mann
    Member
    Posted 2 years ago #

    I ended up adding just defining ABSPATH to the document root, with a trailing slash (above the require line):

    define (ABSPATH, $_SERVER["DOCUMENT_ROOT"].'/');

  4. Michael Mann
    Member
    Posted 2 years ago #

    Seems this has been fixed in later versions of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SP Project & Document Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.