Henhouse Posted February 3, 2006 Share Posted February 3, 2006 Ok, so I have done pretty much everything to my site that I want to and now all of a sudden out of nowhere, my payment page for customers has gone haywire with text as follows instead of normal text: MODULE_PAYMENT_COD_TEXT_TITLE MODULE_PAYMENT_MONEYORDER_TEXT_TITLE MODULE_PAYMENT_PAYPAL_TEXT_TITLE It's the DISPLAY of the modules in my web site that are incorrect - still work, but is displayed wrong. Have checked the various files and they still exist, so I'm at a loss...... My Hosting company is trying to tell me that this is the OsCommerce default setting - which I know it isn't as it was displaying fine until the other day (coincidentally when hosting company got involved...) Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 3, 2006 Author Share Posted February 3, 2006 Ok, so now ignore the above........figured that part out - Now the only issue I have is the text for the Money Order payment page (when chosen) comes up with: MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION under Order Confirmation, Payment Information I have checked the files and have tried to find where the error is and can't.....have added the html if anyone can see where I need to modify: <?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 © 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: '; . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); ?> Any help with this would be much appreciated. :D Quote Link to comment Share on other sites More sharing options...
OceanRanch Posted February 3, 2006 Share Posted February 3, 2006 Try changing define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: '; . to define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . HTH Tom Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 4, 2006 Author Share Posted February 4, 2006 Try changing define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: '; . to define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . HTH Tom Tried that no good........here's the file........any other suggestions?: <?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 © 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . 'MODULE_PAYMENT_MONEYORDER_PAYTO' . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Make Payable To: '. MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); ?> Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 4, 2006 Author Share Posted February 4, 2006 Tried that no good........here's the file........any other suggestions?: <?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 ? 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . 'MODULE_PAYMENT_MONEYORDER_PAYTO' . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Make Payable To: '. MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); ?> Desperately seeking the answer........can anyone identify where the error is incorrect in this code?? Quote Link to comment Share on other sites More sharing options...
ArtRat Posted February 4, 2006 Share Posted February 4, 2006 (edited) Desperately seeking the answer........can anyone identify where the error is incorrect in this code?? define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . note the placement of the ; ????hmmm???? edit: sorry the space code didn't post proper... 'make payable to: & n b s p ; ' . with no spaces, if you understand. semicolon moves to the left of the apostrophe in your original code: its part of the space character. Edited February 4, 2006 by ArtRat Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 4, 2006 Author Share Posted February 4, 2006 define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . note the placement of the ; ????hmmm???? edit: sorry the space code didn't post proper... 'make payable to: & n b s p ; ' . with no spaces, if you understand. semicolon moves to the left of the apostrophe in your original code: its part of the space character. Tried: define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: '. Still showing the same in my site as before....You will be my favourite person if you are able to help :D Quote Link to comment Share on other sites More sharing options...
boxtel Posted February 4, 2006 Share Posted February 4, 2006 Tried: define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: '. Still showing the same in my site as before....You will be my favourite person if you are able to help :D why don't you take it one step at a time. start with : define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', ' '); and slowly add the different pieces until it cracks. Quote Treasurer MFC Link to comment Share on other sites More sharing options...
ArtRat Posted February 4, 2006 Share Posted February 4, 2006 why don't you take it one step at a time... made the change to the miss typed space character, uploaded it a test server. paid with money order. it works on my site. ---------------------------------- <?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 ? 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); ?> --------------------------------------- just like that ....make sure you upload it to the correct folder path on your site catalog/includes/languages/modules/payments/YOUR FILE GOES HERE if that doesn't fix it, the problem lies outside of this file... Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 4, 2006 Author Share Posted February 4, 2006 made the change to the miss typed space character, uploaded it a test server. paid with money order.it works on my site. ---------------------------------- <?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 ? 2002 osCommerce Released under the GNU General Public License */ define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Money Order'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.'); ?> --------------------------------------- just like that ....make sure you upload it to the correct folder path on your site catalog/includes/languages/modules/payments/YOUR FILE GOES HERE if that doesn't fix it, the problem lies outside of this file... So I am now guessing that it is outside of this file - as I have just tried the above to no avail....I would now like to throw my computer! Quote Link to comment Share on other sites More sharing options...
Henhouse Posted February 5, 2006 Author Share Posted February 5, 2006 So I am now guessing that it is outside of this file - as I have just tried the above to no avail....I would now like to throw my computer! Thanks heaps to everyone you tried to help - in the end I just figured out how to delete that section and did so. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.