Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help is needed please in Warning: session_start()


Recommended Posts

Hello guys

every time i upload my oscommerce from my local WAMP to the web server online i get this error .....


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/cyber/public_html/ufix/index.php:2) in/home/cyber/public_html/ufix/includes/functions/sessions.php on line 102


anybody knows whats the problem??

you can check the error online :

Link to comment
Share on other sites

The message is telling you exactly what's wrong. Your index.php should not be outputting anything to the browser on line 2, but for some reason it is. Most likely you've been hacked, and code added to the beginning of your index.php file to do something nasty. Check your index.php against a clean backup and see if something has been added at the top. If there's nothing malicious, did you do some editing or attempt to install an add-on? Editing errors either way can leave extra empty lines at the beginning or end of a file. Also look at the browser source (View > Page Source) and see if there is an error message at the very top of the page.

Link to comment
Share on other sites


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

  • Create New...