Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error STS_START_CAPTURE


minhtuyen

Recommended Posts

Posted

HI, Help me

I install to unix host. After i installed and completed it. But don't view index page. This error display.

 

Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /home2/kyngheviet/public_html/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 /home2/kyngheviet/public_html/includes/application_top.php on line 511

Please help me to fix error. Thanks

Posted

sounds like you forgot to add the defines to your configure.php... maybe? Did you copy the:

 

// 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');
define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');
// STS: EOADD

 

from your configure-SAMPLE.php to your configure.php?

Archived

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

×
×
  • Create New...