mizzlewillz Posted March 17, 2004 Share Posted March 17, 2004 hey all, I've installed STS verbatim to how it says to install in the Readme that comes along with the download. Then I go to just load the index.php (no editing yet with STS) and this is what happens This gets spit out on top of the index.php ------------------------------------------------------------------------------------------------ ?> Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\configure.php:57) in c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\configure.php:57) in c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 ----------------------------------------------------------------------------------------------- But when I change the sts_display_output.php to $display_template_output from 0 to 1; i get this for the index.php ----------------------------------------------------------------------------------------------- ?> Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\configure.php:57) in c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\configure.php:57) in c:\program files\apache group\apache\htdocs\oscommerce-2.2ms2\catalog\includes\functions\sessions.php on line 67 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> > PRODUCT_LIST_MODEL, 'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME, 'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER, 'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE, 'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY, 'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT, 'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE, 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); asort($define_list); $column_list = array(); reset($define_list); while (list($key, $value) = each($define_list)) { if ($value > 0) $column_list[] = $key; } $select_column_list = ''; for ($i=0, $n=sizeof($column_list); $i<$n; $i++) { switch ($column_list[$i]) { case 'PRODUCT_LIST_MODEL': $select_column_list .= 'p.products_model, '; break; case 'PRODUCT_LIST_NAME': $select_column_list .= 'pd.products_name, '; break; case 'PRODUCT_LIST_MANUFACTURER': $select_column_list .= 'm.manufacturers_name, '; break; case 'PRODUCT_LIST_QUANTITY': $select_column_list .= 'p.products_quantity, '; break; case 'PRODUCT_LIST_IMAGE': $select_column_list .= 'p.products_image, '; break; case 'PRODUCT_LIST_WEIGHT': $select_column_list .= 'p.products_weight, '; break; } } // show the products of a specified manufacturer if (isset($HTTP_GET_VARS['manufacturers_id'])) { if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) { // We are asked to show only a specific category $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id ----------------------------------------------------------------------------------------------- It keeps on going.... ANY IDEAS? Thanks in advance for any comments. -MIke Link to comment Share on other sites More sharing options...
ozcsys Posted March 18, 2004 Share Posted March 18, 2004 It does work so you probably missed something. The best place to start is in the contributions support section as there is a very long support thread on STS. Someone else may have had the same problem already so the answer may well be there already and if not that is the best place to ask questions about a particular contribution. 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?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.