Forums / Basic Configuration / Categories Issue

Categories Issue

Locked

Started by ginageick on 2 Jul 2009, 7:51 PM · Views: 3,277

Results 21 to 30 of 30
This thread is locked. New replies are disabled.
9 Jul 2009, 7:34 PM
#21
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Categories Issue

So you did not answer - - Did this ever work right and when???
I am back to Not believing anyone would manually enter 2500 products without checking to see that they were working.

So it either did work correctly - UNTIL???

Or these were not entered manually but upload by some other means.

Knowing how one got to where they are is important to determining how to correct

Zen-Venom Get Bitten

9 Jul 2009, 7:40 PM
#22
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Hi Kobra,

It 'LOOKED' like it was working before I attempted to move to the main directory. At least the products where showing under the categories where they were posted.

The products were entered one at a time.

9 Jul 2009, 7:54 PM
#23
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Categories Issue

Post your current /includes/configure.php for the shop at the root

Obviate the DB details for security

Zen-Venom Get Bitten

9 Jul 2009, 8:06 PM
#24
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

Post it here or upload in main directory?

9 Jul 2009, 8:13 PM
#25
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Categories Issue

Post the contents without the DB credentials here

Use the # code tag

Zen-Venom Get Bitten

9 Jul 2009, 8:20 PM
#26
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

<?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 "admin" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

// 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://giftsgalore.ca');
  define('HTTPS_SERVER', 'https://giftsgalore.ca');

  // 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', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

  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', '/home/giftsgal/public_html/');

  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', 'zen_');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'xxxx');
  define('DB_SERVER_PASSWORD', 'xxxx');
  define('DB_DATABASE', 'xxxx');
  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', '/home/giftsgal/public_html/cache');

?>
9 Jul 2009, 8:41 PM
#27
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Categories Issue

It 'LOOKED' like it was working before I attempted to move to the main directory. At least the products where showing under the categories where they were posted.
The config looks correct and moving dir's correctly would not cause what is being seen - - What else might have been added/altered?

Zen-Venom Get Bitten

9 Jul 2009, 8:45 PM
#28
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

The client entered inventory around the same time... that's about it. That's why I'm so dumbfounded. However, did you happen to check the main URL? Do you see the warning after warning there?

9 Jul 2009, 8:56 PM
#29
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Categories Issue

The client entered inventory around the same time
All 2500 items?
Before or after you moved it?
Before or after it quit working?

Zen-Venom Get Bitten

9 Jul 2009, 9:00 PM
#30
ginageick avatar

ginageick

New Zenner

Join Date:
Jun 2009
Posts:
18
Plugin Contributions:
0

Re: Categories Issue

No, she entered # in stock and such and perhaps added a few products... the products were there when it seemed to be working fine.