Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions restart and proper file name


Guest

Recommended Posts

I'm having this problem.

From Check Error Codes in my webhost (doesn't show up on the site or admin itself):

PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at ***oscommerce/admin/includes/filenames.php:2) in ***oscommerce/admin/includes/functions/sessions.php on line 67

Have researched everything I could find in forums. Have researched php sites for answers, still nothing that gives solution. (I checked the files filenames.php and sessions.php for whitespace at ending (none). Interesting wrinkle: I, somehow ended up with my admin being renamed filenames.php. Trying to figure out how to change this name back or to something else. Maybe this has something to do with this problem. (re: filenames.php:2 )?

And I can't find a file named: "filenames.php:2?

Database is selected for storage (not store location). Storage location is ...cgi-bin/tmp. This seems to be a proper location. I don't want to eliminate the " / " . Feel that change would result an improper location.

I really have researched this. So I hesitantly ask for assistance.

Thank you.

nea-esco

Link to comment
Share on other sites

I'm having this problem.

From Check Error Codes in my webhost (doesn't show up on the site or admin itself):

PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at ***oscommerce/admin/includes/filenames.php:2) in ***oscommerce/admin/includes/functions/sessions.php on line 67

Have researched everything I could find in forums. Have researched php sites for answers, still nothing that gives solution. (I checked the files filenames.php and sessions.php for whitespace at ending (none). Interesting wrinkle: I, somehow ended up with my admin being renamed filenames.php. Trying to figure out how to change this name back or to something else. Maybe this has something to do with this problem. (re: filenames.php:2 )?

And I can't find a file named: "filenames.php:2?

Database is selected for storage (not store location). Storage location is ...cgi-bin/tmp. This seems to be a proper location. I don't want to eliminate the " / " . Feel that change would result an improper location.

I really have researched this. So I hesitantly ask for assistance.

Thank you.

nea-esco

 

 

I just stumbled across the answer. Someone posted (sorry can't remember name) help for another party with a similar problem.

 

Turns out that the first name with the ending of xxx.php:2 . The " :2 " IS AN INDICATION OF WHICH LINE THE PROBLEM IS OCCURRING ON!! That pointed me to look again at the top..the file had inherited a Title line on the very first line. An unnecessary title line. So, the :2 was an indication of the line of error. Even though the next entry referenced the error line as: "on line 63".

 

Anyway, this problem is solved. And here's the answer just in case someone else might have the same problem.!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...