assaff Posted May 19, 2004 Posted May 19, 2004 I have been using osCommerce offline for a while with no trouble. I have now tried uploading a fresh copy to a server. I go through the installation procedure and it says it was successful at installing and setting up the db but I keep getting errors when I then try to look at the shop: Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /home/sites/site197/web/oscommerce-2.2ms2/catalog/includes/application_top.php on line 511 Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='') in /home/sites/site197/web/oscommerce-2.2ms2/catalog/includes/application_top.php on line 511 I have tried several reinstalls and setting permissions on the configure files but to no avail other than the errors vary slightly in line number! Any ideas? I got it wrong I can look at admin but not the shop. Any ideas?
Databuilder Posted May 20, 2004 Posted May 20, 2004 Make sure these lines are added to your catalog/includes/configure.php file // 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 I'm assuming the entire STS contribution is installed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.