Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Plugin Contributions
    0

    Default Admin page looping redirect on clean install

    I've just installed ZenCart and I am unable to access the administrative page due to a looping redirect. When I visit example.com/catalog/admin, I get the standard "The page isn't redirecting properly" error from Firefox, as the page attempts to continually 302 redirect to alert_page.php.

    I've tried a number of things to fix this, including temporarily removing the .htaccess file in the admin directory, making sure cookies are enabled, etc. Through some selective commenting I've found that the problem lies here in alert_page.php:

    require ('includes/application_top.php');

    When I comment this require out, the looping redirects stop. Obviously this could mean anything, but it's certainly something to go on. Anyway, is this a common issue, or is there any way to prevent the page from redirecting to the alerts_page? It looks like this page is just telling me to delete my zc_install dir (which i've already done) and move my admin page, which I have yet to do.

    Here is a copy of my ../admin/includes/configure.php file (with the identifying characteristics removed):

    http://pastebin.com/LKG658dJ

    Any help is appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin page looping redirect on clean install

    Quote Originally Posted by dwdw View Post
    It looks like this page is just telling me to ... move my admin page, which I have yet to do.
    Yes, it is.
    And doing so will be the quickest way to solve your problem.
    https://www.zen-cart.com/tutorials/index.php?article=33
    .

    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.

  3. #3
    Join Date
    Jun 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin page looping redirect on clean install

    Welp, that was easy enough; thanks for the quick help. The available documentation and setup information didn't really make it clear that moving the directory would be necessary, but sure enough that worked.

 

 

Similar Threads

  1. v151 Clean install, admin won't log in. WAMP
    By Pepperfire in forum Installing on a Windows Server
    Replies: 2
    Last Post: 9 Nov 2013, 09:57 PM
  2. Cannot access admin area after fresh/clean install
    By Schoralous in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 30 Sep 2011, 04:32 PM
  3. Blank White page after clean install
    By jittbug in forum Installing on a Windows Server
    Replies: 3
    Last Post: 23 Sep 2011, 04:46 AM
  4. upgrading with clean install makes me loose admin
    By antonios in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 14 May 2010, 11:49 AM

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