Posts by ckfs

    My client does not want to use a shopping cart, but wants persons to send email to her regarding the items on her site for more information and pricing. Is there a way in perch to do this? I understand how to write the email script for one item, but to catch many items on the site I am not sure.

    3.1.5 Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone

    Perch 3.1.5 I know how to change templates for sections that are just on one page by deleting that section from the list on the page refreshing and selecting a new template. If the template is shared across many pages how does that work. If you delete the section from shared won't that mess things up? How is that done so it still works across all pages because that section does not show up on the pages individually.

    This isn't working, we still don't get logout. what can we do to fix this.

    ~~

    <?php

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

    //perch_member_remove_tab('members');

    perch_member_log_out();

    echo '<br /><br /><br /><br />';

    //echo'print('session_name()')';

    $_SESSION = array();

    if (isset($_COOKIE[session_name("p_m")])) {setcookie(session_name("p_m"), "", 0);

    echo 'inside if statement' . $_session_name() . ';}

    if (session_status() == PHP_SESSION_ACTIVE) { session_destroy()'; }

    perch_member_logged_in(NULL);

    $page = $_SERVER['PHP_SELF'];

    $sec = "10";

    echo '<a href="https://palam.org">Click for PALAM Homepage</a>';

    ~~

    Latest 3.1 whatever version my file name is just weird Error is

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

    I have tried and tried to fix this but it doesn't work. Actually did not change anything in the headerss was trying to fix the logout problem by changing code mid page around line 44

    In the past there was code in the front of the <?php or space that wasn't suppose to be there but tried that fix it did not work Need help here this is the login page for members section so its all down.


    ~~~

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

    <!doctype html>

    <html class="no-js" lang="en">

    <head>

    <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><?php perch_content('metatitle'); ?></title>

    <meta name="keywords" content="<?php perch_content('metakeywords') ?>" />

    <meta name="description" content="<?php perch_content('metadescription'); ?>" />

    <script src="assets522/js/vendor/modernizr.js"></script>

    </head>

    <body style="background-image: url('<perch_content(bkimage); ?>');background-repeat: repeat-x;background-color:#f8f8f8;">

    <!-- BEGIN --><div class="row wrapper mtop10" style="background-color:#fff;"><!-- full bleed wrapper - { margin: 0; padding: 0 } - this is where you would add background-color or background-image-->

    <div class="column panel none radius" style="background-color:#fff;"><!-- column wrapper - { padding: 15px } --><!-- remove "panel white radius" to remove wrapper border -->

    <div class="row header" style="background-color:#fff;text-align:center;">

    <div class="column" style="background-color:#fff;">

    <div class="row">

    <div class="large-3 medium-3 small-6 columns">

    <a href="<?php perch_content('mainurl'); ?>"><span style="border:none;"><?php perch_content('logopalam'); ?></span></a></div>

    <div class="large-9 medium-9 small-12 columns"><div class="panel centered" style="border:none;background-color:#fff;"><h1 class="cname" ><?php perch_content('nameline1'); ?> <span style="color:red;"><?php perch_content('nameline1pt2'); ?></span><br /><?php perch_content('nameline2'); ?></h1>

    <hr style="height:4px;width:55%;background-color:#ffd459;color:#ffd459;text-align:center; margin: 0 auto;"><h3 class="line1 centered" style="font-size:16px;color:black;line-height:20px;"><?php perch_content('countries'); ?></h3> <br />

    <br /><span style="margin-left:auto;margin-right:auto;padding:10px;color:#fff;font-size:20px;font-weight:bold;text-align:center;background-color:#233376;width:75%;">Restricted Access Individual Members Only</span>

    <!-- top ends here add rest of page --><!-- top ends here add rest of page -->


    </div></div></div> </div>

    </div> <!-- End Header -->


    <div class="small-12 medium-12 large-12 columns" style="background:#fff;">

    <div class="row">

    <div class="column">

    <div class="row">

    <div class="large-5 medium-5 small-12 columns"> <div style="background-color:#232376; color:#fff; text-align:center; padding:15px; font-weight:bold;"></div> <div class="panel">

    <?php

    if (perch_member_logged_in() && !perch_member_has_tag('notrenewed')){

    echo '<h3>Willkommen!</h3>';

    echo '<p>You are logged-in.</p>';

    echo '<ul>

    <li><a href="memberswebsite/">Members Website</a></li>

    <li><a href="profile.php">Edit profile</a></li>

    <li><a href="logout.php">Log Out</a></li>

    </ul>';

    }elseif (perch_member_has_tag('notrenewed')) {


    echo '<p>Our records indicate you have not renewed. You must renew to gain access to the records. <a href="https://www.palamgermangenealogysociety.org/bkstore/index.php?main_page=index&cPath=16">RENEW NOW</a> For problems contact, <a href="mailto:webcoordinator@palamgermangenealogysociety.org?Subject=Login-Palam">webcoordinator</a></p>';



    }elseif (perch_member_log_out('members')) {


    echo '<h3>Willkommen!</h3>';

    echo '<p>You are not logged in. Please login or <a href="/members/register.php">register</a> or <a href="https://www.palamgermangenealogysociety.org/bkstore/index.php?main_page=index&cPath=16">RENEW NOW</a>.</p>';

    echo 'Logged out, return to <a href="https://palam.org">Palatines to America HOMEPAGE Click Here</a>';

    perch_members_login_form();



    }


    ?>


    </div></div>

    <div class="large-7 medium-7 small-12 columns">

    <div style="text-align: justify;text-justify: inter-word;"> <?php perch_content('about general'); ?></div>


    </div></div> </div> </div></div>

    <!-- / row --> <!-- ADDITIONAL_CONTENT_INSIDE OFFCANVAS - can be removed or left empty --></div><!-- /row --><!-- main offcanvas content ends here --><!-- close the off-canvas menu --><a class="exit-off-canvas"></a><!-- <=== DO_NOT_REMOVE, THIS IS CLOSE OFFCANVAS OVERLAY --></div><!-- </div></div></div> --><!-- here -->

    <!-- empty row --><!-- empty row for content below offcanvas row - can be deleted or left empty -->

    <div class="row footer"><!-- empty row -->

    <div class="column">

    <div style="margin-left:35px;" ><?php perch_content('copyright info'); ?><br /><br /> </div><div class="large-6 columns"><div class="row"><div class="large-4 columns"><?php perch_content('supportimage1'); ?></div><div class="large-4 columns"><?php perch_content('supportimage2'); ?></div><div class="large-4 columns"><?php perch_content('supportimage3'); ?></div></div></div><div class="large-6 columns"></div> </div></div></div></div>

    <!-- / row .wrapper --><!-- END -->

    <link rel="stylesheet" href="assets522/css/foundation.css" />

    <link rel="stylesheet" href="assets522/css/styles.css" />

    <script src="assets522/js/vendor/jquery.js"></script><!-- Global jquery -->

    <script src="assets522/js/foundation.min.js"></script><script>$(document).foundation();</script></body></html>

    ~~~

    ~~

    <?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 a regular browser window, it will not logout correctly until you dump the browser cache. Is this a bug? The code I am using is the suggest code from the members app newest version.

    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