Home Learn More Purchase Knowledge Base Support Contact

Community Forums

Forum » KBPublisher General discussion

Blank page when user clicking registration link

(3 posts)

Tags:


  1. markg
    Member

    When a user gets the email to click on the link to navigate to the admin page after registration, it ends up being blank. It directs to the URL:

    http://{site name}/{folder}/admin/logout.php.

    The page is blank, however if you press refresh it brings up the login page. Any ideas of whats going on or what I am doing wrong?

    SAMPLE EMAIL
    _________________________

    Dear John Doe,

    Your login info was changed

    ------------------------------
    LOGIN DETAILS:
    ------------------------------
    Login/Username: jdoe
    Password: ****** (as you specified with registration)
    ------------------------------

    Use link below to login to Knowledgebase:
    http://{site name}/{folder}/admin/

    NOTE: We suggest that you change your password after logging in the first time.

    --

    Posted 9 months ago #
  2. try this, replace content of admin/logout.php with
    ------------
    <?php
    $page = (!empty($_GET['msg'])) ? 'login.php?msg=' . $_GET['msg'] : 'login.php';
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <html>
    <head>
    <title></title>
    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    if(parent.frames['top_navigation']) {
    var redirectURL = top.document.location.href='<?php echo $page; ?>';
    } else {
    var redirectURL = document.location.href='<?php echo $page; ?>';
    }
    </SCRIPT>
    <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=document.write(redirectURL)">
    </head>

    <body>

    </body>
    </html>

    Posted 9 months ago #
  3. markg
    Member

    Worked like a charm! Thank you very much.

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

© 2008 Double Jade LLC | customer.service@kbpublisher.com