Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Can't get in to Admin

Can't get in to Admin

Locked

Views: 4,226

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
20 Jun 2006, 7:23 PM
#1
coley144 avatar

coley144

New Zenner

Join Date:
Jun 2006
Posts:
19
Plugin Contributions:
0

Can't get in to Admin

Hi,

Whenever I log into admin I just get 'file not found.' The admin log in page comes up but when I fill in my details and press enter I just get 'file not found.' Have turned off SSL. Have tried reinstalling whole thing and admin folder. Tried changing htpaccess thingy.

This is all very new to me and I've looked through and tried all the previous suggestions in the last few pages. Any suggestions?

The Zencart version is the latest. Am on oneandone Linux hosting. The two configure files are:

<?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', 'http://www.talentedtrinkets.com'); define('HTTPS_SERVER', 'https://sslrelay.com/talentedtrinkets.com'); define('HTTP_CATALOG_SERVER', 'http://www.talentedtrinkets.com'); define('HTTPS_CATALOG_SERVER', 'https://sslrelay.com/talentedtrinkets.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', '/catalogue/admin/'); define('DIR_WS_CATALOG', '/catalogue/'); define('DIR_WS_HTTPS_ADMIN', '/catalogue/admin/'); define('DIR_WS_HTTPS_CATALOG', '/catalogue/'); 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', '/kunden/homepages/9/d161888078/htdocs/Catalogue/admin/'); define('DIR_FS_CATALOG', '/kunden/homepages/9/d161888078/htdocs/Catalogue/'); 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', 'db192.oneandone.co.uk'); // 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 'db' // 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', '/kunden/homepages/9/d161888078/htdocs/Catalogue/cache'); ?>

And:

<?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 // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://www.talentedtrinkets.com'); define('HTTPS_SERVER', 'https://sslrelay.com/talentedtrinkets.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', '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_CATALOG', '/catalogue/'); define('DIR_WS_HTTPS_CATALOG', '/catalogue/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); 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_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * 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_CATALOG', '/kunden/homepages/9/d161888078/htdocs/Catalogue/'); 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('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'db192.oneandone.co.uk'); // 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 'db' // 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', '/kunden/homepages/9/d161888078/htdocs/Catalogue/cache'); ?>

Any ideas? And have I left in any hackable info?

Thanks!

Claire

20 Jun 2006, 8:57 PM
#2
frostyy avatar

frostyy

New Zenner

Join Date:
Jun 2006
Posts:
14
Plugin Contributions:
0

Re: Can't get in to Admin

I have the exact same problem, it just started today...this is scary!

20 Jun 2006, 9:17 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

Claire ... you have a mixed case on your site ...

You have in the configure.php

/catalogue/
/catalogue/admin/

But your site is using
/Catalogue/
/Catalogue/admin/

rename the directory for your site from:

/Catalogue

to be:

/catalogue

You really do not want upcase on the web ... no one would think to type it that way ...

20 Jun 2006, 9:18 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

Claire ... also fix any uppercase for Catalogue and change to lowercase catalogue in both of your configure.php files ...

20 Jun 2006, 9:25 PM
#5
frostyy avatar

frostyy

New Zenner

Join Date:
Jun 2006
Posts:
14
Plugin Contributions:
0

Re: Can't get in to Admin

Any idea why my login page won't show up now?

https://www.martianchurch.com/shop/admin/

this was working on the weekend...

20 Jun 2006, 9:52 PM
#6
vger avatar

vger

Past Contributor

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

Re: Can't get in to Admin

Well, first of all you don't appear to have a full ssl certificate on your website, and that link is https.

You also have your website configured to use https connections for a full ssl cert - so those areas don't load either.

If you do actually have a full ssl cert installed then it may be that your host ran some upgrade or other which destablised any full ssl certs on that server - in which case get on to them and tell them what's happened.

Vger

frostyy:

Any idea why my login page won't show up now?

https://www.martianchurch.com/shop/admin/

this was working on the weekend...

20 Jun 2006, 10:58 PM
#7
frostyy avatar

frostyy

New Zenner

Join Date:
Jun 2006
Posts:
14
Plugin Contributions:
0

Re: Can't get in to Admin

Yeah, it looks like the SSL is out of date. Thanks.

21 Jun 2006, 4:13 PM
#8
coley144 avatar

coley144

New Zenner

Join Date:
Jun 2006
Posts:
19
Plugin Contributions:
0

Re: Can't get in to Admin

Hi

Well I gave that a go and now I've got...

