Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

functions/sessions.php errors


pollywog_uk

Recommended Posts

Hi all,

This morning some error messages popped up on my oscommerce shop: http://shop.pollywog.co.uk/

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/weba/23/50/51955650/htdocs/shop/catalog/index.php:2) in /mnt/weba/23/50/51955650/htdocs/shop/catalog/includes/functions/sessions.php on line 103

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/weba/23/50/51955650/htdocs/shop/catalog/index.php:2) in /mnt/weba/23/50/51955650/htdocs/shop/catalog/includes/functions/sessions.php on line 103

 

Yesterday I had an email from my host saying someone had hacked my account and was sending out spam and the file "/shop/catalog/images/ylckc/index.php" needed to be removed. I removed the file as requested as it shouldn't have been there and all was working well yesterday evening, I had orders last night and didn't change anything else. But then this morning I had an email from a customer saying they couldn't place and order and when I went to the site to check found these errors. I uploaded a backup of the /shop/catalog/includes/functions/sessions.php file from several weeks ago but still get the errors.

 

Could this be due to the hack and / or the file I removed? What do I need to do to put it right? Any help would be very much appreciated.

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in the index.php.

 

The opening PHP tag:

 

<?php

MUST be at the very beginning of the file, no blank lines,spaces, or other characters (seen or unseen) 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 >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...