wisconsindad Posted February 24, 2021 Report 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
Kelby Posted March 13, 2021 Report Posted March 13, 2021 Having same issue. Contacted HostGator support and they were no help. Issue started after updating to the latest version. Quote
Sergio Posted April 7, 2021 Report Posted April 7, 2021 I just installed revive and I am having same problem in Hostgator. Could you fix it? thanks Quote
Dirk Tolken Posted January 9, 2022 Report 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
G1NBC Posted February 28, 2022 Report 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
Gian Gadotti Posted March 23, 2022 Report 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
Zabdiel Posted July 9, 2023 Report Posted July 9, 2023 Is there no solution for this problem??? Quote
Zabdiel Posted July 20, 2023 Report 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
Zabdiel Posted July 26, 2023 Report 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
omarak Posted August 31, 2023 Report Posted August 31, 2023 main problem is the "oadest" parameter, remove or send as empty Quote
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.