raja9911 Posted April 30, 2010 Posted April 30, 2010 Hey, I have had an oscommerce store for about a year, and it has been working perfectly, but suddenly im experiencing an error, and i dont know where to start to find the problem. It error msg is as following: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/www.ddposters.com/www/catalog/index.php:2) in /var/www/www.ddposters.com/www/catalog/includes/functions/sessions.php on line 98 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/www.ddposters.com/www/catalog/index.php:2) in /var/www/www.ddposters.com/www/catalog/includes/functions/sessions.php on line 98 I know there is many topics regarding this error, but most of them are when you install the store. mine has been working perfectly for a year now and suddenly this error is showing up. Alternatively is there a way to hide the error msg. I dont think i have access to alter the php.ini Please help site: www.ddposters.com Thanks in advance Shan
germ Posted April 30, 2010 Posted April 30, 2010 My guess is you've just been hacked. There is an invisible link for a sex enhancing drug at the bottom of the page. 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 >
toughmama Posted May 13, 2010 Posted May 13, 2010 HostGator just updated their PHP version on their servers. I'm having issues with not being able to modify segments in my admin section. I'm running 3 OS sites,... all have same issue. If your server just updated to new PHP release, this might be the issue.
Guest Posted July 22, 2010 Posted July 22, 2010 HostGator just updated their PHP version on their servers. I'm having issues with not being able to modify segments in my admin section. I'm running 3 OS sites,... all have same issue. If your server just updated to new PHP release, this might be the issue. hi, im on hostgator too. how did you resolve your problem? thanks. lincoln
germ Posted July 22, 2010 Posted July 22, 2010 And the OP's site is still compromised. :'( The invisble link is still present in the "normal" page source. And if you look at the page cache in google you'll find over 300 more... >_< 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 >
MrPhil Posted July 22, 2010 Posted July 22, 2010 You have something outputting text to the browser "too early". See my sig > FAQs > "Cannot modify headers" for typical causes. Whoever added the drug link might have added a blank before <?php or after ?>. Start looking around the top of /index.php -- that's where the error message says that output was started.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.