Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS Installtion problem


samsin

Recommended Posts

I have been trying to install STS and I keep running into the same problem, I will explain. I did a clean download of osCommerce 2.2MS and it worked fine. I then downloaded STS and copied the files

 

application_top.php

header.php

column_left.php

column_right.php

footer.php

application_bottom.php

sts_start_capture.php

sts_stop_capture.php

sts_display_output.php

 

sts_template.html

 

to the /catalog/includes/ file and then I added

 

// 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_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

// STS: EOADD

 

to the end of the /catalog/includes/configure.php file like this

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers

define('DB_SERVER_USERNAME', 'samsin6_osc1');

define('DB_SERVER_PASSWORD', '2vlDGUKCBFOo');

define('DB_DATABASE', 'samsin6_osc1');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

// 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_WS_INCLUDES . 'sts_template.html');

define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');

// STS: EOADD

?>

 

Then I start the web site and get this

 

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

 

I have deleted this and done this procedure twice, does anybody have any idea what is wrong? I have followed the instructions to the letter as far I am interpreting them, although I may be totally wrong in what I am doing. I am at my wits end and can't figure this out. Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Did you upload all the files that you are inquiring about?

 

This is what it says on the install... I was having the same problem but I manage to install.

 

Install a clean version of the osCommerce Milestone 2.2 Release (OSC 2.2MS2),

run the install program and verify that everything works. (If you have

already added other contributions, it may not work the Easy way and

you may have to use the Advanced method.

 

Then copy the following files into your /catalog/includes directory.

 

application_top.php

header.php

column_left.php

column_right.php

footer.php

application_bottom.php

sts_start_capture.php

sts_stop_capture.php

sts_restart_capture.php

sts_display_output.php

sts_user_code.php

sts_template.html

 

 

Make sure you do that in your ftp server... Hope that helps out!

Link to comment
Share on other sites

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