Warning: main(/kunden/homepages/9/d/htdocs/Catalogue/includes/autoload_func.php): failed to open stream: No such file or directory in /homepages/9/d/htdocs/catalogue/admin/includes/application_top.php on line 145

Fatal error: main(): Failed opening required '/kunden/homepages/9/d/htdocs/Catalogue/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /homepages/9/d/htdocs/catalogue/admin/includes/application_top.php on line 145

Am going to try the install again and not use capitals.

Coley

21 Jun 2006, 4:16 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

NOTE: make sure the directory on the site is set as:
/catalogue

Then make sure you use lowercase whenever you refer to it ...

unix is fussy about that Catalogue is not the same as catalogue ... :cry:

21 Jun 2006, 4:19 PM
#10
coley144 avatar

coley144

New Zenner

Join Date:
Jun 2006
Posts:
19
Plugin Contributions:
0

Re: Can't get in to Admin

Thank you I'm going to be very careful about that now! Will tell you how it goes.

21 Jun 2006, 4:27 PM
#11
coley144 avatar

coley144

New Zenner

Join Date:
Jun 2006
Posts:
19
Plugin Contributions:
0

Re: Can't get in to Admin

OMG I'm actually in! Thank you so much! I'm sure I'll be back!

21 Jun 2006, 4:28 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

Thanks for the update and glad that you are now back up and running ...

Fixing the case of your directory and how that was listed in the configure.php files does make a lot of differences ...

Good luck with your shop!

30 Jun 2006, 5:53 PM
#13
marybeth avatar

marybeth

New Zenner

Join Date:
Mar 2006
Posts:
6
Plugin Contributions:
0

Re: Can't get in to Admin

I am having a similar problem. Actually I had two problems, down to one!

First problem was not being able to access my shop at all https://www.zuzuworld.com/zuzushop

Figured out that that problem was because I changed my admin password for my hosting company and forgot to change it in a couple of places in vonfigure.php . Fixed that, then went to log in to the zencart admin site, and got the following errors:

Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /home/zuzuworl/public_html/zuzushop/admin/includes/languages/english.php on line 59

Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /home/zuzuworl/public_html/zuzushop/admin/includes/languages/english.php on line 59

Fatal error: main(): Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zuzuworl/public_html/zuzushop/admin/includes/languages/english.php on line 59

I have not upgraded, nor really changed anything here in a few months. I cannot figure out why zencart thinks these files don't exist. Is it a CHMOD/properties issue? The folders it cites are both 755, and the files do exist!

Just when I thought everything was working fine (a big accomplishment for a non-programmer like me!)

Any help would be much appreciated!

MaryBeth

30 Jun 2006, 7:49 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Can't get in to Admin

marybeth:

Figured out that that problem was because I changed my admin password for my hosting company and forgot to change it in a couple of places in vonfigure.php . Fixed that, then went to log in to the zencart admin site, and got the following errors:
Sounds like you have some syntax errors in your edits within your configure.php files, causing them to not be loaded/interpreted properly. The DIR_FS_CATALOG definition is set in those files, and if the file are incomplete, corrupt, or have syntax errors, then you'll get the kinds of errors you're reporting.

3 Jul 2006, 6:47 PM
#15
marybeth avatar

marybeth

New Zenner

Join Date:
Mar 2006
Posts:
6
Plugin Contributions:
0

Re: Can't get in to Admin

DrByte:

Sounds like you have some syntax errors in your edits within your configure.php files, causing them to not be loaded/interpreted properly. The DIR_FS_CATALOG definition is set in those files, and if the file are incomplete, corrupt, or have syntax errors, then you'll get the kinds of errors you're reporting.

Oh I am so in over my head. And there are orders on my site that I am trying to access!

The only thing I changed in the configure.php file was the database password. Here is the rest of it....anything leap out at you? Desperate for help,

MaryBeth

<?php // // +----------------------------------------------------------------------+ // |Zen Cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2004 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]](mailto:[email protected]) so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers define('HTTP_SERVER', 'http://www.zuzuworld.com'); // Secure webserver: eg, <https://localhost> - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.zuzuworld.com'); // secure webserver for checkout procedure? define('ENABLE_SSL', '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_CATALOG', '/zuzushop/'); define('DIR_WS_HTTPS_CATALOG', '/zuzushop/'); 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/'); define('DIR_WS_PHPBB', '/'); // * 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_CATALOG', '/home/zuzuworl/public_html/zuzushop/'); 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('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // 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', 'XXXXXXXXl'); define('DB_SERVER_PASSWORD', 'XXXXXXXX'); define('DB_DATABASE', 'zuzuworl_catalog'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // 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', '/home/zuzuworl/public_html/zuzushop/cache'); ?>
3 Jul 2006, 6:49 PM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

