Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2009
    Posts
    4
    Plugin Contributions
    0

    Default Blank page on create account

    I am curently building a new site. I have made some minor modifications, but nothing to the zen_session_recreate function. When trying to create a new account, I get stuck at a blank page. I found that it stops at the line that calls zen_session_recreate. Oddly enough, I don't run into that problem when logging onto an existing account.
    I am using PHP Version 5.1.6 and Zen-Cart 1.3.8a.

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Blank page on create account: zen_session_recreate

    It wont help much when you tell us what you haven't changed. In fact, what did you change that causes this problem?

  3. #3
    Join Date
    Oct 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Blank page on create account

    I added some more $_SESSION[] strings for other pages not related to the login process. I wouldn't expect that to cause problems on zen_session_recreate. As I said, the logging in is not a problem, but creating a new account is. It makes no sence to me.

    After doing some reading, I updated the function with:

    PHP Code:
    function zen_session_recreate() {
        global 
    $http_domain$https_domain$current_domain;
          if (
    $http_domain == $https_domain) {
          
    // chaged to  
          
    $oldSessID session_id();
          
    session_regenerate_id();
          
    $newSessID session_id();
          
    whos_online_session_recreate($oldSessID$newSessID);
          
    /* removed
          $saveSession = $_SESSION;
          $oldSessID = session_id();
          session_regenerate_id();
          $newSessID = session_id();
          session_id($oldSessID);
          session_id($newSessID);
          if (STORE_SESSIONS == 'db') {
          session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc');
          }
          session_start();
          $_SESSION = $saveSession;
          if (IS_ADMIN_FLAG !== true) {
            whos_online_session_recreate($oldSessID, $newSessID);
          }
          */
        
    } else {
           
    //unchanged section ...
        
    }
      } 
    This did not change anything. I am still open to any ideas.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Blank page on create account

    I think you're chasing a red herring.
    I don't know how you came up with the idea that your problem is with the recreate-session code.

    Your problem is almost certainly a result of incorrectly editing one of the language files ... probably the one for create_account.

    Related resources from the FAQ area:
    - "troubleshooting blank pages": https://www.zen-cart.com/tutorials/index.php?article=82
    - "headers already sent" errors: https://www.zen-cart.com/tutorials/index.php?article=87
    - and lots of others easily found by using the FAQ search
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Blank page on create account

    Fantastic, the error log file has shown me a pattern I can follow.

    Thanks.

  6. #6
    Join Date
    Oct 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Blank page on create account

    I too have the same problem - When I try to create a new account, it ends up on a blank page -

    I did not make any changes that I know of -

    If you figured out your problem, can you share it here with me.

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,017
    Plugin Contributions
    61

    Default Re: Blank page on create account

    https://www.zen-cart.com/tutorials/index.php?article=82

    This is almost certainly the issue.

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

 

 

Similar Threads

  1. create account page blank, no account created
    By tonymac in forum General Questions
    Replies: 9
    Last Post: 11 Mar 2010, 12:16 AM
  2. Blank Page on Create Account Success
    By RAM1001 in forum General Questions
    Replies: 5
    Last Post: 31 Aug 2009, 11:44 AM
  3. Blank Page after create account
    By Ruturaj in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2009, 03:15 PM
  4. create account blank page
    By winky in forum General Questions
    Replies: 5
    Last Post: 31 Jul 2008, 03:13 AM
  5. Blank page after Create Account
    By Doodlebuckets in forum General Questions
    Replies: 1
    Last Post: 2 Jan 2008, 06:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR