• Resolved erinwilder

    (@erinwilder)


    Hello, I am experiencing a number of errors on my site from popup maker. I have checked on both my staging and my live site, the same errors exist on both. My staging site is updated to the WP 4.5.2.

    The errors I’m getting in my console are the following:

    PHP Warning: fopen(/nas/content/live/outbounddev/wp-content/plugins/popup-maker/popup-maker.php): failed to open stream: Permission denied in /nas/content/staging/outboundengine/wp-includes/functions.php on line 4463

    PHP Warning: fread() expects parameter 1 to be resource, boolean given in /nas/content/staging/outboundengine/wp-includes/functions.php on line 4466

    PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /nas/content/staging/outboundengine/wp-includes/functions.php on line 4469

    https://www.ads-software.com/plugins/popup-maker/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @erinwilder – Those error look like the popup maker files are missing. I would suggest deleting and reinstalling it.

    Thread Starter erinwilder

    (@erinwilder)

    This did not fix my issue, do you know of anything else it could be?

    Plugin Author Daniel Iser

    (@danieliser)

    @erinwilder – I’m not sure on this one. The error indicates that its trying to load the main plugin file, that is not something we do in our code, that is something WP core does. IE the error occurs when it tries to load Popup Maker before PM can do anything.

    If that is in fact the case then the error indicates that the plugins folder may not have the right folder permissions on the server side.

    May be a good question to post in the wordpress general support forums as well. Definitely not normal behavior.

    Thread Starter erinwilder

    (@erinwilder)

    Hey Daniel,

    I thought it would be that too, so I tried to change the file permissions. However, my hosting company would not allow to me give the folders more permissions, they only allow certain permissions for security issues. The plugin actually works, it just keeps throwing errors. I suppose I’ll just let it go for now.

    Thanks,
    Erin

    Plugin Author Daniel Iser

    (@danieliser)

    @erinwilder – Strange. Can you start a ticket in this forum and you can link it here as well to keep both updated easily.

    https://www.ads-software.com/support/forum/how-to-and-troubleshooting

    That is a more general support forum for the issue, maybe we can get some additional input from others.

    I also did a few google searches to get general error info on that message and found this thread where the author claims to have patched it. I asked what the patch & issue was so maybe we get lucky there.

    Thread Starter erinwilder

    (@erinwilder)

    Thanks again Daniel, I posted about this in that forum here: https://www.ads-software.com/support/topic/php-warning-fopen-failed-to-open-stream?replies=1#post-8482566

    Hopefully someone know what’s going on here.

    Plugin Author Daniel Iser

    (@danieliser)

    @erinwilder – Yea the author from that other plugin got back to me and he was doing something we don’t so his solution would have no effect for us. ??

    Any chance you worked this problem out? I’m getting the same error messages:

    
    Warning: fopen(/nas/content/live/partnershc/wp-content/plugins/popup-maker/popup-maker.php): failed to open stream: Permission denied in /nas/content/staging/partnersintl/wp-includes/functions.php on line 4782
    
    Warning: fread() expects parameter 1 to be resource, boolean given in /nas/content/staging/partnersintl/wp-includes/functions.php on line 4785
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /nas/content/staging/partnersintl/wp-includes/functions.php on line 4788

    I deleted and reinstalled the plugin from the repository. Upon activation I get the same PHP warnings, plus this message:

    The plugin generated 602 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Plugin Author Daniel Iser

    (@danieliser)

    @davekuhar – That means your copy of the plugin was corrupted on install, uploaded via FTP with a different user than the server (IE the server doesn’t have permission to access the file which is what the error indicates).

    Otherwise its not actually an issue in the plugin, but rather WP saying it can’t access the plugins main file.

    Hope that helps.

    davekuhar

    (@davekuhar)

    I tried deleting and reinstalling the plugin, then repairing permissions on the server, but I’m still getting these messages.

    
    Warning: fopen(/nas/content/live/partnershc/wp-content/plugins/popup-maker/popup-maker.php): failed to open stream: Permission denied in /nas/content/live/partnersintl/wp-includes/functions.php on line 4782
    
    Warning: fread() expects parameter 1 to be resource, boolean given in /nas/content/live/partnersintl/wp-includes/functions.php on line 4785
    
    Warning: fclose() expects parameter 1 to be resource, boolean given in /nas/content/live/partnersintl/wp-includes/functions.php on line 4788

    Any other ideas?

    Plugin Author Daniel Iser

    (@danieliser)

    @davekuhar – TBH you may want to try posting in the general WordPress forums. This is not really an issue with our plugins code, but WP itself. To clarify our code isn’t run until the file, that can’t be loaded, loads. So in your case our plugin never runs at all for it to be an issue in our code if that makes since.

    Hope that helps.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Errors on site from popup maker’ is closed to new replies.