djhspawn Posted March 24, 2006 Posted March 24, 2006 I changed the configure.php file to change the secure to false and now I am getting this Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/poopsiec/public_html/os/includes/configure.php:48) in /home/poopsiec/public_html/os/includes/functions/sessions.php on line 97 The link is www.poopsiecat.com/os
custodian Posted March 24, 2006 Posted March 24, 2006 when you editted the configure.php make sure the last line is ?> no spaces after it and not blank lines following it. It should be the VERY last thing in the file My Contributions Henry Smith
djhspawn Posted March 24, 2006 Author Posted March 24, 2006 Thank you so much!!!!!!!! I had spaces after the ?>.
djhspawn Posted March 24, 2006 Author Posted March 24, 2006 OK, now I have a new problem. All I wanted to do was change includes/languages/english/privacy.php file with my Privacy Policy. Of coarse it could not be that easy for me. I take the deafult code <?php /* $Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', [color=#FF0000]'Put here your Privacy Notice information.[/color]'); ?> and change it to <?php /* $Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', [color=#CC0000]'Our Guarantee Policy - All of our products are manufactured in America. And our Natural Oat Cat Grass seeds are grown in America. You can count on the quality of our products. We offer a 30-day money-back guarantee on all of our products (less shipping/handling) with no hassles or questions asked. [/color]'); ?> What I end up with is this error after I refresh Parse error: syntax error, unexpected T_STRING in /home/poopsiec/public_html/os/includes/languages/english/privacy.php on line 16 Does anyone have any ideas? http://www.poopsiecat.com/os
ru4u Posted March 24, 2006 Posted March 24, 2006 OK, now I have a new problem. All I wanted to do was change includes/languages/english/privacy.php file with my Privacy Policy. Of coarse it could not be that easy for me. I take the deafult code <?php /* $Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', [color=#FF0000]'Put here your Privacy Notice information.[/color]'); ?> and change it to <?php /* $Id: privacy.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', [color=#CC0000]'Our Guarantee Policy - All of our products are manufactured in America. And our Natural Oat Cat Grass seeds are grown in America. You can count on the quality of our products. We offer a 30-day money-back guarantee on all of our products (less shipping/handling) with no hassles or questions asked. [/color]'); ?> What I end up with is this error after I refresh Parse error: syntax error, unexpected T_STRING in /home/poopsiec/public_html/os/includes/languages/english/privacy.php on line 16 Does anyone have any ideas? http://www.poopsiecat.com/os try it define('TEXT_INFORMATION', "<font color='#CC0000'>Our Guarantee Policy - All of our products are manufactured in America. And our Natural Oat Cat Grass seeds are grown in America. You can count on the quality of our products. We offer a 30-day money-back guarantee on all of our products (less shipping/handling) with no hassles or questions asked.</font>");
djhspawn Posted March 25, 2006 Author Posted March 25, 2006 Is there any other information that I could add to get a response?
ozcsys Posted March 25, 2006 Posted March 25, 2006 Is there any other information that I could add to get a response? Did you try the solution in the post above your last one? If so what happened? Same error? Different?? 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??
Wendy James Posted March 25, 2006 Posted March 25, 2006 try it define('TEXT_INFORMATION', "<font color='#CC0000'>Our Guarantee Policy - All of our products are manufactured in America. And our Natural Oat Cat Grass seeds are grown in America. You can count on the quality of our products. We offer a 30-day money-back guarantee on all of our products (less shipping/handling) with no hassles or questions asked.</font>"); Actually that should be define('TEXT_INFORMATION', '<font color=#CC0000>Our Guarantee Policy - All of our products are manufactured in America. And our Natural Oat Cat Grass seeds are grown in America. You can count on the quality of our products. We offer a 30-day money-back guarantee on all of our products (less shipping/handling) with no hassles or questions asked.</font>'); the way you put it will make errors. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
djhspawn Posted March 29, 2006 Author Posted March 29, 2006 Thank you wendyjames and ru4u and for help. the last post did work for me but the only problem I have is that the copy I posted here was not the correct copy that I want to show for the Privacy Policy. So I tried myself to just swap out the text and generate the same error. Now I know I could just post the copy that I want and somone would generate the correct code for me, but I would also like to understand what is causing this. Below is the copy that I would want to insert. Our Privacy Policy - We use the information you furnish us to only process your order. You'll never have to worry about being inundated with unexpected e-mail from us and we do not sell, trade, or rent your personal information to others. In fact, all of our office paperwork is shredded before it's placed in the trash container. Whatever way you decide to order, be assured, we protect your privacy.
custodian Posted March 30, 2006 Posted March 30, 2006 Thank you wendyjames and ru4u and for help. the last post did work for me but the only problem I have is that the copy I posted here was not the correct copy that I want to show for the Privacy Policy. So I tried myself to just swap out the text and generate the same error. Now I know I could just post the copy that I want and somone would generate the correct code for me, but I would also like to understand what is causing this. Below is the copy that I would want to insert. That text should be Our Privacy Policy - We use the information you furnish us to only process your order. You\'ll never have to worry about being inundated with unexpected e-mail from us and we do not sell, trade, or rent your personal information to others. In fact, all of our office paperwork is shredded before it\'s placed in the trash container. Whatever way you decide to order, be assured, we protect your privacy. If you use an ' (ie: that's you'll ) you need to escape it with a \ else php wants to process it as part of the program and not as regular old text the \ tell php to take it only for what it is and nothing more My Contributions Henry Smith
djhspawn Posted March 30, 2006 Author Posted March 30, 2006 That text should be Our Privacy Policy - We use the information you furnish us to only process your order. You\'ll never have to worry about being inundated with unexpected e-mail from us and we do not sell, trade, or rent your personal information to others. In fact, all of our office paperwork is shredded before it\'s placed in the trash container. Whatever way you decide to order, be assured, we protect your privacy. If you use an ' (ie: that's you'll ) you need to escape it with a \ else php wants to process it as part of the program and not as regular old text the \ tell php to take it only for what it is and nothing more Awsome, thanks buddy. I will give it a try!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.