Zen Cart Logo
Forums / General Questions / "headers already sent" error when attempting to set up SSL

"headers already sent" error when attempting to set up SSL

Locked

Views: 1,302

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Apr 2008, 9:27 PM
#1
johnbtes avatar

johnbtes

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

"headers already sent" error when attempting to set up SSL

I went into my admin/includes/configure.php file and my include/configure.php file and changed ssl to true. Then I got this error.

"
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/init_includes/init_templates.php on line 78
™ ™
Warning: I am able to write to the configuration file: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance. "

I then put fresh fresh copies of the sessions.php file and the init_templates.php file back in there and changed the permissions of the configure.php file, but the error remains.

Any help would be greatly appreciated.

3 Apr 2008, 9:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: "headers already sent" error when attempting to set up SSL

johnbtes:

I went into my admin/includes/configure.php file and my include/configure.php file and changed ssl to true. Then I got this error.

"
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in ...

That's the very same issue that I already answered in your last post:
http://www.zen-cart.com/forum/showthread.php?t=91814

NOTE: Moving this discussion out of the bug reports area, because it's not a Zen Cart bug.

4 Apr 2008, 2:40 AM
#3
johnbtes avatar

johnbtes

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

Re: "headers already sent" error when attempting to set up SSL

Man that shows how out of it I am.
Well I ended up fixing that stupid warning.
After fixing it though I broke my css somehow.
If you type in the url of my main stylesheet.css it tells me that i do not have permission to access the file, but my permissions are set to 755 for the file.

What would block the permission to the stylesheet?

4 Apr 2008, 6:03 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: "headers already sent" error when attempting to set up SSL

johnbtes:

After fixing it though I broke my css somehow.
If you type in the url of my main stylesheet.css it tells me that i do not have permission to access the file, but my permissions are set to 755 for the file.

What would block the permission to the stylesheet?

Answered in your other post about this issue: http://www.zen-cart.com/forum/showthread.php?t=93526