Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

after installation problem


muraduk

Recommended Posts

Hi Have succesffully installed OSCommerce and written the STS COde in the /catalog/include/configure.php and uploaded this to the server..

 

Installation went OK.... I CAN VIEW the administration, but when i click on catalog i get the following error.

 

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

 

Now i have checked all the other questions relating to this problem, and all mainly state to add the STS coding in the configure file... but i have done this... and still no joy.....

 

Can anyone please help on this, and tell me where i'm going wrong..

 

Thanks in advance...

Murad

Link to comment
Share on other sites

Hi the Instructions in the Read Me file are as follows

 

 

Add these lines to your /catalog/includes/configure.php script. These lines

should go before the final line with the ?> characters on it.

 

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

 

NOTE: DO NOT put the files in the /admin/ directories.

 

 

There are no further instructions regarding 'language folder etc..."

 

 

 

Murad

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