Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Why isn't the install script working?

Why isn't the install script working?

Locked

Views: 1,881

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
5 Jul 2006, 11:44 AM
#1
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

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!

5 Jul 2006, 1:20 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

6 Jul 2006, 2:33 AM
#3
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

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?

6 Jul 2006, 3:14 AM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Why isn't the install script working?

I had the upgrade script uploaded for you,
you said it was all working,
do you want a new full version to play with?

6 Jul 2006, 3:17 AM
#5
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Why isn't the install script working?

huh? I'm very confused now...

6 Jul 2006, 3:20 AM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Why isn't the install script working?

merlin opens mouth and inserts foot.

no not foot
whole leg.

wrong person

Im tired

Im sorry

Im headed to bed before I get any dumber

6 Jul 2006, 3:24 AM
#7
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: Why isn't the install script working?

Okay, I have so been there, done that! I'll wait for an answer that makes more sense in the morning...thanks :) .

6 Jul 2006, 3:56 PM
#8
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

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

9 Jul 2006, 10:47 PM
#9
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

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.