Zen Cart Logo
Forums / General Questions / Problem after moving main zen cart directory

Problem after moving main zen cart directory

Locked

Views: 906

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
23 Aug 2010, 1:35 AM
#1
raptors avatar

raptors

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Problem after moving main zen cart directory

Hi, I just installed zen cart today, and I tried to move the main directory from domain.com/shop to domain.com, following a tutorial, but now the home page is just plain html. Here is the URL:
http://raptorsa.nexcess.net/

Also, now when I try to log into my admin I get a message saying I need to install magento.

Thanks

23 Aug 2010, 1:43 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Problem after moving main zen cart directory

Paste the top half of your /includes/configure.php file here

23 Aug 2010, 2:45 AM
#3
raptors avatar

raptors

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Problem after moving main zen cart directory

<?php
/**
 * @package Configuration Settings circa 1.3.9
 * @copyright Copyright 2003-2010 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * File Built by zc_install on 2010-08-22 07:49:24
 */


/*************** 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.your_domain.com
  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://raptorsa.nexcess.net');
  define('HTTPS_SERVER', 'https://raptorsa.nexcess.net');

  // 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', '/chroot/home/raptorsa/raptorsairsoft.com/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/');
23 Aug 2010, 4:07 AM
#4
raptors avatar

raptors

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Problem after moving main zen cart directory

I fixed it. Thanks

23 Aug 2010, 4:15 AM
#5
raptors avatar

raptors

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Problem after moving main zen cart directory

Wait!!! I still can't login to my admin.

23 Aug 2010, 5:08 AM
#6
kobra avatar

kobra

Black Belt

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

Re: Problem after moving main zen cart directory

Check the highlighted entries and probably incorrect in your admin file also

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

Should be:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
26 Aug 2010, 12:06 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Problem after moving main zen cart directory

Raptors:

Also, now when I try to log into my admin I get a message saying I need to install magento.
Um, the Zen Cart admin will never tell you that, unless you've had someone alter the code to do so.