Did you overwrite your file:
/admin/includes/configure.php

With your catalog file:
/includes/configure.php

3 Jul 2006, 7:04 PM
#17
marybeth avatar

marybeth

New Zenner

Join Date:
Mar 2006
Posts:
6
Plugin Contributions:
0

Re: Can't get in to Admin

Ajeh:

Did you overwrite your file:
/admin/includes/configure.php

With your catalog file:
/includes/configure.php

I have no idea....but if they are named the same it is quite possible? Is there an easy way to tell?

MaryBeth

3 Jul 2006, 7:12 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

The Admin configure.php in:
/admin/includes/configure.php

on your site should have in it things like:

  define('HTTP_SERVER', 'http://www.your_domain_name.net');
  define('HTTPS_SERVER', 'https://www.your_domain_name.net');
  define('HTTP_CATALOG_SERVER', 'http://www.your_domain_name.net');
  define('HTTPS_CATALOG_SERVER', 'https://www.your_domain_name.net');

  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'true');
  define('ENABLE_SSL_ADMIN', 'true');
3 Jul 2006, 7:24 PM
#19
marybeth avatar

marybeth

New Zenner

Join Date:
Mar 2006
Posts:
6
Plugin Contributions:
0

Re: Can't get in to Admin

Ajeh:

The Admin configure.php in:
/admin/includes/configure.php

on your site should have in it things like:

define('HTTP_SERVER', 'http://www.your_domain_name.net');
define('HTTPS_SERVER', 'https://www.your_domain_name.net');
define('HTTP_CATALOG_SERVER', 'http://www.your_domain_name.net');
define('HTTPS_CATALOG_SERVER', 'https://www.your_domain_name.net');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');



UH OH.  To my untrained eye, these look the same!  Now what do I do?  Can I get a new includes/configure file somewhere to replace the one I botched?  Of course, in the backiup I have of the original installation files, there is no config file to be found, and in my "Things MB Changed" folder I only have one config file, and it looks just like the two below!

Ideas? 


Here is my admin configure:

<?php
//


// Define the webserver and path parameters
  // Main webserver: eg, <http://localhost> - should not be empty for productive servers
  define('HTTP_SERVER', 'http://www.zuzuworld.com');
  // Secure webserver: eg, <https://localhost> - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.zuzuworld.com');
  // secure webserver for checkout procedure?
  define('ENABLE_SSL', '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_CATALOG', '/zuzushop/');
  define('DIR_WS_HTTPS_CATALOG', '/zuzushop/');

  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/');

  define('DIR_WS_PHPBB', '/');

// * 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_CATALOG', '/home/zuzuworl/public_html/zuzushop/');

  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('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// 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', 'XXXXXXXXX');
  define('DB_SERVER_PASSWORD', 'XXXXXXXXX');
  define('DB_DATABASE', 'zuzuworl_catalog');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', '/home/zuzuworl/public_html/zuzushop/cache');

?>

-------------

And here is my includes configure

<?php
//
// +----------------------------------------------------------------------+
// |Zen Cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 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]](mailto:[email protected]) so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
//

// Define the webserver and path parameters
  // Main webserver: eg, <http://localhost> - should not be empty for productive servers
  define('HTTP_SERVER', 'http://www.zuzuworld.com');
  // Secure webserver: eg, <https://localhost> - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.zuzuworld.com');
  // secure webserver for checkout procedure?
  define('ENABLE_SSL', '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_CATALOG', '/zuzushop/');
  define('DIR_WS_HTTPS_CATALOG', '/zuzushop/');

  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/');

  define('DIR_WS_PHPBB', '/');

// * 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_CATALOG', '/home/zuzuworl/public_html/zuzushop/');

  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('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// 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', 'XXXXXXXX');
  define('DB_SERVER_PASSWORD', 'XXXXXXXX');
  define('DB_DATABASE', 'zuzuworl_catalog');
  define('USE_PCONNECT', 'false'); // use persistent connections?
  define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

  // 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', '/home/zuzuworl/public_html/zuzushop/cache');

?>
3 Jul 2006, 8:38 PM
#20
ajeh avatar

ajeh

Oba-san

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

Re: Can't get in to Admin

You overwrote the Admin configure.php with the Catalog configure.php ... :eek:

Happen to have a backup copy?