dkgryf Posted March 2, 2007 Posted March 2, 2007 Hi I just reinstall my netshop but i get this error: Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Fatal error: require() [function.require]: Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Line 511 is: // STS: ADD // Capture text between application_top.php and header.php require(STS_START_CAPTURE); // STS: EOADD What is it means and what do i have to do to solve it? Thank you and have a nice weekend Regards Mogens
bkellum Posted March 3, 2007 Posted March 3, 2007 Hi I just reinstall my netshop but i get this error: Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Fatal error: require() [function.require]: Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Line 511 is: // STS: ADD // Capture text between application_top.php and header.php require(STS_START_CAPTURE); // STS: EOADD What is it means and what do i have to do to solve it? Thank you and have a nice weekend Regards Mogens What version of STS are you using? In STSv4.4, you should have the following code at the end of your includes/application_top.php file: // START STS 4.1 require (DIR_WS_CLASSES.'sts.php'); $sts= new sts(); $sts->start_capture(); // END STS 4.1 // initialize the message stack for output messages require(DIR_WS_CLASSES . 'message_stack.php'); $messageStack = new messageStack; // set which precautions should be checked define('WARN_INSTALL_EXISTENCE', 'true'); define('WARN_CONFIG_WRITEABLE', 'true'); define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true'); define('WARN_SESSION_AUTO_START', 'true'); define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true'); ?> Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
dkgryf Posted March 3, 2007 Author Posted March 3, 2007 Hi I don´t understand what you mean - i can´t find any STS.PHP... so i am not able to tell you what version i am using. How can i install STS.php? Regards Mogens Hi I just reinstall my netshop but i get this error: Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Warning: require(STS_START_CAPTURE) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Fatal error: require() [function.require]: Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home28a/sub001/sc24474-TGCN/netshop4all.dk/includes/application_top.php on line 511 Line 511 is: // STS: ADD // Capture text between application_top.php and header.php require(STS_START_CAPTURE); // STS: EOADD What is it means and what do i have to do to solve it? Thank you and have a nice weekend Regards Mogens
dkgryf Posted March 4, 2007 Author Posted March 4, 2007 HELP - i still have this problem - please help me. Regards Mogens HiI don´t understand what you mean - i can´t find any STS.PHP... so i am not able to tell you what version i am using. How can i install STS.php? Regards Mogens
bkellum Posted March 5, 2007 Posted March 5, 2007 HELP - i still have this problem - please help me.Regards Mogens Mogens, did you install the STS contribution or did someone else? If you installed it, then you should be able to tell what version be the name of the download.You can download the latest version (with installation instructions includled) by clicking on the link in my signature below. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Recommended Posts
Archived
This topic is now archived and is closed to further replies.