Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

contact us comes up with error


Guest

Recommended Posts

Hi,

Can some one tell me why this error comes up when somebody tries to use the "contact us" link on the site????

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/thepur/public_html/includes/languages/english/contact_us.php:23) in /home/thepur/public_html/includes/functions/general.php on line 29

 

Any help would be greatly apreciated...

Link to comment
Share on other sites

Hi,

Can some one tell me why this error comes up when somebody tries to use the "contact us" link on the site????

Warning: Cannot modify header information - headers already sent by (output started at /home/thepur/public_html/includes/languages/english/contact_us.php:23) in /home/thepur/public_html/includes/functions/general.php on line 29

 

Any help would be greatly apreciated...

 

 

I found the problem. In the code catalog/includes/configure.php

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://mysite.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mysite.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.mysite.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com');

define('HTTP_COOKIE_PATH', '/');

 

Took off the www. from here: define('HTTP_COOKIE_DOMAIN', 'mysite.com');

define('HTTPS_COOKIE_DOMAIN', 'mysite.com');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...