RE: Simple Template System (STS)

florence_dave <[email protected]> 11 Sep 2003 19:26:34 -0000
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <95bd12e71a527899d44fc980518147e2@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=228028#228028
----------------------------------------------------------------

Hi,

Hope you can help.  I'm completely new to this stuff and have no idea if this is an easy fix or not.  Hopefully it falls into the silly question/easy answer catagory.  

I'm trying to instal STS 1.2 and using osCommerce 2.2MS2 and linux.  I had a clean install (after much work  :)  ) and I'm now trying to add some contributions.  My first is STS.  I've run forum searches for this error, but I haven't found a match.  

I'm getting the following error:
[code]

Parse error: parse error in /home/miniatur/public_html/catalog/includes/configure.php on line 18

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/miniatur/public_html/catalog/includes/application_top.php on line 53

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/miniatur/public_html/catalog/includes/application_top.php on line 53
 [/code]

Here are line 18 & 53 from the catalog/index.php file.  I hope this is helpful:

[code]
Line 18
    $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");

Line 53
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
[/code]

On a side note, can anyone recommend some other good contributions to add into osCommerce after I get STS up and running?

Thanks for your help,

Dave