firstborn Posted August 24, 2005 Share Posted August 24, 2005 Ok I finally got OSC installed on my machine, and I was researching something else when I ran into a thread that talked about the sts. So I download it and installed it now I get these errors at the top of my catalogue page: Notice: Undefined index: no_sts in c:\program files\easyphp1-8\www\catalog\includes\application_top.php on line 18 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\easyphp1-8\www\catalog\includes\application_top.php:18) in c:\program files\easyphp1-8\www\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\easyphp1-8\www\catalog\includes\application_top.php:18) in c:\program files\easyphp1-8\www\catalog\includes\functions\sessions.php on line 67 Can someone help me fix this? Plus I opened the template file in dreamweaver and changed some colors and such but my catalogue page still looks generic, how do I get the catalogue page to reference the template? thanx in advance Link to comment Share on other sites More sharing options...
♥Vger Posted August 24, 2005 Share Posted August 24, 2005 The first error is caused because you have not followed the install instructions. You are missing this code in includes/application_top.php: // STS: ADD: Allow disabling of ALL STS capture and display routines by setting this variable or passing ?no_sts=1 as a parameter $no_sts=0; if ($HTTP_GET_VARS["no_sts"] > 0) { $no_sts=1; } // STS: EOADD The second and third errors are caused by the first. Vger Link to comment Share on other sites More sharing options...
firstborn Posted August 24, 2005 Author Share Posted August 24, 2005 thanx vger I really appreciate it. Link to comment Share on other sites More sharing options...
firstborn Posted August 24, 2005 Author Share Posted August 24, 2005 well.. I tried it and the problem persists, in fact i compared the code you posted to what was already there and they were identical...but to be on the safe side I copied and pasted your submission. what else can I try? thanx again Link to comment Share on other sites More sharing options...
firstborn Posted August 24, 2005 Author Share Posted August 24, 2005 someone...anyone....please help. Link to comment Share on other sites More sharing options...
♥Vger Posted August 24, 2005 Share Posted August 24, 2005 You need to go back over the install instructions, because you've missed out something somewhere. STS is diificult to use - to get the page to look the way you want it to - but it's easy to do the initial install, provided you follow all the instructions correctly. Vger Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2005 Share Posted August 27, 2005 I got the same problem over and over again... The moment i quoted out the no_sts check everything seemed to be working fine. (Who want's to disable STS, when they installed it themselves :)). The next problem was a scripting error. I found two lines in the j-script which don't belong there. After removing these lines everything works fine for me! The STS-part of my application_top.php looks like this: // STS: ADD: Allow disabling of ALL STS capture and display routines by setting this variable or passing ?no_sts=1 as a parameter $no_sts=0; // if ($HTTP_GET_VARS["no_sts"] > 0) { // $no_sts=1; // } // STS: EOADD Remove from the sts_osc_javascript.js: <script language="javascript"><!-- (This is the first line in the script!) and //--></script> (This is the last line in the script!) Goodluck with it, and many thanks to Brian for the great work! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.