changed logout.php file to reflect correct code errors out

  • perch 3.1.whatever All I did was change one thing and now this Nothing changed on the server and was not throwing these errors before.

    What to do to get rid of them? Please help


    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 1405



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 1406



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 1407



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 1415



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 259



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 259



    Warning: Cannot modify header information - headers already sent by (output started at /home/palamger/public_html/members/logout.php:1) in /home/palamger/public_html/pggs2.8.6_update/core/lib/PerchUtil.class.php on line 233

  • ~~

    <?php

    include('../pggs2.8.6_update/runtime.php');

    perch_member_log_out();

    PerchUtil::redirect('/members/');

    ~~~

    I changed '/members/' from '/https:palam.org'/' because it was not logging out Wasn't working but no error files

  • ~~

    <?php

    include('../pggs2.8.6_update/runtime.php');

    perch_member_log_out();

    PerchUtil::redirect('/members/');


    ~~

    Logout only works if you are using an incognito mode. If you use browser otherwise, it will not logout correctly until you dump the browser cache.