Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Failed opening required 'STS_START_CAPTURE'


dkgryf

Recommended Posts

Posted

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

Posted
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

Posted

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

Posted

HELP - i still have this problem - please help me.

Regards

Mogens

 

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

Posted
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

Archived

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

×
×
  • Create New...