Purchase without account Phoenix

Ask the community for help and support.
zeeshop
Posts: 78
Joined: Sun Jan 10, 2021 11:30 pm
Has thanked: 15 times
Been thanked: 2 times

Re: Purchase without account Phoenix

Post by zeeshop »

zipurman wrote: Sun Mar 14, 2021 8:04 pm @zeeshop

The error: Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d**********/htdocs/Live/includes/modules/content/checkout_success/cm_cs_pwa_keep_account.php:1) in /homepages/31/d***********/htdocs/Live/backoffice/includes/functions/general.php on line 36

Would be due to the custom mod htdocs/Live/includes/modules/content/checkout_success/cm_cs_pwa_keep_account.php throwing an error before the page re-direct in htdocs/Live/backoffice/includes/functions/general.php. You'd have to inspect cm_cs_pwa_keep_account.php and see what errors it is throwing.
Hi @raiwa , when making changes to any content module, same errors keep coming, referring to cm_cs_pwa_keep_account.php
How can I find out what error it is throwing, as zipurman suggested.

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d**********/htdocs/Live/includes/modules/content/checkout_success/cm_cs_pwa_keep_account.php:1) in /homepages/31/d***********/htdocs/Live/backoffice/includes/functions/general.php on line 36
It is not causing any harm in functionality of Admin side, but annoying.

Thanks
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: Purchase without account Phoenix

Post by ecartz »

zeeshop wrote: Sun Mar 14, 2021 11:00 pm output started at /homepages/31/d**********/htdocs/Live/includes/modules/content/checkout_success/cm_cs_pwa_keep_account.php:1
The :1 suggests that there is a character at the very beginning of the file, before the <?php

You can try deleting the < and any characters before it. Then retype the < and save. That may fix it.

This can also be caused by a character encoding problem. Saving as UTF-8 with BOM can cause this problem. Converting to UTF-8 without BOM might fix it: https://unix.stackexchange.com/question ... utf-8-file

Note that this may suggest that you should use Notepad++ rather than Microsoft Notepad to edit files. Because Notepad++ can save without BOM.
zeeshop
Posts: 78
Joined: Sun Jan 10, 2021 11:30 pm
Has thanked: 15 times
Been thanked: 2 times

Re: Purchase without account Phoenix

Post by zeeshop »

Thanks @ecartz

There was a space and a new new line before <
By deleting all became normal again.

Thanks very much.
admin
Site Admin
Site Admin
Posts: 139
Joined: Wed Oct 30, 2019 1:34 pm
Has thanked: 20 times
Been thanked: 21 times

Re: Purchase without account Phoenix

Post by admin »

Support for this Addon will now be available on the Addon page - app.php/addons/free_addon/purchase_with ... nt/support
Locked