Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Still Lost on STS Please Help


Guest

Recommended Posts

Posted

I know, I know, there's all kinds of information in the forums on STS but I have checked everywhere.

I have been at this for many many hours, installed a clean OS 2.2, over and over, carefully checked off each file I uploaded as per the Read Me instructions, I know I'm gettin' damn old but I know I have followed the instructions implicity.

 

Changed my congfiguration file as directed. I still get an error message.

 

Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /mnt/web_k/d20/s13/a000j1zd/www/ushop3/nfoscomm/catalog/includes/application_top.php on line 518

 

Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/nf/lib/php') in /mnt/web_k/d20/s13/a000j1zd/www/ushop3/nfoscomm/catalog/includes/application_top.php on line 518

 

If someone could interpret the above for me I would at least know where to look, and hopefully have an install before the New Year.

 

Please

Posted

You need edit the "/includes/configure.php" putting this code there between "<?php" and "?>":

 

// STS: ADD: Define Simple Template System files

define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'dir_name_of_sts_htm_templates/');

define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');

define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');

define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');

define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php');

// STS: EOADD

 

PS: Replace "dir_name_of_sts_htm_templates" with your "sts htm template dir".

 

Sorry if you not understand.

 

Best Regards;

 

Sylvio Ruiz

Posted
PS: Replace "dir_name_of_sts_htm_templates" with your "sts htm template dir".

 

Sorry if you not understand.

 

Best Regards;

 

Sylvio

Thank You for taking the time to answer my plea, I have done that each time, but must be doing something really wrong, I have copied the code lines you placed on this site and will try them as well as changing the directory, Thanks Again.

 

Jim

Archived

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

×
×
  • Create New...