mtims48021 Posted March 23, 2007 Posted March 23, 2007 I'm trying to get a modified OSCommerce script to work in a subfolder of my Windows NT hosted website. I finally got my host support to turn OFF session.auto_start in php.ini and now I am getting the following error message in BOTH www.matcopublishing.com/bookstor/admin/ and www.matcopublishing.com/bookstor/index.php . It took a lot of tweeking of the path statements in both configure.php files and I may have missed something. This is the error as it appears on my index page: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\hshome\mtims\matcopublishing.com\bookstor\admin\includes\configure.php:74) in C:\hshome\mtims\matcopublishing.com\bookstor\admin\includes\functions\sessions.php on line 60 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\hshome\mtims\matcopublishing.com\bookstor\admin\includes\configure.php:74) in C:\hshome\mtims\matcopublishing.com\bookstor\admin\includes\functions\sessions.php on line 60 I am also getting a CGI Error when I click on ANY link on the main page. "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" nothing more Anyone have any ideas where to look?
ShaunB Posted March 23, 2007 Posted March 23, 2007 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /webroot/p/c/pcper001/www/catalog/admin/includes/application_top.php on line 130 Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /webroot/p/c/pcper001/www/catalog/admin/includes/application_top.php on line 130 Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/php5:/usr/share/php') in /webroot/p/c/pcper001/www/catalog/admin/includes/application_top.php on line 130 are the errors i get... this is getting very frustrating, i know it's open source but man i wish there was some sort of tech support
mtims48021 Posted March 24, 2007 Author Posted March 24, 2007 After recoding a hundred pages, my session_start() problems went away on my bookstor/index.php page. Now I will work on the admin side. It had to do with hard coding the absolute path to the configure.php and application_top.php files. Maybe by the time I fix the other files the CGI Error will go away.
shooter-boy Posted March 24, 2007 Posted March 24, 2007 It always has something to do with either your configuration files, cache, or cache/tmp directory settings. There is no reason to recode pages. Rob Rob Bell - Inspired Graphix Customising osCommerce in Australia, and the world! View my profile for web and email links. I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture. However viewing my profile may provide links to my website or something like that which you may find useful.
♥Vger Posted March 24, 2007 Posted March 24, 2007 Top of this page -->Network --> Knowledge Base --> Common Problems --> Headers already sent. Vger
ptrau Posted March 26, 2007 Posted March 26, 2007 No such path at the top of this page as: Network--> Knowledge Base-->Common Problems-->Headers Already Sent Am I looking in the right place?? Sure need the answer to this because I just started getting the error message yesterday after one month. Top of this page -->Network --> Knowledge Base --> Common Problems --> Headers already sent. Vger "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.