Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: session_start(): ---- need help to fix this


Wanwan

Recommended Posts

Need help,

I have this warning, could anyone guide me to fix it?

 

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/b/f/i/bfinc/html/catalog/includes/configure.php:56) in /home/content/b/f/i/bfinc/html/catalog/includes/functions/sessions.php on line 67

 

 

thanks

Wanwan -- %_%_

Link to comment
Share on other sites

Need help,

I have this warning, could anyone guide me to fix it?

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/b/f/i/bfinc/html/catalog/includes/configure.php:56) in /home/content/b/f/i/bfinc/html/catalog/includes/functions/sessions.php on line 67

thanks

 

 

Check for blank space at the end of your file. You can see the answer in the knowledge base HERE

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Check for blank space at the end of your file. You can see the answer in the knowledge base HERE

 

for those of you with a lamp system on XP:

 

if you are encountering the following error:

 

Warning: session_start() [function.session-start]: open(/tmp\sess_bb0ddd2351f6e2b89d5d33132ab8cd4f, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\tt\oscom\catalog\includes\functions\sessions.php on line 69

 

try to change the session_start function in sessions.php

 

function tep_session_start() {

define("_PATH_TMP", dirname($_SERVER['SCRIPT_FILENAME']) );

ini_set('session.save_path', _PATH_TMP);

return session_start();

}

 

 

. that does it

Link to comment
Share on other sites

Check for blank space at the end of your file. You can see the answer in the knowledge base HERE

 

 

Well, I went to the includes/configure.php and delete the blank space at the end of my file. It works in this way, rather then go to the sessions.php to delete the blank space. Funny...!!?? :blink:

Thanks for the hints. It really help too!! :thumbsup:

Wanwan -- %_%_

Link to comment
Share on other sites

Well, I went to the includes/configure.php and delete the blank space at the end of my file. It works in this way, rather then go to the sessions.php to delete the blank space. Funny...!!?? :blink:

Thanks for the hints. It really help too!! :thumbsup:

 

 

What editor are you using to edit your php files? That is usually the problem so if you do not have a php editor I would go ahead and get one. There are quite a few free ones out there so you can do a quick search and find one that will not cause you any problems when you edit your files.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

What editor are you using to edit your php files? That is usually the problem so if you do not have a php editor I would go ahead and get one. There are quite a few free ones out there so you can do a quick search and find one that will not cause you any problems when you edit your files.

 

 

I am using pspad editor. It works fine now. : )

Wanwan -- %_%_

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...