Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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???

Posted

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

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! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

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?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...