Admin issue

Locked

Started by ploesch on 16 Dec 2006, 1:46 AM · Views: 1,742

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Dec 2006, 1:46 AM
#1
ploesch avatar

ploesch

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Admin issue

Hi all,
I am new to Zen, and only a little less new to PhP and web programming.

Here's the deal, I have installed Zen, and everything seems OK.

However, when I log into the admin panel I can see in the URL there is an "zenAdminID" variable being passed. It wouldn't be a real big issue since I am unlikely to be administering the site from a remote location, but I would still be more comfortable if the ID was handled properly.

I probably wouldn't have even realized that it wasn't being handled properly if it wasn't for trying to use EasyPopulate Standard. Standard isn't passing the variable, so if I try to download or create a file I get booted to the login screen.

I can work around this by copying the link and appending it in front of the zenAdminID variable, but that isn't an elegant solution. I'd rather have it working properly if at all possible.

What setting do I have wrong that is causing this variable to be passed in the URL?

Server OS: Windows 2000
Database: MySQL 4.1.21-community-nt
PHP Version: 5.1.4 (Zend: 2.1.0)
HTTP Server: Microsoft-IIS/5.0
Zen Cart: v1.3.6 (Fresh Installation)

EasyPopulate: v1.2.5.4

16 Dec 2006, 1:48 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Admin issue

The zenid will be present for a click and then go away ... if you are properly configured ... and only show when you go between non-secure and secure pages ...

It should not show all of the time ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Dec 2006, 1:50 AM
#3
ploesch avatar

ploesch

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Admin issue

Ajeh:

The zenid will be present for a click and then go away ... if you are properly configured ... and only show when you go between non-secure and secure pages ...

It should not show all of the time ...

It shows all the time unfortunately. Any Idea what settings I should check? I am pretty sure it's a configuration issue.

Server OS: Windows 2000
Database: MySQL 4.1.21-community-nt
PHP Version: 5.1.4 (Zend: 2.1.0)
HTTP Server: Microsoft-IIS/5.0
Zen Cart: v1.3.6 (Fresh Installation)

EasyPopulate: v1.2.5.4

16 Dec 2006, 1:52 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Admin issue

What happens if you go to the Admin in FireFox if using IE at the moment, or IE if using FireFox at the moment? If you don't have both, and were to close all browser windows and clear your cache and cookies ... what happens?

What are your Session Settings?

What does the file, from the server, without your username and password look like for:
/admin/includes/configure.php

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Dec 2006, 2:09 AM
#5
ploesch avatar

ploesch

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Admin issue

I have tried with both, and I get the same results.

Session Attr:
C Dom - True
Force - False
Check SSL - False (No SSL currently)
Chk usr ag - False
Check IP - False
Prevent Spider - True
Recreate sesion - True
IP to host conv - True

<?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 */ /*************** 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://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', 'http://www.wilcoimports.com'); define('HTTPS_SERVER', 'https://www.wilcoimports.com'); define('HTTP_CATALOG_SERVER', 'http://www.wilcoimports.com'); define('HTTPS_CATALOG_SERVER', 'https://www.wilcoimports.com'); // 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', '/cart/admin/'); define('DIR_WS_CATALOG', '/cart/'); define('DIR_WS_HTTPS_ADMIN', '/cart/admin/'); define('DIR_WS_HTTPS_CATALOG', '/cart/'); 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', 'D:/wilcoweb/cart/admin/'); define('DIR_FS_CATALOG', 'D:/wilcoweb/cart/'); 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'); define('DB_SERVER_USERNAME', 'XXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXX define('DB_DATABASE', 'store'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // 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', 'database'); define('DIR_FS_SQL_CACHE', 'D:/wilcoweb/cart/cache'); ?>

Thank you very much for your assistance Ajeh, you are the best. :)

Server OS: Windows 2000
Database: MySQL 4.1.21-community-nt
PHP Version: 5.1.4 (Zend: 2.1.0)
HTTP Server: Microsoft-IIS/5.0
Zen Cart: v1.3.6 (Fresh Installation)

EasyPopulate: v1.2.5.4

16 Dec 2006, 2:19 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Admin issue

Kind of weird ...

Catalog behaves ...

But your Admin doesn't ...

I can cut off the zenAdminID from the URL and then it behaves ... but it should not work like this ...

What version Zen Cart do you think you are running?

What do you see in the Admin ... Tools ... Server Info ... from just below the menubar up to and including the PHP Version X.X.X in the colored area?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Dec 2006, 6:15 PM
#7
ploesch avatar

ploesch

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Admin issue

It's all in my sig, but here's the actual text from the site:

Server Host: (10.0.0.3)
Database Host: localhost (127.0.0.1)
Server OS:
Database: MySQL 4.1.21-community-nt
Server Date: 12/18/2006 10:12:38
Database Date: 12/18/2006 10:12:38
Server Up Time:
PHP Version: 5.1.4 (Zend: 2.1.0)
HTTP Server: Microsoft-IIS/5.0

Zen Cart 1.3.6
Database Patch Level: 1.3.6
v1.3.6 [2006-11-21 13:51:34] (Fresh Installation)

PHP Version 5.1.4

I swear server OS showed before, but I could be wrong. It's a win2000 Server fully patched.

Server OS: Windows 2000
Database: MySQL 4.1.21-community-nt
PHP Version: 5.1.4 (Zend: 2.1.0)
HTTP Server: Microsoft-IIS/5.0
Zen Cart: v1.3.6 (Fresh Installation)

EasyPopulate: v1.2.5.4