Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Can't get to admin - redirects - fresh install

Can't get to admin - redirects - fresh install

Views: 2,621

Results 1 to 4 of 4
28 Jun 2011, 9:32 PM
#1
jackrabbit avatar

jackrabbit

New Zenner

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

Can't get to admin - redirects - fresh install

I have read through many threads of this same problem and have tried as best I can to make sure everything is in order as it should be, but I appear to be missing something. I am unable to log in to admin after a fresh install. I get messages stating "The webpage at http://www.motionartist.me/cartwheels/OxCart75126/login.php has resulted in too many redirects."

I spoke with a godaddy tech who said everything should work as I have it and suggested I ask this forum if there's something in the database I can change to fix the redirect loop.

One thing odd I noticed on one thread was that moving the admin folder was mentioned as part of the set up and install. I saw and followed instructions for renaming the admin folder, but never saw any instructions to move it.

The website I am attempting to use this on is just a sandbox for me to learn this on. (https://www.motionartist.me)

Thanks in advance for any help.

Here's my configure.php:

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2011-06-28 10:32:29 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://www.motionartist.me'); define('HTTPS_SERVER', 'https://www.motionartist.me'); define('HTTP_CATALOG_SERVER', 'http://www.motionartist.me'); define('HTTPS_CATALOG_SERVER', 'https://www.motionartist.me'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/cartwheels/OxCart75126/'); define('DIR_WS_CATALOG', '/cartwheels/'); define('DIR_WS_HTTPS_ADMIN', '/cartwheels/OxCart75126/'); define('DIR_WS_HTTPS_CATALOG', '/cartwheels/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/content/c/e/l/celkins/html/cartwheels/OxCart75126/'); define('DIR_FS_CATALOG', '/home/content/c/e/l/celkins/html/cartwheels/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'forneyartsshop.db.5758834.hostedresource.com'); define('DB_SERVER_USERNAME', 'forneyartsshop'); define('DB_SERVER_PASSWORD', 'XXX'); define('DB_DATABASE', 'forneyartsshop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/content/c/e/l/celkins/html/cartwheels/cache'); // EOF
28 Jun 2011, 11:11 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Can't get to admin - redirects - fresh install

When I try this address: http://motionartist.me/cartwheels/OxCart75126/index.php (notice that it's without the www. in front) I see that it's trying to redirect to http://www.motionartist.me/cartwheels/OxCart75126/index.php

Have you made any changes to any .htaccess files?

Vger

29 Jun 2011, 4:00 PM
#3
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Can't get to admin - redirects - fresh install

I second that, probably an htaccess problem.

By the way, for security reasons you might want to make a new database name, db user, and rename your admin. No-one should know what the credentials are, but now they're posted in a public place ;)

13 Jul 2011, 9:58 PM
#4
osiyo avatar

osiyo

New Zenner

Join Date:
Sep 2008
Posts:
11
Plugin Contributions:
0

Re: Can't get to admin - redirects - fresh install

Just installed 1.3.9h - when going to admin login i get this error nessage (Too many redirects occurred trying to open This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.)

My site is ob Godaddy Hosting
Any help?
Osiyo