News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Weird vmcrypt.php error appearing in web logs for Paypal transactions

Started by dmb, February 28, 2017, 17:38:12 PM

Previous topic - Next topic

dmb

Hi,

J 3.6.5
VM 3.0.16

I notice that I get a strange error in my web logs whenever a Paypal payment is made, but I'm not sure if it's affecting anything (I don't think so). However it's a bit worrying and I'd appreciate it if anyone knows what causes it, if it's important, and if I can do anything about it :)

PHP Warning:  syntax error, unexpected $end, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in /var/www/www.oups.org.uk/vmfiles/keys/160213.ini on line 8\n in /var/www/www.oups.org.uk/public_html/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 102, referer: https://www.paypal.com/webapps/hermes?token=1EF03463RD3830053&useraction=commit&rm=2&mfid=1487373854465_2c2e23da58650

The vmcrypt.php line in question is:

$content = parse_ini_file($file);

when trying to parse the (peculiar looking) file:

;<?php die(); */
                                                [
keys]
                                                
key "v"2▒▒Jvc▒vhُv▒k▒▒▒3▒"
                                                unixtime = "
1455324148"
                                                date = "
2016-02-13 00:42:28"
                                                b64 = "
0"
                                                size = "
24"
                                                ; */ ?>


Any insights welcome !

David