WordPress.org

Forums

Pretty Link Lite
[resolved] Add New Link gives Warning: opendir Access Denied to .\PrliUtils.php and readdir (5 posts)

  1. mtnman1010
    Member
    Posted 9 months ago #

    I have a fresh install of WordPress at GoDaddy with Windows hosting. I have 5 other sites on Windows and one with 7 subdomains and never any issues until today. Immediately after fresh install I changed the url to begin with 'www', changed the admin email, then installed Smpl Skeleton theme, next installed Pretty Link Lite then Limit Login Attempts. Then I went to 'Pretty Link'->'Add New Link' and received the following warnings:

    Warning: opendir(D:\hosting\...\html/,D:\Hosting\...\html/)[function.opendir]:Access is denied. (code: 5) in D:\Hosting\...\wp-content\plugins\pretty-link\classes\models\PrliUtils.php on line 112

    Warning: opendir(D:\Hosting\...\html/) [function.opendir]: failed to open dir: Bad file descriptor in D:\Hosting\...\html\wp-content\plugins\pretty-link\classes\models\PrliUtils.php on line 112

    This one repeats maybe several hundred times.

    Warning: readdir() expects parameter 1 to be resource, boolean given in D:\Hosting\...\html\wp-content\plugins\pretty-link\classes\models\PrliUtils.php on line 114

    Any thoughts to what a solution might be?
    Thanks in advance,
    Jeff

    https://wordpress.org/plugins/pretty-link/

  2. mtnman1010
    Member
    Posted 9 months ago #

    I just noticed the message on the Pretty Link page the site must have the permalinks configured or it will not work correctly. I changed that in 'Settings'->'Permalinks' too 'Post name' and still no luck.

  3. mtnman1010
    Member
    Posted 9 months ago #

    Sorry, no prevail. I changed my hosting package to Linux from Windows. As we all know that is the preferred method to begin with but I was trying to accommodate other business needs.

    Thanks!

  4. cartpauj
    Member
    Plugin Author

    Posted 9 months ago #

    Yeah, Windows typically uses IIS web server which is not compatible with WordPress' .htaccess rewrite rules. Apache is a much better base for WordPress than IIS.

  5. mtnman1010
    Member
    Posted 9 months ago #

    Thanks Cartpauj. What's strange is it works great on other Windows hosted sites I have. Something I did find but haven't completely proven is, for example, if http://MyDomain.com is inaccessible and http://www.MyDomain.com is and is also the configured base url in WordPress some plugins do not work properly which might include Pretty Link Lite. In my case, MyDomain.com points to my Active Directory domain and http://www.MyDomain.com points to the website. This setup, by the way, is very problematic and not necessarily related to any plugin or WordPress framework but potentially the overall network design.

Reply

You must log in to post.

About this Plugin

About this Topic