Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default 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
    Last edited by Raptors; 23 Aug 2010 at 02:39 AM.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem after moving main zen cart directory

    Paste the top half of your /includes/configure.php file here
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem after moving main zen cart directory

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

  4. #4
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem after moving main zen cart directory

    I fixed it. Thanks

  5. #5
    Join Date
    Aug 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Problem after moving main zen cart directory

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

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem after moving main zen cart directory

    Check the highlighted entries and probably incorrect in your admin file also
    Code:
     // 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:
    Code:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problem after moving main zen cart directory

    Quote Originally Posted by Raptors View Post
    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. What do I do with old zen cart directory after upgrade?
    By BlackOrchidCouture in forum Upgrading from 1.3.x to 1.3.9
    Replies: 16
    Last Post: 6 Jun 2011, 07:28 PM
  2. Moving Zen Cart to root directory query
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Oct 2008, 04:12 AM
  3. Moving zen cart problem
    By tallalex85 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 17 Jul 2008, 08:12 AM
  4. Problems after moving my zen cart store
    By Rookie gone MAD! in forum General Questions
    Replies: 1
    Last Post: 12 Dec 2007, 05:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg