Posts by ckfs

    FYI the go around for the Login issue for the CMS. We figured out what page we should have been getting to after we are logged in. Then type in the address to the CMS page and viola it is working.

    Still an issue with the logout. The page is not going to the page we want.






    We do not want to get the blank page at /members/ we want to go directly to another website. Actually, the member's index.php page is not blank but we are not getting there. Please help with this -- working on this for a long time. No resolution in sight. we have tried typing in / but that does not take you to the website. /members/ does not take you to the index page in the member's section either. What is wrong with that part of the code. This is the original code.

    I can't get in to the CMS to do that- that is one of the problems but here is the error log. What does this mean I did finally get the server fixed so the server errors are seen. Perch debug is not working. Nothing showing there.

    [Tue Apr 13 08:30:34.852899 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Content-Length: 71\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.852934 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Content-Type: text/html; charset=UTF-8\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.852955 2021] [:error] [pid 1957643:tid 47164318918400] [client] < X-Varnish: 19620594\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.852966 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Age: 0\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.852996 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Via: 1.1 varnish (Varnish/5.0)\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.853012 2021] [:error] [pid 1957643:tid 47164318918400] [client] < X-Cache: MISS\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.853044 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Accept-Ranges: bytes\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.853068 2021] [:error] [pid 1957643:tid 47164318918400] [client] < Connection: keep-alive\r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.853074 2021] [:error] [pid 1957643:tid 47164318918400] [client] < \r, referer: https://www.palamgermangenealo…

    [Tue Apr 13 08:30:34.853125 2021] [:error] [pid 1957643:tid 47164318918400] [client] * Connection #0 to host left intact, referer: https://www.palamgermangenealo…

    Ok reset all files to original here are the problems.

    1. When we log out of members only section you get to a blank page. /members/ page which would be the index.php page that you login on. We have a link on that page that take you back to the right place. Page is blank -- no code on the page either Nothing. Logout file is below I is from the original software but does not work. It seems to log you out if you don't test it hundreds of times.





    ?> This is the logout.php

    2. Have finally got a sense of the issues with the login pages for the CMS, if you try to reset the password it tries to get to the reset password page and you get this


    Nothing is being passed so the page is blank.

    Again if you try to login with your credentials you can but when you hit login you get to a blank page with nothing on it. There is something terribly wrong. We have found that two of the adms has expired and do not know how to reset that. But the one that hasn't won't work either. How do you reset the file that puts in expired into the database.

    Really need help with this it is a huge site and would have to be totally redone and gbs of data re-entered. Please some one give us a clue with this.

    Does the members-only section code need to be updated to 1.6? The folder says one thing but the code is really 3.1.4 Is that the problem? I have made many customized templates using the code given in the 1.4 templates and have a secure folder outside the public HTML directory. Is that going to be a problem if I update the 1.4 to 1.6 version? Will that all have to be undone. It has been so long ago that I did that I do not know where the code to make a secure folder outside the public directory is. Would I have to change that to work with 1.6. Where did you have to put that in 1.4

    Here are the codes we changed to fix the Logout issue did it cause us to be locked out of Perch CMS?

    We have version 3.1.4 of Perch with Version 1.4 of Members only section. Members only section pages (not coding) are highly customized so we would prefer to keep them as there are if possible, but need the logout page to work correctly

    from logout.php file

    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.






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


    $_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()'; }


    $page = $_SERVER['PHP_SELF'];

    $sec = "10";

    echo '<a href="">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">


    <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>


    <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">


    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>


    }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="">RENEW NOW</a> For problems contact, <a href="">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="">RENEW NOW</a>.</p>';

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





    <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>