Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    71
    Plugin Contributions
    0

    Default Index going to ZC-Install

    Hello,

    I installed a new plug in (google adsence) and uploaded it to my website but now when I go to the website it automaticly goes to 404 file not found

    address is http://quirkesfurniture.com/shop/zc_install/index.php

    instead of http://quirkesfurniture/shop

    I can log in through the admin but can't figure out why its going to the ZC-Install I removed that after installation.

    Help very much appreciated

    "Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
    http://www.zen-cart.com/book

  2. #2
    Join Date
    Nov 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: Index going to ZC-Install

    configure.php is

    <?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://quirkesfurniture.com/shop');
    define('HTTPS_SERVER', 'https://quirkesfurniture.com/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', '/shop/');
    define('DIR_WS_HTTPS_CATALOG', '/shop/');

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



    // * 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/com/quirkesfurniture/html/shop/');

    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');
    define('DB_SERVER_USERNAME', 'xxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'johnquirke-1');
    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', 'none');
    define('DIR_FS_SQL_CACHE', '/home/com/quirkesfurniture/html/shop/cache');

    ?>
    "Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
    http://www.zen-cart.com/book

  3. #3
    Join Date
    Nov 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: Index going to ZC-Install

    Anybody with any ideas??

    I've checked permissions, and configure.php and the htaccess file and it still keeps forwarding
    "Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
    http://www.zen-cart.com/book

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

    Default Re: Index going to ZC-Install

    The program will assume that installation is required if any of the following are true:
    - /includes/configure.php file is not found
    - the file permissions have it restricted too tightly so that access is denied to its content
    - file contents appear to be default settings
    - files in /includes/classes/db are altered or missing
    - database settings in the file aren't valid ... ie: using the credentials in the file causes a login failure when attempting to login to the database
    - etc

    While installing a contribution should have no effect on these factors, if you installed files to the wrong place and decided to delete a bunch of stuff incorrectly, you could certainly have a problem.

    By the way, you *did* do a backup *before* installing the contribution, didn't you?
    And ... you *did* install it on a test site *before* installing it on a *live* site, didn't you?
    So ... you *do* have a working backup you can go back to very easily, right?
    .

    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.

  5. #5
    Join Date
    Nov 2006
    Posts
    71
    Plugin Contributions
    0

    Default Re: Index going to ZC-Install

    - /includes/configure.php file is not found
    Its there I can
    see it.

    - the file permissions have it restricted too tightly so that access is denied to its content
    Didn't go near them

    - file contents appear to be default settings
    Nope

    - files in /includes/classes/db are altered or missing
    Admin setting and database totally intact and I can still upload products to them.

    - database settings in the file aren't valid ... ie: using the credentials in the file causes a login failure when attempting to login to the database
    Data base perfect and setting right.

    - etc
    Now that's the part it must have been.


    By the way, you *did* do a backup *before* installing the contribution, didn't you?
    Yes I did about 6 months ago

    And ... you *did* install it on a test site *before* installing it on a *live* site, didn't you?
    No I don't have a test site because I only get 3 Mysql databases with my hoster and there being used and having problems with VISTA about installing more.

    So ... you *do* have a working backup you can go back to very easily, right?
    Wasn't that easy it was on my old computer but it seems to work and considering it was only the /includes/ directory that was corrupt it should'nt take that long to get everything back to normal

    But thanks for your help
    "Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
    http://www.zen-cart.com/book

  6. #6
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Index going to ZC-Install

    Please post your includes/configure.php and /admin/includes/configure.php without your password.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. Re Install Index erros
    By albert7 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 2 Apr 2011, 03:03 PM
  2. Home link not going to index.php
    By patski in forum Basic Configuration
    Replies: 0
    Last Post: 22 Aug 2006, 02:50 PM
  3. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 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