PDA

View Full Version : installation problem


jfranklin
02-05-04, 10:51 AM
hi.

I just had a look through the forum and couldn't find the solution to my problem (feel free to shout at me if I missed it).

On running index.php (login page) I get the following errors:

----start errors----
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 56

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /home/tenseki/public_html/developer/dotproject/includes/config.php:133) in /home/tenseki/public_html/developer/dotproject/index.php on line 129

----end errors----

then on logging in a very similar set of errors and nothing happens.

I assume that I've set something up wrong in the config file (or something else) that's causing an error message to be produced then the index.php file can't send the header info again as already sent.

If anyone has any advice then I'd be pleased to hear it. The only thing that I know I did wrong was setting the files directory to 777 and not assigning a proper user as my hosting company won't let me do it that way.

every thing else I think was correct - but I may be wrong.

any help is gladly appreciated :)

ajdonnison
03-05-04, 10:00 AM
Look at line 133 of the config file and work backwards. You may have a space after the closing ?>, you may have an unterminated quote, or a missing semi-colon. But yes, as the error states, your config.php is the problem.

brooker
26-05-04, 06:44 AM
Hey! I had this problem earlier today... check the following in your php.ini file...

output_buffering = on
cgi.force_redirect = 0
cgi.rfc2616_headers = 1

Like I said, I was getting the same errors earlier, and changing these settings made it go away. However, I'd wanted to verify my solution before sharing it and when I changed the settings back to what they'd been before, the error didn't come back. :| Give it a shot, and let me know if this helped!!