Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by


xearoth

Recommended Posts

Posted

These are the only 3 errors I am getting after my isntallation with STS.. somebody please help if possible?

 

Thanks!

 

Notice: Undefined index: no_sts in D:\www\includes\application_top.php on line 18

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\www\includes\application_top.php:18) in D:\www\includes\functions\sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\www\includes\application_top.php:18) in D:\www\includes\functions\sessions.php on line 97

Posted

The second and third errors are caused by the first. The first is caused by an incomplete installation of STS.

 

Vger

Posted

I made all of the changes it asked me to do

 

HOW TO INSTALL (EASY):

-----------------------------------------------------------------------------

 

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

configure-SAMPLE.php <----- See note below! <---------

 

 

NOTE: configure-SAMPLE.php is included in the ZIP file, but you will have to

reenter all your configuration settings if you use it. It is easier

to just add the STS lines at the bottom of the file to the bottom of your

existing /catalog/includes/configure.php file.

 

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');

define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');

// STS: EOADD

 

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

only works in the /catalog/ section.

Posted

There is an STS support thread, that would be the best place to look for help. Anytime you have a problem with a particular contribution you sh ould go to the support thread as that is the best place to find an answer to your problem.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...