Install Error - "Headers Already Sent By..."
Permalink
I just installed a new concrete5 site as an addon to a previous domain hosted with JustHost. The install went pretty smooth, but I now get the following error at the top of the page:
Does anyone have any ideas to fix this?
My URL ishttp://www.agapebfc.org .
Thanks!
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/allnati6/public_html/agapebfc.org/config/site.php:11) in /home/allnati6/public_html/agapebfc.org/concrete/startup/session.php on line 18 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/allnati6/public_html/agapebfc.org/config/site.php:11) in /home/allnati6/public_html/agapebfc.org/concrete/startup/session.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/allnati6/public_html/agapebfc.org/config/site.php:11) in /home/allnati6/public_html/agapebfc.org/concrete/libraries/view.php on line 758
Does anyone have any ideas to fix this?
My URL ishttp://www.agapebfc.org .
Thanks!
make sure all files were uploaded
I had uploaded the entire Concrete5 zip to my server, then extracted it server-side... They should all be there. Any other ideas? Thanks.
If you have edited the /config/site.php make sure there are not any spaces or blank lines before the "<?php" or after the "?>"
That may have been my problem. When I installed advanced permissions, I might have caused this error. Needless to say, I had already tried a complete re-install, and it is now working. Thank you.
I have the same issue with a brand new from scratch install (5.6.3). I get the Un-Expected error.
mysqlt error: [1146: Table 'lanoue.Jobs' doesn't exist] in EXECUTE("SELECT jID FROM Jobs WHERE isScheduled = 1 ORDER BY jDateLastRun, jID")
lanoue.Jobs I think references a local database.
When I check the site.php file or any other php file they do not end in "?>"
None of them.
Also changing the files and adding the end "?>" doesn't work either.
I am getting this error when adding PHP Code Blocks to a webpage on a localhost server. I do not get the errors on a hosted website.
mysqlt error: [1146: Table 'lanoue.Jobs' doesn't exist] in EXECUTE("SELECT jID FROM Jobs WHERE isScheduled = 1 ORDER BY jDateLastRun, jID")
lanoue.Jobs I think references a local database.
When I check the site.php file or any other php file they do not end in "?>"
None of them.
Also changing the files and adding the end "?>" doesn't work either.
I am getting this error when adding PHP Code Blocks to a webpage on a localhost server. I do not get the errors on a hosted website.