muraduk Posted June 3, 2004 Share Posted June 3, 2004 Hi Have succesffully installed OSCommerce and written the STS COde in the /catalog/include/configure.php and uploaded this to the server.. Installation went OK.... I CAN VIEW the administration, but when i click on catalog i get the following error. Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /home/shoppin1/public_html/catalog/includes/application_top.php on line 511 Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shoppin1/public_html/catalog/includes/application_top.php on line 511 Now i have checked all the other questions relating to this problem, and all mainly state to add the STS coding in the configure file... but i have done this... and still no joy..... Can anyone please help on this, and tell me where i'm going wrong.. Thanks in advance... Murad Quote Link to comment Share on other sites More sharing options...
safoo Posted June 4, 2004 Share Posted June 4, 2004 You missed on of the language changes in the installation. Check the installation instructions for where you should add a define for STS_START_CAPTURE. Quote Link to comment Share on other sites More sharing options...
muraduk Posted June 4, 2004 Author Share Posted June 4, 2004 Hi the Instructions in the Read Me file are as follows Add these lines to your /catalog/includes/configure.php script. These lines should go before the final line with the ?> characters on it. // 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 NOTE: DO NOT put the files in the /admin/ directories. There are no further instructions regarding 'language folder etc..." Murad 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.