Hi,
i have been running my oscommerce shop for 3.5 years now and all going smoothly when all of a sudden i get this error when people try and pay by credit card
Using $this when not in object context in /home/scrapbox/public_html/catalog/includes/modules/email_invoice/templates/html_invoice.php on line 184
now I've looked at line 184 and this is what it says
$this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) .
it's always said this - so i'm not sure what has changed - I have recently had to change servers and now running PHP version 5.2.8 instead of the version 4.2 I originally was running but it seems odd that nothing else has been effected so I'm not sure this is the cause
I am not familiar with programing so I'm not sure what the problem might be and would really appreciate any suggestions.
thanks in advance
Maria
Latest News: (loading..)
Fatal Error in Credit Card Module - Urgent Held needed
Started by scrapart, Jan 08 2009 08:52 AM
1 reply to this topic
#1
Posted 08 January 2009 - 08:52 AM
#2
Posted 13 March 2009 - 05:02 PM
scrapart, on Jan 8 2009, 04:52 AM, said:
Hi,
i have been running my oscommerce shop for 3.5 years now and all going smoothly when all of a sudden i get this error when people try and pay by credit card
Using $this when not in object context in /home/scrapbox/public_html/catalog/includes/modules/email_invoice/templates/html_invoice.php on line 184
now I've looked at line 184 and this is what it says
$this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) .
it's always said this - so i'm not sure what has changed - I have recently had to change servers and now running PHP version 5.2.8 instead of the version 4.2 I originally was running but it seems odd that nothing else has been effected so I'm not sure this is the cause
I am not familiar with programing so I'm not sure what the problem might be and would really appreciate any suggestions.
thanks in advance
Maria
i have been running my oscommerce shop for 3.5 years now and all going smoothly when all of a sudden i get this error when people try and pay by credit card
Using $this when not in object context in /home/scrapbox/public_html/catalog/includes/modules/email_invoice/templates/html_invoice.php on line 184
now I've looked at line 184 and this is what it says
$this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) .
it's always said this - so i'm not sure what has changed - I have recently had to change servers and now running PHP version 5.2.8 instead of the version 4.2 I originally was running but it seems odd that nothing else has been effected so I'm not sure this is the cause
I am not familiar with programing so I'm not sure what the problem might be and would really appreciate any suggestions.
thanks in advance
Maria
Did you figure out how to fix this? Thanks.









