New Zenner
- Join Date:
- Dec 2008
- Posts:
- 1
- Plugin Contributions:
- 0
admin problem help in configuring admin configure.php! help guys
guys new here i gotta problem
im running a zencart in my localhost im using easyphp here
i was having problem bout my configure.php in the admin
i dont know where i go wrong i can see the login page for the admin but as i login even with the exact username and password it doesn't apply i tried changing the password through my phpmyadmin but it doesn't still works even in my customer login it doesn't also log even with exact username and password
heres the code for the admin configure.php
<?php // Define the cprdevelopment.com and path parameters define('HTTP_SERVER', 'http://127.0.0.1/cprstore'); // eg, <http://localhost> or - <https://localhost> should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://127.0.0.1/cprstore'); define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1/cprstore'); define('ENABLE_SSL_CATALOG', 'false'); // secure cprdevelopment.com for catalog module // * DIR_WS_* = cprdevelopment.com directories (virtual/URL) define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_WS_HTTPS_ADMIN', '/admin/'); // absolute path required define('DIR_WS_HTTPS_CATALOG', '/'); // absolute path required 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/'); define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/'); // * DIR_FS_* = Filesystem directories (local/physical) define('DIR_FS_FILE_MANAGER_ROOT', 'cprlocal/admin/'); // path to starting directory of the file manager define('DIR_FS_ADMIN', 'cprlocal/admin/'); // absolute pate required define('DIR_FS_CATALOG', 'c:/web/cprlocal/'); // absolute path required define('DIR_FS_CATALOG_MANAGER_ROOT', DIR_FS_CATALOG.'catalog_uploads'); define('DIR_FS_CATALOG_REQUEST_IMPORTER', DIR_FS_CATALOG.'php_export'); define('DIR_FS_CATALOG_UPLOAD_ROOT', DIR_FS_CATALOG.'catalog_uploads/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_UPLOAD', DIR_FS_CATALOG . 'catalog_uploads/'); define('DIR_FS_CUSTOMERS_IMPORTER', DIR_FS_CATALOG.'customers_export'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_CATALOG_BLOCKS', DIR_FS_CATALOG . 'includes/blocks/'); define('DIR_FS_CATALOG_BOXES', DIR_FS_CATALOG . 'includes/boxes/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', '***'); define('USE_PCONNECT', 'fals'); // use persisstent connections? define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG . 'tmp'); // <SEE_NOTE_BELOW> define('STORE_SESSIONS',''); // leave empty '' for default handler or set to 'mysql' // <GFII_START_NOTE> // must be /var/tmp when in live, for the meantime sessions dump under catalog(testsite)/tmp // since application has no write access on /var/tmp at the moment // <GFII_END_NOTE> ?>and heres for the configure.php outside the admin
<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [email protected] so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // // Define the cprdevelopment.com and path parameters define('HTTP_SERVER', 'http://127.0.0.1/cprstore'); // eg, <http://localhost> - should not be empty for productive servers define('HTTPS_SERVER', 'https://127.0.0.1/cprstore'); // eg, <https://localhost> - should not be empty for productive servers define('ENABLE_SSL', 'false'); // secure cprdevelopment.com for checkout procedure? // * DIR_WS_* = cprdevelopment.com directories (virtual/URL) define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_WS_HTTPS_CATALOG', '/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); 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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); // * DIR_FS_* = Filesystem directories (local/physical) define('DIR_FS_CATALOG', 'c:/web/cprlocal/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); // define our database connection define('DB_TYPE', 'mysql'); define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', '***'); define('USE_PCONNECT', 'false'); // use persistent connections? define('DIR_FS_SQL_CACHE', DIR_FS_CATALOG . 'tmp'); // <SEE_NOTE_BELOW> define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' // <GFII_START_NOTE> // must be /var/tmp when in live, for the meantime sessions dump under catalog(zen_cpr)/tmp // since application has no write access on /var/tmp at the moment // <GFII_END_NOTE> ?>is there something wrong with my configuration with the admin and the other config? please help guys helps are really appreciated
harold_cpr