Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Why isn't the install script working?

    Instead of launching the install script, I see this:

    <?php
    /**
    * index.php -- This is the main hub file for the Zen Cart installer *
    * @package Installer
    * @access private
    * @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
    * @version $Id: index.php 3178 2006-03-12 22:30:49Z drbyte $
    */

    define('IS_ADMIN_FLAG',false);
    require('includes/application_top.php');
    if (!isset($_GET['main_page']) || !zen_not_null($_GET['main_page'])) $_GET['main_page'] = 'index';
    $current_page = $_GET['main_page'];
    $page_directory = 'includes/modules/pages/' . $current_page;
    $language_page_directory = 'includes/languages/' . $language . '/';
    require('includes/languages/' . $language . '.php');

    // init vars:
    $zc_first_field = '';

    // lang must be loaded before the header module
    require('includes/languages/' . $language . '/' . $current_page . '.php');
    require($page_directory . '/header_php.php');

    require(DIR_WS_INSTALL_TEMPLATE . 'common/html_header.php');
    require(DIR_WS_INSTALL_TEMPLATE . 'common/main_template_vars.php');
    require(DIR_WS_INSTALL_TEMPLATE . 'common/tpl_main_page.php');
    ?>

    I have to be honest and say I usually have Fantastico for installs, so this part is new to me. I normally just install with a click and then start the customization process...so, anyway, what have I missed here?

    Thanks!

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

    Default Re: Why isn't the install script working?

    Diva, you have the install script in the wrong place.
    you have uploaded it above the root.
    upload it into the public_html folder and then run the upgrade script,
    make sure you have a good backup first
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: Why isn't the install script working?

    I uploaded the entire unzipped folder and renamed it to shop and am using http://www.mydomain.com/shop/zc_install as the address. However, the domain name is automatically being changed to the ip address instead, the number, not the name...could that be what is causing the problem?

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Why isn't the install script working?

    If you have uploaded the script to the correct place and all you see is the text of the page when you try to run the install then that usually means that PHP is not running on that server.

    Vger

  5. #5
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Why isn't the install script working?

    It could also mean that PHP might be installed but you might also have corrupted PHP server modulation from the server-end. To make sure, I'd send a contact note to the related web hosting service in order to obtain more information on this problem.

 

 

Similar Threads

  1. Why isn't my site working???
    By lrfowler in forum General Questions
    Replies: 12
    Last Post: 1 Sep 2012, 10:01 PM
  2. Why isn't my global variable working?
    By lat9 in forum General Questions
    Replies: 1
    Last Post: 1 Oct 2009, 03:58 PM
  3. A few questions about zones and why isn't this working etc...
    By recordshow in forum Addon Shipping Modules
    Replies: 1
    Last Post: 22 Nov 2006, 01:25 AM
  4. Install script still not working...
    By digidiva-kathy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jul 2006, 02:53 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR