Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse Error


AndyHearne2005

Recommended Posts

Hi

 

i'm getting this

 

 

Warning: main(DIR_WS_INCLUDESapplication_bottom.php): failed to open stream: No such file or directory in /hsphere/local/home/andrewhe/dianescraftysupplies.co.uk/catalog/index.php on line 55

 

Warning: main(DIR_WS_INCLUDESapplication_bottom.php): failed to open stream: No such file or directory in /hsphere/local/home/andrewhe/dianescraftysupplies.co.uk/catalog/index.php on line 55

 

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESapplication_bottom.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/andrewhe/dianescraftysupplies.co.uk/catalog/index.php on line 55

 

Code is

 

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', 'We are a mail order and internet based craft supplies company, committed to bringing you products at the most competitive prices. We love crafting but think its too expensive sometimes, so we are trying to give you the best deals we can. We specialise in Rubber Stamping and Stamping Products, but also supply the Quickutz Die System please email details of the stamps required and as only Die Sets and Alphabets are listed.
<P>
We have only been in business since the start of 2005 but have a huge range of over 1000 different stamps and are continually expanding our range so check back regularly for more great deals.
<P>
If you need any help or advice please feel free to email us – we are always happy to give any help we can.
<P>
Companies that support an Angel policy supply all our stamps. This means you are free to use their designs on cards that you sell provided you do not reproduce the designs by any other method than hand stamping.
<P>
<B>Payment Methods</B>
<P>
We accept Paypal, Nochex, cheques and postal orders. Cash can only be accepted if sent by Recorded Delivery. Please note that we have a minimum order value of £5.00 and cheques must clear prior to despatch of order..');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
  define('HEADING_TITLE', 'Let's See What We Have Here'); 
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 '');
 define('TEXT_NOW', '' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'Welcome to Dianes Crafty Supplies');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');
}
?>

</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Link to comment
Share on other sites

Hi Andy,

 

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

why do you have this in the bottom? It should not be there.

 

Mark

Lifes a bitch, then you marry one, then you die!

Link to comment
Share on other sites

I think I know what the problem is but can you post the lines a couple above and a couple below

 

Thanks

 

Mark

 

 

Ok sorry done from 43 - 54 is that better?

 

 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'Dianes Crafty Supplies);
} elseif ($category_depth == 'nested');
 define('HEADING_TITLE', 'Categories');
}
?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...