Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Security Issue


healthsmart

Recommended Posts

:o I am getting this message

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/oscommerce2/includes/functions/general.php:1255) in /var/www/html/oscommerce2/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/oscommerce2/includes/functions/general.php:1255) in /var/www/html/oscommerce2/includes/functions/sessions.php on line 67

 

Warning Warning: I am able to write to the configuration file: /var/www/html/oscommerce2/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

It looks like my program is being hacked. How can I stop this security problem.

Link to comment
Share on other sites

Calm down. Your programme is not being hacked.

 

The first error relates to whitespace at the beginning or end of the file you are loading when the error appears. Download it via FTP, open it in a plain text editor like Textpad, remove any blank lines or spaces before the opening or after the closing php tag, save it and upload it to the correct folder again via FTP.

 

Do not use the osCommerce File Manager to edit files.

 

The last message is one you get just after you have installed your website, because the permissions on the file mentioned need to be reset to 'Read Only'. That will be 644, or 444, or even 400 depending on your server setup. Use the File Manager in your web hosting control panel (not your osC admin panel) to reset the permissions on that file.

 

Vger

Link to comment
Share on other sites

The only problem is my oscommerce program has been running for months and no-one as far as I know has made any changes to those files. Now all of a sudden I started getting these messages. I can understand if I had been doing any changes but I haven't. So what is the cause then?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...