Forums / Installing on a Linux/Unix Server / Admin page looping redirect on clean install

Admin page looping redirect on clean install

Views: 1,682

Results 1 to 3 of 3
20 Jun 2011, 3:26 AM
#1
dwdw avatar

dwdw

New Zenner

Join Date:
Jun 2011
Posts:
2
Plugin Contributions:
0

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. :bigups:

20 Jun 2011, 4:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Admin page looping redirect on clean install

dwdw:

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.

20 Jun 2011, 5:04 AM
#3
dwdw avatar

dwdw

New Zenner

Join Date:
Jun 2011
Posts:
2
Plugin Contributions:
0

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.