Poom Posted January 19, 2004 Share Posted January 19, 2004 At the moment I am getting this error in checkout_process.php : Warning: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/thecdrstore.34sp.com/httpsdocs/catalog/includes/languages/english/modules/payment/fastpay.php:20) in /usr/local/psa/home/vhosts/thecdrstore.34sp.com/httpsdocs/catalog/includes/functions/general.php on line 29 Here is a copy of my fastpay.php that is sending the headers: <?php /* $Id: moneyorder.php,v 1.6 2003/01/24 21:36:04 thomasamoulton Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_FASTPAY_TEXT_TITLE', 'Fastpay'); define('MODULE_PAYMENT_FASTPAY_TEXT_DESCRIPTION', 'Please take a look at the confirmation email to see how to proceed with payment. Once this is received your order will be processed'); define('MODULE_PAYMENT_FASTPAY_TEXT_EMAIL_FOOTER', "Please Login To Fastpay Using The Link Below: \n\nPlease Insert the Order Amount in the box above & Place your name and address In the Message Box: \n\nhttps://www.natwestfastpay.com/service/[email protected]&amount=0.00&message=Order%20Number%20 \n\nYour order will not ship until we receive payment"); ?> Can anybody help? Link to comment Share on other sites More sharing options...
241 Posted January 19, 2004 Share Posted January 19, 2004 You have a whitespace in catalog/includes/languages/english/modules/payment/fastpay.php download the file open it and place your cursor after the last ?> thenpress delete several times, save the file and upload it. Do not use the file manager to edit online as this can cause the whitespace. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Guest Posted January 19, 2004 Share Posted January 19, 2004 i had the same problem and had to go through and delete every single space at the end of the files it was having problems with. just keep downloading going to the very end of the file and deleting. as 241 said though dont use the oscommerce admin control panel to edit any file as that can create further problems by adding whitespace or other thing to make errors. Link to comment Share on other sites More sharing options...
Poom Posted January 19, 2004 Author Share Posted January 19, 2004 Thanks mate :) Working now :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.