lostinosc Posted April 7, 2004 Posted April 7, 2004 I installed OS and then followed the directions for the sts files to upload and here's what I have now instead of the store: Template file doesn't exist: [STS_DEFAULT_TEMPLATE] Warning: fopen(STS_DEFAULT_TEMPLATE): failed to open stream: No such file or directory in /home/king/public_html/practice/includes/sts_display_output.php on line 120 Can't open Template file: [STS_DEFAULT_TEMPLATE] Warning: filesize(): Stat failed for STS_DEFAULT_TEMPLATE (errno=2 - No such file or directory) in /home/king/public_html/practice/includes/sts_display_output.php on line 124 Warning: fread(): supplied argument is not a valid stream resource in /home/king/public_html/practice/includes/sts_display_output.php on line 124 Warning: fclose(): supplied argument is not a valid stream resource in /home/king/public_html/practice/includes/sts_display_output.php on line 125 Warning: main(STS_USER_CODE): failed to open stream: No such file or directory in /home/king/public_html/practice/includes/sts_display_output.php on line 138 Fatal error: main(): Failed opening required 'STS_USER_CODE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/king/public_html/practice/includes/sts_display_output.php on line 138 Can anyone help me out please??? Quote
241 Posted April 7, 2004 Posted April 7, 2004 have you placed the defines in the catalog/includes/configure.php // 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 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
lostinosc Posted April 7, 2004 Author Posted April 7, 2004 I did as you suggested and now I'm getting this: Warning: main(includes/sts_user_code.php): failed to open stream: No such file or directory in /home/king/public_html/practice/includes/sts_display_output.php on line 138 Fatal error: main(): Failed opening required 'includes/sts_user_code.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/king/public_html/practice/includes/sts_display_output.php on line 138 Know how I can fix that? Quote
lostinosc Posted April 7, 2004 Author Posted April 7, 2004 Sorry I posted this in the wrong place. I re-posted in the sts contrib section. :rolleyes: Quote
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.