Meadow Posted June 26, 2009 Posted June 26, 2009 Hi! I'm a rookie around here, so sorry for any stupid mistake... I've just installed and configured OsCommerce - and let me say that OsC was a nice surprise! Unfortunately, when testing the shopping process, I got this warning msg imediately after the process confirmation: "Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program files\Apache Software Foundation\Apache2.2\htdocs\catalog\checkout_process.php:1) in C:\Program files\Apache Software Foundation\Apache2.2\htdocs\catalog\includes\functions\sessions.php on line 102" I received both e-emails (to customer and for the shop) and the buy was correctly registered at DB, so the only problem is the start of a new session... Any idea of what might be wrong? Thanks in advance. FixRoc
germ Posted June 26, 2009 Posted June 26, 2009 Headers Already Sent Click the link above for an explanation. The problem is in \catalog\checkout_process.php (line 1) The opening PHP tag: <?php MUST be at the top of the file, no blank lines or spaces are allowed preceding it. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Meadow Posted June 29, 2009 Author Posted June 29, 2009 Thanks a lot, Germ! You're right. Problem solved. Next time I should look first at 'Common Problems', correct? Or ask directly to you :lol: Thanks once again! FixRoc
Recommended Posts
Archived
This topic is now archived and is closed to further replies.