wisconsindad Posted February 24, 2021 Report Share Posted February 24, 2021 I am getting the following error when clicking on banner ads using any of the invocation codes, including the async code. Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. Notes: 1. I checked permissions on cl.php and the folder containing it and they are 644 and 755 respectively. 2. Php version is 7.3 3. We are using hostgator as our server. Quote Link to comment Share on other sites More sharing options...
Kelby Posted March 13, 2021 Report Share Posted March 13, 2021 Having same issue. Contacted HostGator support and they were no help. Issue started after updating to the latest version. Quote Link to comment Share on other sites More sharing options...
Sergio Posted April 7, 2021 Report Share Posted April 7, 2021 I just installed revive and I am having same problem in Hostgator. Could you fix it? thanks Quote Link to comment Share on other sites More sharing options...
Dirk Tolken Posted January 9, 2022 Report Share Posted January 9, 2022 Did anyone find a solution for this issue? It's randomly started happening with me and I'm also on Hostgator. Quote Link to comment Share on other sites More sharing options...
G1NBC Posted February 28, 2022 Report Share Posted February 28, 2022 I get this just updated and when click on ad this come up: An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. can anyone help? Quote Link to comment Share on other sites More sharing options...
Gian Gadotti Posted March 23, 2022 Report Share Posted March 23, 2022 Same problem. Tryed diferent actions, but nothing works. Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. PLEASE HELP! Quote Link to comment Share on other sites More sharing options...
Zabdiel Posted July 9, 2023 Report Share Posted July 9, 2023 Is there no solution for this problem??? Quote Link to comment Share on other sites More sharing options...
Zabdiel Posted July 20, 2023 Report Share Posted July 20, 2023 (edited) I solved this problem commenting the line 3636 of ajs.php and added a new line without the variable $aBanner['url']. The code was finally like: #$dest = _adRenderReplaceMagicMacros($aBanner, $customDestination ?? $aBanner['url'] ?? ''); $dest = _adRenderReplaceMagicMacros($aBanner, $customDestination ?? ''); This prevents that the parameter "dest=[url]" be included in the url of the banner clickthrough, which is the reason mod2_security module blocks the invocation of the url. Zabdiel Edited July 21, 2023 by Zabdiel Quote Link to comment Share on other sites More sharing options...
Zabdiel Posted July 26, 2023 Report Share Posted July 26, 2023 The solution above works for Javascript tag and for Iframe code, although in this case, the file to be edited is afr.php line 3635. I hope it helps you. #$dest = _adRenderReplaceMagicMacros($aBanner, $customDestination ?? $aBanner['url'] ?? ''); $dest = _adRenderReplaceMagicMacros($aBanner, $customDestination ?? ''); Quote Link to comment Share on other sites More sharing options...
omarak Posted August 31, 2023 Report Share Posted August 31, 2023 main problem is the "oadest" parameter, remove or send as empty Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.