Results 1 to 10 of 25

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Amarillo, TX
    Posts
    1,059
    Plugin Contributions
    0

    Default index.php redirects to zc_install/index.php

    Can someone tell me why my index.php re-directs to zc_install after I move move zen-cart from http://www.mysite.com to http://www.mysite.com/zen-cart please help........

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, TX
    Posts
    1,059
    Plugin Contributions
    0

    Default Re: index.php redirects to zc_install/index.php

    and everything was working fine and now in admin I get this error:

    Warning: main(/home/content/m/o/r/morristech/html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149

    Warning: main(/home/content/m/o/r/morristech/html/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149

    Fatal error: main(): Failed opening required '/home/content/m/o/r/morristech/html/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /home/content/m/o/r/morristech/html/gift_shop/admin/includes/application_top.php on line 149

  3. #3
    Join Date
    Mar 2004
    Posts
    16,063
    Plugin Contributions
    5

    Default Re: index.php redirects to zc_install/index.php

    you need to go into your configure.php files and add the /zencart/ to the server paths
    and urls
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Aug 2007
    Location
    Amarillo, TX
    Posts
    1,059
    Plugin Contributions
    0

    Default Re: index.php redirects to zc_install/index.php

    well actually my zencart is at http://www.mtechama.com/gift_shop/index.php

  5. #5
    Join Date
    Mar 2004
    Posts
    16,063
    Plugin Contributions
    5

    Default Re: index.php redirects to zc_install/index.php

    please paste your includes/configure.php file here ( MINUE DB NAMES AND PASSWORDS )
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Mar 2004
    Posts
    16,063
    Plugin Contributions
    5

    Default Re: index.php redirects to zc_install/index.php

    you need to find there lines

    /home/content/m/o/r/morristech/html/

    and make them

    /home/content/m/o/r/morristech/html/gift_shop/

    your files are looking for files and folders that dont exist
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Aug 2007
    Location
    Amarillo, TX
    Posts
    1,059
    Plugin Contributions
    0

    Default Re: index.php redirects to zc_install/index.php

    Code:
    <?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://www.mtechama.com/gift_shop');
      define('HTTPS_SERVER', 'https://www.mtechama.com/gift_shop');
    
      // 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/content/m/o/r/morristech/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/');

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    68,564
    Plugin Contributions
    6

    Default Re: index.php redirects to zc_install/index.php

    These:
    PHP Code:
      define('HTTP_SERVER''http://www.mtechama.com/gift_shop');
      
    define('HTTPS_SERVER''https://www.mtechama.com/gift_shop'); 
    Should read:
    PHP Code:
      define('HTTP_SERVER''http://www.mtechama.com');
      
    define('HTTPS_SERVER''https://www.mtechama.com'); 
    These:
    PHP Code:
      define('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_CATALOG''/'); 
    Should read:
    PHP Code:
      define('DIR_WS_CATALOG''/gift_shop/');
      
    define('DIR_WS_HTTPS_CATALOG''/gift_shop/'); 
    This:
    PHP Code:
     define('DIR_FS_CATALOG''/home/content/m/o/r/morristech/html/'); 
    Should probably read:
    PHP Code:
     define('DIR_FS_CATALOG''/home/content/m/o/r/morristech/html/gift_shop/'); 
    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: v1.5.4]
    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!

 

 

Similar Threads

  1. Anyone know how to make index.html default instead of index.php?
    By msbettybebe in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 23 May 2011, 04:01 PM
  2. index.php and server overload?
    By char in forum General Questions
    Replies: 23
    Last Post: 30 Nov 2009, 05:22 PM
  3. Need help with index.php
    By wforeman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 May 2007, 02:31 AM
  4. IIS6 and some redirects not working
    By jamcc in forum Installing on a Windows Server
    Replies: 0
    Last Post: 2 Mar 2007, 10:36 PM

Bookmarks

Posting Permissions

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