I performed a new installation on my site, using fantastico. I then ordered and installed a SSL cert., and edited includes/configure.php and admin/includes/configure.php per the instructions at: https://www.zen-cart.com/tutorials/index.php?article=14.
So far, so good. I made a few changes in the admin section, and realized that SSL only worked during admin login. I re-read the tutorial, and found the note at the bottom of the page:
NOTE: As of v1.3.x, the Admin area can only secure the "login" page via SSL unless you set the HTTP_SERVER in your "admin/includes/configure.php" to an SSL URL, in which case the entire admin area will be treated as SSL rather than only selected relevant pages.
I edited admin/includes/configure.php as follows:
from: define('HTTP_SERVER', 'http://www.superphones.com');
to: define('HTTP_SERVER', 'https://www.superphones.com');
Now, whenever I browse to: http://www.superphones.com/admin, I get the following error:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/super/public_html/admin/includes/configure.php:92) in /home/super/public_html/includes/functions/sessions.php on line 108
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/super/public_html/admin/includes/configure.php:92) in /home/super/public_html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /home/super/public_html/admin/includes/configure.php:92) in /home/super/public_html/admin/includes/init_includes/init_templates.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/super/public_html/admin/includes/configure.php:92) in /home/super/public_html/admin/includes/functions/general.php on line 34
I changed admin/includes/configure.php back to the way it was, and still get the error. I can't see anything that I may have inadvertently changed.
I suppose that I could simply delete and re-install zen-cart, but I would much rather understand what I did wrong. Any ideas?



