Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default the redirect to the login is working in my old side but is not working in my new host

    I have just moved my site to a new host. I met the same problem. So the redirect to the login is working in my old side but is not working in my new host. I am trying to fix it.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: zen_redirect not working? ...

    Since you haven't given a link to look at (at least not one with a Zen Cart present) we can only make wild guesses.

    The most common reason that I've seen for redirects not working is because some output has already been sent. Under those circumstances it's not possible to redirect.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default Re: zen_redirect not working? ...

    Hi kuroi,
    Thanks for your help. I am sorry that for some reason I can not provide the link. As I mentioned in my earlier post, it works in my old host.
    KL

  4. #4
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default Re: zen_redirect not working? ...

    The version I am using is 1.3.8a

  5. #5
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: the redirect to the login is working in my old side but is not working in my new

    Sounds like you've missed one or more steps: https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    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.

  6. #6
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default Re: the redirect to the login is working in my old side but is not working in my new

    I have done it in a way very similar to the tutorial but not as thorough as it. The test installation looks working well except I have not tested the redirect. Probably I have to do it one more time. Just getting impatient.

  7. #7
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default Re: the redirect to the login is working in my old side but is not working in my new

    DrByte,
    I found out that the header function is not working after it run
    require('includes/autoload_func.php');
    in the application_top
    Any idea?
    KL

  8. #8
    Join Date
    Jan 2004
    Posts
    66,363
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: the redirect to the login is working in my old side but is not working in my new

    .

    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.

  9. #9
    Join Date
    Sep 2004
    Posts
    18
    Plugin Contributions
    0

    Default Re: the redirect to the login is working in my old side but is not working in my new

    Finally I am able to get it work but cannot explain this. I copied the content of the problem php file to another php which works. Then I saved the revised php file with the old filename. It works fine. I am sure there are no syntax error in the php code nor spaces at the beginning and end of php file.

 

 

Similar Threads

  1. v139h redirect 301 working on one store but on the other
    By BrooklynArtist in forum General Questions
    Replies: 3
    Last Post: 10 Aug 2012, 08:18 PM
  2. redirect not working and host says its not their problem
    By MHulak in forum Setting Up Categories, Products, Attributes
    Replies: 40
    Last Post: 15 May 2012, 03:26 AM
  3. Replies: 2
    Last Post: 7 Jul 2010, 11:34 PM
  4. New user... love the program, but custom templates are not working...
    By gsteiner in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Aug 2008, 04:44 PM
  5. Replies: 3
    Last Post: 24 Oct 2007, 02:55 AM

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