Guest Posted December 10, 2003 Share Posted December 10, 2003 Hey folks, running a new install of osCommerce. The only other installed module is Easy Populate. I followed the sts instructions to the letter, and here are the errors I get when I try to go to the /catalog/ page: Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /var/www/html/catalog/includes/application_top.php on line 511 Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/catalog/includes/application_top.php on line 511 Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
rhurd Posted April 23, 2004 Share Posted April 23, 2004 Hi Will, did you ever come right with this? I have the same error message on install and could do with some advice Thanks Ryan Hey folks, running a new install of osCommerce. The only other installed module is Easy Populate. I followed the sts instructions to the letter, and here are the errors I get when I try to go to the /catalog/ page: Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /var/www/html/catalog/includes/application_top.php on line 511 Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/catalog/includes/application_top.php on line 511 Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 13, 2004 Share Posted May 13, 2004 In the install doc with the contribution it tells you to add a piece of code to the config.php file. This is the code, try and put that in the config file and see how you get on. // STS: ADD: Define Simple Template System files 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_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/'); define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . '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'); // STS: EOADD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.