Shopping Cart Forum

Go Back   eShop Forums - eCommerce Help Forum for Shopping Cart Owners. > Shopping Cart Software > Zen Cart & osCommerce
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Zen Cart & osCommerce Tips, advice and help on how to use the most popular free E-commerce shopping carts available.

Free £10 High Street Voucher Euroffice Click here!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-06-2008, 10:11 AM
jtaylor jtaylor is offline
Member
 
Join Date: Nov 2007
Location: Melbourne, AUST
Posts: 35
Thanks: 4
Thanked 0 Times in 0 Posts
Default Install Issues

Hi, I'm trying to install Zen Cart on a friends website, but all i get when i do the zc_install is what the file looks like:

<?php
/**
* index.php -- This is the main hub file for the Zen Cart installer
* @package Installer
* @access private
* @copyright Copyright 2003-2007 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 7404 2007-11-11 04:09:50Z drbyte $
*/

define('IS_ADMIN_FLAG',false);
/*
* Ensure that the include_path can handle relative paths, before we try to load any files
*/
if (!strstr(ini_get('include_path'), '.')) ini_set('include_path', '.' . PATH_SEPARATOR . ini_get('include_path'));
/*
* Initialize system core components
*/
require('includes/application_top.php');

/* This is for debug purposes to run installer from command line. Set to true to enable it: */
if (false) {
if ($argc > 0) {
for ($i=1;$i<$argc;$i++) {
$it = split("=",$argv[$i]);
$_GET[$it[0]] = $it[1];
// parse_str($argv[$i],$tmp);
// $_REQUEST = array_merge($_REQUEST, $tmp);
}
}
}

// init vars:
$zc_first_field = '';

// begin processing page-specific actions
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($language_page_directory . $current_page . '.php');
require('includes/languages/' . $language . '.php');


// $zc_install->logDetails('$_POST = ' . print_r($_POST, true) . print_r($_SESSION, true), $current_page . '-index.php', 'testing_flow');
// $zc_install->logDetails($zc_install->getConfigKey('*', true), $current_page . '-index.php - before header_php', 'testing_flow');


require($page_directory . '/header_php.php');
require(DIR_WS_INSTALL_TEMPLATE . 'common/html_header.php');

// $zc_install->logDetails($zc_install->getConfigKey('*', true), $current_page . '-index.php - AFTER header_php', 'testing_flow');

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

Does anyone know why this is doing it?
__________________

www.emplore.com.au
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 14-06-2008, 08:31 PM
Tinkerbell's Avatar
Tinkerbell Tinkerbell is offline
Demented Butterfly
 
Join Date: Aug 2007
Location: Tyne and Wear
Posts: 932
Blog Entries: 16
Thanks: 50
Thanked 17 Times in 16 Posts
Default

Not sure but I would be tempted tu start from scrath, follow the instructions t the letter and install maybe upload one fiule at a time.It sounds like one of the files may be missing but I wouldn't kow where to start to find out which one.As it is a fresh install may be quicker to just start again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 14-06-2008, 11:16 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,220
Thanks: 2
Thanked 81 Times in 81 Posts
Default

If it's displaying the contents of PHP files instead of running them then he probably doesn't have PHP installed on the server. He'll need to contact his host to change his hosting to a PHP/MySQL package.
__________________
Lawrence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 16-06-2008, 10:22 AM
jtaylor jtaylor is offline
Member
 
Join Date: Nov 2007
Location: Melbourne, AUST
Posts: 35
Thanks: 4
Thanked 0 Times in 0 Posts
Default

THanks for that, but now i get 'Access Denied'! does anyone have an idea on why this is happening?
__________________

www.emplore.com.au
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 16-06-2008, 10:25 AM
Tinkerbell's Avatar
Tinkerbell Tinkerbell is offline
Demented Butterfly
 
Join Date: Aug 2007
Location: Tyne and Wear
Posts: 932
Blog Entries: 16
Thanks: 50
Thanked 17 Times in 16 Posts
Default

Do you not need a password or something?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 16-06-2008, 04:23 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,220
Thanks: 2
Thanked 81 Times in 81 Posts
Default

Quote:
Originally Posted by jtaylor View Post
THanks for that, but now i get 'Access Denied'! does anyone have an idea on why this is happening?
If that is what is being displayed when you try to access a web page then it means that access to that file has been restricted by the server. If your friend's hosting doesn't have PHP then he has no choice but to upgrade/change hosting accounts.
__________________
Lawrence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 28-06-2008, 12:50 PM
jtaylor jtaylor is offline
Member
 
Join Date: Nov 2007
Location: Melbourne, AUST
Posts: 35
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Instead of getting an access denied, we get a 404 Bad request page... These people are driving me insane... Who would know. its a matter of mait and see with this mob. but thanks for all your help!
__________________

www.emplore.com.au
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-07-2008, 09:36 PM
tuk485 tuk485 is offline
Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default

I would delete / remove the hosting and start again as 404 is page not found on the server.

I would fist check that php is enabled as you could well be wasting all your time.

You could check this by creating a file called phpinfo.php and then having this text inside

<?php
phpinfo()
?>

If this doesnt display the php settings of the server then php is not installed / enabled.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 05-07-2008, 04:11 AM
jtaylor jtaylor is offline
Member
 
Join Date: Nov 2007
Location: Melbourne, AUST
Posts: 35
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Its all fixed now. the web hosting says its something to do with DNS. all over my head!!
__________________

www.emplore.com.au
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scientology Issues Over 4000 Take Down Notices Kickstartnews Computers & IT 0 09-09-2008 06:43 AM
zencart install help desperately needed! thundermountain Zen Cart & osCommerce 5 31-07-2008 12:22 PM
Does anyone still install OSC? Lawrence Zen Cart & osCommerce 9 30-01-2008 06:32 PM
Easy install quide for oscommerce Cushtydeals Zen Cart & osCommerce 1 18-08-2007 07:21 PM

Google

Edible Graphics, Affordable E-Commerce, Web Shops & Custom Form Scripts
Click here for domain name registration and web hosting
tech news, product reviews, the latest home and business technology, the latest in digital imaging


Content Relevant URLs by vBSEO 3.0.0