Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login Account Client


t8ia6o

Recommended Posts

Digit customer data enter after giving the following error appears:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/sessions.php on line 67

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/general.php on line 29

 

______________________________________________________________________________________________________________

 

SESSIONS.PHP

 

61

62 function _sess_gc($maxlifetime) {

63 tep_db_query("delete from " . TABLE_SESSIONS . " where expiry < '" . time() . "'");

64

65 return true;

66 }

67

68 session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy','_sess_gc');

69 }

 

GENERAL.PHP

 

26 // Stop from parsing any further PHP code

27 function tep_exit() {

28 tep_session_close();

29 exit();

30 }

Link to comment
Share on other sites

This is usually due to whitespace at start/end of file, created when editing file or by some 'bad' editors. The inbuilt editor in file manager (but this should have been deleted for security reasons anyway) can cause this, edit your files with a proper text editor, such as notepad ++ or editplus +

 

 

 

 

Chris

Link to comment
Share on other sites

Digit customer data enter after giving the following error appears:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/sessions.php on line 67

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/83/7389683/html/loja/includes/languages/portugues.php:491) in /home/content/83/7389683/html/loja/includes/functions/general.php on line 29

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /loja/includes/languages/portugues.php (line 491)

 

Most likely "whitespace(s)" at the end.

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...