foxskav Posted November 15, 2019 Share Posted November 15, 2019 (edited) Hello, When I try add new customer in BO. Get error in console: Refused to display 'https://(mypage).pl/admin/index.php/sell/customers/new?liteDisplaying=1&submitFormAjax=1&_token=(mytoken)#' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'". Edited November 15, 2019 by foxskav (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted November 15, 2019 Share Posted November 15, 2019 Prestashop version ? php version ? SQL version ? Link to comment Share on other sites More sharing options...
foxskav Posted November 15, 2019 Author Share Posted November 15, 2019 Sry. Presta: 1.7.6.1 PHP Version 7.2.3 SQL: 5.7.21-20-log PS: I didn't make any changes today. Link to comment Share on other sites More sharing options...
PCQUATRO Posted November 17, 2019 Share Posted November 17, 2019 On 11/15/2019 at 11:55 AM, foxskav said: Hello, When I try add new customer in BO. Get error in console: Refused to display 'https://(mypage).pl/admin/index.php/sell/customers/new?liteDisplaying=1&submitFormAjax=1&_token=(mytoken)#' in a frame because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'". I don´t have any problems whatsoever... Try disabling extra modules or overrides, and see what you get... Best Regards Link to comment Share on other sites More sharing options...
foxskav Posted November 26, 2019 Author Share Posted November 26, 2019 I turned off override, modules and caches but it doesn't fix this error. Link to comment Share on other sites More sharing options...
foxskav Posted January 2, 2020 Author Share Posted January 2, 2020 The solution was to add to .htaccess this: Header set Content-Security-Policy: "frame-ancestors 'self'" Link to comment Share on other sites More sharing options...
PCQUATRO Posted January 2, 2020 Share Posted January 2, 2020 13 minutes ago, foxskav said: The solution was to add to .htaccess this: Header set Content-Security-Policy: "frame-ancestors 'self'" Nice mark the thread as solved... Best Regards Link to comment Share on other sites More sharing options...
leste Posted April 14, 2021 Share Posted April 14, 2021 (edited) Hello, I will dig up the subject !! I have this problem on a 1.7.7.3 version. I tried to add this code in the htaccess but without success, can you indicate how you did it or if another solution exists? and above all the probable cause! it's not all clear. thank you Edited April 14, 2021 by leste (see edit history) Link to comment Share on other sites More sharing options...
leste Posted July 3, 2021 Share Posted July 3, 2021 Je n'ai toujours pas de solution à ce problème, personne n'a ce type de blocage ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now