Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default Login take me to home page?

    I have found a few threads on this but none with any answers... After a customer logs in it takes them to the home page - from what I have read it should take them back to the last page they were viewing.

    I have a fairly new installation of 1.3.0.2, and tha only mods I have installed so far are:

    * SuperOrders
    * Froogle Feeder
    * Google XML Site Map
    * Froogle File Genorator (which I don't use anymore & can uninstall)

    I have also customized a few templates (mainly product pages)
    but I am wondering where to start troubleshooting this error.

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Posts
    26,032
    Plugin Contributions
    9

    Default Re: Login take me to home page?

    can you post a url...this is not normal behaviour as you know.

    If you have used the override system correctly, look at your altered files that may be associated with this.
    Last resort might be to re-upload the catalog files as there might have been something corrupt in a file. Use a good FTP client.
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Jul 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Login take me to home page?

    I'm running into the exact same problem. I'll see if I can narrow my problem... please anyone post anything that solves this problem.

    -- Fernando

  4. #4

    Default Re: Login take me to home page?

    I disabled my custom template and reverted to the Zen Cart default with no change...

    I tried looking at the tpl_login_default.php file to see if I can figure out where it picks up the previous page -- no luck yet...

    It this info stored in the database, or in a cookie, or is it passed allong in the url...

    I noted that I had a few mods installed, but they are all in the admin folder, so these shouldn't have anything to do with this, should they?

    Again, thanks to anyone who can shed a little light...

  5. #5

    Default Re: Login take me to home page?

    oh, and here is a link to my site...

    http://www.onlinestore-drumsonsale.c...roducts_id=530

    This is a link to one of the products where I want the customer taken back after they login...

    You can use this to login:

    test AT test DOT com
    password

  6. #6

    Default Re: Login take me to home page?

    I found...

    zen_back_link()

    which is on the shopping cart page - It's the continue shopping button, which takes the user back to the last item they viewed... This does work on my site.

    Do I need to add this to the login?

  7. #7
    Join Date
    Aug 2005
    Posts
    343
    Plugin Contributions
    0

    Default Re: Login take me to home page?

    Anybody ever figure anything out regarding this issue? We have the same problem -- seems like a lot of people have had this 'return to home page' when logging in issue.

    Wonder if there's a legitimate bug or configuration issue that could be tracked down.
    Currently using ZEN CART v. 1.3.6

  8. #8
    Join Date
    Sep 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: Login take me to home page?

    I have this problem too. Also when you are in the shopping cart and hit continue shopping it takes you to the home page. I want it to take the customer back to where they were.

  9. #9
    Join Date
    Sep 2006
    Location
    Toledo, OH.
    Posts
    10
    Plugin Contributions
    0

    Default Re: Login take me to home page?

    I am also experiencing similiar problem, i can successfully sign up for the site, and it says successful. I go to login and it says welcome guest! would you like to login? basically taking me back to the initial homepage. if i add to the shopping cart and go to checkout, i have to login, and once i do that i go back to home page and cart contents disappears. Basically i cant add products or go live until i get this matter resolved. i do have one test product out there. www.nykcsports.com i am using the nifty_zen template. any input would be helpful as i am getting very frustrated.

  10. #10
    Join Date
    Aug 2005
    Posts
    26,032
    Plugin Contributions
    9

    Default Re: Login take me to home page?

    To all:

    Carefully, follow this as this is not an overrideable file:

    FTP a copy of the includes/modules/pages/product_info/header_php.php file to you pc.

    Now rename the host copy to header_php.old

    Open the local file in an editor and add the following code in red:
    Code:
     // This should be first line of the script:
      $zco_notifier->notify('NOTIFY_HEADER_START_PRODUCT_INFO');
      
      $_SESSION['navigation']->set_snapshot(); 
      require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    
      // This should be last line of the script:
      $zco_notifier->notify('NOTIFY_HEADER_END_PRODUCT_INFO');
    ?>
    Save the edit, and upload back to your host.

    This should correct this action
    Zen-Venom Get Bitten
    Get Your Business Found

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Login name on home page
    By sanjeevg in forum General Questions
    Replies: 1
    Last Post: 3 Jul 2006, 04:47 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
  •