Help - Search - Members - Calendar
Full Version: some problems... have working but...
Big Red Spark Forums > Big Red Spark.com Forums > Unit Command Climate Assessment and Survey System (UCCASS)
erv
hi...

a frustrating migration to new host..

getting error message on pages...

also seems the dependencies are not working - or maybe i do not have them set properly?

the fiels seem to show all the time, regardless of selections

is there a chance you could help me out on this one?

http://service.webshop101.com/servPop/edit...;mode=questions

many thanks

smile.gif

erv

...

edit

found this in another post...

how can i add this myself?

...

If you do not have write access to your php.ini file, you can add the session_save_path() function into the UCCASS program to set where PHP should create it's session files. I can tell you exactly where to put that if this is the case, just let me know.

Let me know if you need more info.

---John Holmes...
erv
hi JHolmes763

thought maybe youy were out of town...

please tell us how we can set the session_save_path() function into the UCCASS program to set where PHP should create it's session files.

i do not have access to php.ini

thank you

JHolmes763
Just add the session_save_path() function to the beginning of main.class.php before the session_start() function (line 21 will work).

session_save_path('/path/to/folder/');

Where '/path/to/folder/' is a valid path to a folder that you've created and given permission for the PHP/Apache user to write to. This is usually done on *nix systems by chmoding the directory to 777 permissions.

---John Holmes...
erv
ok...

added the line to the file main.class.php

and the sessions are now written to the defined dir smile.gif

however...

i am still getting goofeee display of error messsage...

hoping to be able to put live thsi week...

any thoughts?

here is error...

CODE
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/.sites/removed/survey.php:5) in /home/.sites/removed/classes/main.class.php on line 26

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/.sites/removed/survey.php:5) in /home/.sites/removed/classes/main.class.php on line 26
JHolmes763
Did you modify survey.php at all? Sessions rely on cookies, which must be sent before any other output to the browser. The error says that some output is being created by survey.php on line 5. The default survey.php shouldn't do that, so I'm thinking you made some changes to it?
erv
QUOTE(JHolmes763 @ Jun 10 2007, 02:35 PM) *

Did you modify survey.php at all? Sessions rely on cookies, which must be sent before any other output to the browser. The error says that some output is being created by survey.php on line 5. The default survey.php shouldn't do that, so I'm thinking you made some changes to it?



no changes to survey.php

i will start with a fresh copy of the file...



QUOTE(erv @ Jun 10 2007, 03:38 PM) *

QUOTE(JHolmes763 @ Jun 10 2007, 02:35 PM) *

Did you modify survey.php at all? Sessions rely on cookies, which must be sent before any other output to the browser. The error says that some output is being created by survey.php on line 5. The default survey.php shouldn't do that, so I'm thinking you made some changes to it?



no changes to survey.php

i will start with a fresh copy of the file...



smile.gif

loaded fresh survey file - all seems ok

many thanks

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.