metalice Posted August 13, 2017 Share Posted August 13, 2017 hi, i have a problem that i cannot see Compatibility with other cart rules as in the screenshot: but if debug mode is turn on so i can see the vouchers.... what is it?? how to fix it?? thank you Link to comment Share on other sites More sharing options...
metalice Posted August 14, 2017 Author Share Posted August 14, 2017 any1 help please? Link to comment Share on other sites More sharing options...
metalice Posted August 14, 2017 Author Share Posted August 14, 2017 when looking deeper into the issue i can see this error message: http://prntscr.com/g8ck4x <b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/metalice/public_html/controllers/admin/AdminCartRulesController.php:122) in <b>/home/metalice/public_html/classes/controller/AdminController.php</b> on line <b>1829</b><br /> this message dont appear in debug mode and everything works correctly... but not in debug mode it shows.. while i didnt made any changes to admincartrule nor admincontroller... help will be appreciated guys! Link to comment Share on other sites More sharing options...
metalice Posted August 15, 2017 Author Share Posted August 15, 2017 any1??? Link to comment Share on other sites More sharing options...
metalice Posted August 16, 2017 Author Share Posted August 16, 2017 uppppp Link to comment Share on other sites More sharing options...
metalice Posted September 3, 2017 Author Share Posted September 3, 2017 still need help... Link to comment Share on other sites More sharing options...
melomaniac13 Posted March 28, 2019 Share Posted March 28, 2019 Hi ! Got same issue over here! Any help is welcome When i try to apply an incompatibility rules, list remains empty as follow . Prestashop version : 1.6.1.4 Thanks in advance ! Link to comment Share on other sites More sharing options...
oNine Posted May 10, 2019 Share Posted May 10, 2019 Hi guys, you can add this ligne code exit(); after the line 122 : echo Tools::jsonEncode(array('html' => $html, 'next_link' => $next_link)); as echo Tools::jsonEncode(array('html' => $html, 'next_link' => $next_link)); exit(); Link to comment Share on other sites More sharing options...
Jan Utko Posted September 3, 2019 Share Posted September 3, 2019 On 5/10/2019 at 10:45 PM, oNine said: Hi guys, you can add this ligne code exit(); after the line 122 : echo Tools::jsonEncode(array('html' => $html, 'next_link' => $next_link)); as echo Tools::jsonEncode(array('html' => $html, 'next_link' => $next_link)); exit(); That's the point! In Presta 1.6.1.12 with PHP 5.6.40 works perfectly. Thanks a lot for answer. 1 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