Support » Plugin: affilinet Performance Ads » Problems after affilinet Performance Ads update?

  • Is anyone else having problems after updating this plugin? I get this now:

    Warning: file_put_contents(/homepages/6/d585945528/htdocs/app585945666//ads.txt): failed to open stream: Permission denied in /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php on line 288

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-login.php on line 421

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-login.php on line 434

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-includes/pluggable.php on line 920

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-includes/pluggable.php on line 921

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-includes/pluggable.php on line 922

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d585945528/htdocs/app585945666/wp-content/plugins/affilinet-performance-module/classes/Plugin.php:288) in /homepages/6/d585945528/htdocs/app585945666/wp-includes/pluggable.php on line 1216

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • did you figure this out? I am having the same problem

    Plugin Author affilinet

    (@affilinet)

    We will provide an update today fixing this problem.
    So far you can create a file named ads.txt in your root folder (next to wp-config.php)

    This file should contain the following content:

    appnexus.com, 8332, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8327, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8334, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8333, RESELLER, f5ab79cb980f11d1

    Plugin Author affilinet

    (@affilinet)

    We just provided an update: Version 1.9.4 should fix these problem.
    Please let us know if you have any problem with the updated Version.

    My entire /wp-admin/ access has been prevented due to this error, which is still ongoing this morning, despite the update mentioned above. Because I cannot get into the backend to update this due to this error I am in a Catch 22. Going to have to ask my managed WordPress provider/hosting team to remove the whole thing. It is ridiculous that something like this can crash an entire website:

    Warning: file_put_contents(/homepages/29/d722683450/htdocs/app722684076//ads.txt): failed to open stream: Permission denied in /homepages/29/d722683450/htdocs/app722684076/wp-content/plugins/affilinet-performance-module/classes/Plugin.php on line 288

    It even appears on the client side at the top too:
    https://preachersconference.london/

    Plugin Author affilinet

    (@affilinet)

    @heddois
    We are truly sorry for this incident which crashed your website.
    I want to give you some background information about this error:

    In order to use performance ads, your website must provide a file named ads.txt in your root directory. This allows us to resell ad placements on your website and optimize your ad revenue.

    What happend:
    First, with our update we tried to create this file in your root folder
    What we did not realize: some hosting providers do not allow modifying files in this folder. A PHP Warning will be created then.

    Secondly if you had the PHP Setting display_errors and to ON, all errors and warnings are displayed on your website. That is why you actually SEE the error.

    Finally, if your wordpress wanted to send a special header (for example to redirect the user) this would not be possible anymore after this warning. (headers already sent error)

    What we did to prevent this error in future:
    If any error happens while creating the file, no output will be displayed. Instead we show an notice in your admin area and give information what you should do then.

    What you should do
    We strongly recommend you to set display_errors to OFF.
    There is no need to show errors to your users. This could also show sensitive information to any attacker/hacker.
    You can read about how to disable it here http://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/

    You are still locked out of your wp-admin?
    Create a file named ads.txt in your root folder (next to wp-config.php)
    This file should contain the following content:

    appnexus.com, 8332, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8327, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8334, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8333, RESELLER, f5ab79cb980f11d1

    Still having problems or need advice? Please contact us via email or leave a reply.

    Thank you

    Hi,
    I’ve already created ads.txt with notepad and put it in root directory. But it’s still show error message.

    Missing ads.txt file. Please see instructions on settings page

    Plugin Author affilinet

    (@affilinet)

    @elsa007
    could you please send us a link to your blog? Please send it to affilinet@teraone.de.
    Thank you

    My Managed WordPress provider doesn’t allow ads.txt to be added into the root folder, even though I telephoned them about it. I’ll have to look for an alternative affiliate plugin, I suppose. Thanks for getting back to me though.

    I’ve had the same problem as described above, this is, couldn’t even open the admin area to upgrade the plugin.

    My solution:

    1
    I’ve changed the line 268 of the file plugin.php
    changed it to: “$filePath = ABSPATH.DIRECTORY_SEPARATOR.’/wp-content/ads.txt’;”

    2
    Created the file ads.txt on the /wp-content/ folder where every user has write permissions.

    3
    Opened the admin area and updated the plugin as usual

    Good luck.

    I have a similar issue and am desperate for help

    My ads.txt file contains

    # affilinet-performance-module-start
    # Do not modify the following lines
    # Ver. 1.9.1
    appnexus.com, 8332, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8327, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8334, RESELLER, f5ab79cb980f11d1
    appnexus.com, 8333, RESELLER, f5ab79cb980f11d1
    # affilinet-performance-module-end

    It is preventing my Google Ads from showing and I cannot get my google ads code to replace this file and have tried different plug ins to try it.

    Any ideas.

    I have never had an affilinet account

    Thanks.

    gentleoddy

    (@gentleoddy)

    Please, @deansawyer how did you solve this issue? Coz I am having the exact issue.

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problems after affilinet Performance Ads update?’ is closed to new replies.