
Originally Posted by
marton_1
I installed another plugin and got a "Warning: Headers already sent..."
I could [eventually] fix this by removing the spaces at the start of line 5 before the // in jscript_cookieControl-5.1.min.
I have been using the cookie control plugin for years with no problem
Weirdness!! Help
As mentioned yesterday I installed a new test version of the mypos credit card payment plugin then made the change to jscript_cookieControl-5.1.min.php and I could make a test payment OK.
Here is the confirmation to prove I was not dreaming :)
Code:
Payment
MYPOS *SIMONE / Payment via myPOS Online, 15.04.2021 01:31 0.05 CHF
Now today I ran another test but that failed and I got the "Warning: Headers already sent..." error message again, there is a copy below I just changed the "mytemplate". And yes I did check I am using my changed jscript_cookieControl-5.1.min.php.
Code:
[15-Apr-2021 10:00:26 Europe/Zurich] Request URI: /catalog/index.php?main_page=checkout_confirmation, IP address: 88.151.150.xxx
#1 header() called at [/includes/functions/functions_general.php:42]
#2 zen_redirect() called at [/includes/modules/payment/mypos_virtual.php:226]
#3 mypos_virtual->confirmation() called at [/includes/classes/payment.php:223]
#4 payment->confirmation() called at [/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php:67]
#5 require(/includes/templates/mytemplate/templates/tpl_checkout_confirmation_default.php) called at [/includes/templates/mytemplate/common/tpl_main_page.php:275]
#6 require(/includes/templates/mytemplate/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: Cannot modify header information - headers already sent by (output started at /includes/templates/mytemplate/jscript/jscript_cookieControl-5.1.min.php:4) in /includes/functions/functions_general.php on line 42.
I hate it when there is a conflict between two plugins, due to the divided ownership responsibilities.
Bookmarks