Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Supposed to be going live this weekend!


Henhouse

Recommended Posts

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...)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.');

?>

Link to comment
Share on other sites

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??

Link to comment
Share on other sites

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 by ArtRat
Link to comment
Share on other sites

 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

Link to comment
Share on other sites

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.

Treasurer MFC

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...