Where is my shop?
I have just uploaded my cart successfully but where can I find the store? I do not see any htm or html files that were uploaded that I can navagate to. Also, if I go to my website and the subdirectory of /shop, I get an Internet Explorer error that says "The website declined to show this webpage".
Please help.
Please help.
This is the page I get when I navaiate to the index.php page on my site:
<?php
/**
* CoffeeCup Software's Shopping Cart Creator.
*
* Entry point for the web shop.
*
* @author Cees de Gruijter <cdg@coffeecup.com>
* @category SCC
* @copyright Copyright (c) 2009 CoffeeCup Software, Inc. (http://www.coffeecup.com/)
*/
// absolute paths are more efficient (on proper servers), so is output buffering
if( isset( $_SERVER['PATH_TRANSLATED'] ) || isset( $_SERVER['ORIG_PATH_TRANSLATED']) ) {
$absPath = './';
} else {
$absPath = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/') + 1);
}
ob_start();
require $absPath . 'ccdata/php/page.cls.php';
// globals
$myPage = '';
if( isset($_POST['method']) ) {
// handle form submit
include $absPath . 'controller.php'; // this will create the page object
} else {
// ensure there is a page object
if( !$myPage )
$myPage = new Page();
}
// show index
include $absPath . 'ccdata/data/index.inc.php';
ob_end_flush();
?>
<?php
/**
* CoffeeCup Software's Shopping Cart Creator.
*
* Entry point for the web shop.
*
* @author Cees de Gruijter <cdg@coffeecup.com>
* @category SCC
* @copyright Copyright (c) 2009 CoffeeCup Software, Inc. (http://www.coffeecup.com/)
*/
// absolute paths are more efficient (on proper servers), so is output buffering
if( isset( $_SERVER['PATH_TRANSLATED'] ) || isset( $_SERVER['ORIG_PATH_TRANSLATED']) ) {
$absPath = './';
} else {
$absPath = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/') + 1);
}
ob_start();
require $absPath . 'ccdata/php/page.cls.php';
// globals
$myPage = '';
if( isset($_POST['method']) ) {
// handle form submit
include $absPath . 'controller.php'; // this will create the page object
} else {
// ensure there is a page object
if( !$myPage )
$myPage = new Page();
}
// show index
include $absPath . 'ccdata/data/index.inc.php';
ob_end_flush();
?>
Looks like you do not have PHP installed on your server. What is the url to your cart?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
*
I presume the * means you have solved the problem

Two things are happening here. Either you do not have php on the server ( windows bases with out php installed) or you do not have your default page settings to look for index.php as the default landing page. Normally windods based hosts such as crystaltech web hosting and 1&1 will have default.asp or aspx as the default landing page. If you go to " yourdomain.com/cart/index,php" and your store shows, then you need to contact your hosting provider to have them set the default page to index.php then to index.html, and so on. if the index.php is installed but too low on the list the application will fail in the windows enviroment due to timing out the code by the 5th try. Hope that helps. Dev-Null
Problem solved. Thank you very much.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.