Viewing 4 replies - 16 through 19 (of 19 total)
  • In my case, I’d expect the path for PDW to be
    ‘wp-content/blogs.dir/10/’
    but it does not work – although a die($pdwUploadPath); in line 72 gives
    ‘/webs/htdocs/projekte/wordpress/wp-content/blogs.dir/10/’

    This seems to be the right linux-path on our server.
    However, PDW does not work.

    We are using WordPress 3.4.1 and PHP 5.3.10

    I think I got it.

    In line 71 (index.php) we have to set the path to
    'wp-content/blogs.dir/10/'

    … and then in line 76 we have to add a ‘/’, so it will be
    '$pdwUploadPath = '/' . str_replace'

    Having done this, we see the PDW File Browser; we can’t use it yet, due to an error 403, access denied. But that’s a CHOWN thing for our admin ??

    Plugin Author canfiax

    (@canfiax)

    Hi everybody and thank you for using your time on my plugin. That is a real honor to me.

    I understand that there are some issues, and I would be happy to fix them – as soon as i get the time. The wp-root is a hotfix because getting WordPress’s root location is very difficult outside of the wp core includes. The /pdw_file_browser/index.php is outside of the wordpress core, and therefore, locating wordpress’s location on server is quite difficult.

    Feel free to contact me if you have any idea how to locate wordpress root dir on any path on a server (PHP script).

    I will also check up upon the multisite issues whenever I get the spare-time i need.

    See you!

    Canfiax, you did really great job. Thanks

    I found this error after installation wp-root” is not defined via $_GET

    Given below is the fix:

    Add this code on line # 55 in config.php

    $_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/’;

    If you are using sub folder fo example in localhost then add directory name also

    $_GET[‘wp-root’] = $_SERVER[‘DOCUMENT_ROOT’].’/yourdirectoryname/’;

    I hope it will help.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘PDW Media File Browser Plugin Problem’ is closed to new replies.