Zen Cart Logo
Forums / General Questions / 'Click Here to open the Admin area' doesn't work!

'Click Here to open the Admin area' doesn't work!

Locked

Views: 2,319

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 May 2006, 4:54 PM
#1
magician742 avatar

magician742

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

'Click Here to open the Admin area' doesn't work!

Hi!

I have searched and searched and read so many wonderful posts but none of them tackles my problem.

I am a Zen Cart newbie and have followed the installation to the letter. Even received the Congratuations message you have successfully installed Zen Cart on your system.

Great! But when I click to open the Admin area, it comes up with 'Redirection limit for the URL exceeded. This may be caused by cookies that are blocked.' AndI can go no futher.

I looked in my configure.php for any missing '/' but found none. My paths appear to be correct.

I have contacted my host re: this error message and they say it is my error. I am using Firefox and not blocking any cookies. I tried the page on IE and it just hung, never loaded the Admin page at all.

I'm about to bail due to frustration.

Can somebody take pity on this Zen newbie and help? Thank-you.

Magic aka Angie

11 May 2006, 4:58 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: 'Click Here to open the Admin area' doesn't work!

Could you post the file, from the server, without your username and password for:

/admin/includes/configure.php

11 May 2006, 6:37 PM
#3
magician742 avatar

magician742

New Zenner

Join Date:
May 2006
Posts:
18
Plugin Contributions:
0

Re: 'Click Here to open the Admin area' doesn't work!

Hi, Ajeh!

Here is the /admin/includes/configure.php file. I blanked out the username/password and also the Server and Catalog Server. I hope you or someone can help me!

Angie (Magic)

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.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 */ define('HTTP_SERVER', ''); define('HTTPS_SERVER', ''); define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // 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', '/zencart/admin/'); define('DIR_WS_CATALOG', '/zencart/'); define('DIR_WS_HTTPS_ADMIN', '/zencart//admin/'); define('DIR_WS_HTTPS_CATALOG', '/zencart//'); 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', ''); define('DIR_FS_CATALOG', ''); 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', 'localhost'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'mysql' // 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', 'database'); define('DIR_FS_SQL_CACHE', ''); ?>