XF 1.5 Undefined variable: startTime

Alpha1

Well-known member
My old vbulletin site was setup to receive weekly subscriptions & donations.
Ever since switching to XenForo I get spammed by these 2 errors:
Code:
startTime - forum/global.php:14
Generated By: Unknown Account, 27 minutes ago
Stack Trace
#0 /forum/global.php(14): XenForo_Application::handlePhpError(8, 'Undefined varia...', '...', 14, Array)
#1 /forum/awc_payment.php(18): require_once('...')
#2 {main}
Request State
array(3) {
  ["url"] => string(70) "/awc_payment.php?do=process&method=paypal"
  ["_GET"] => array(2) {
    ["do"] => string(7) "process"
    ["method"] => string(6) "paypal"
  }
  ["_POST"] => array(29) {
    ["transaction_subject"] => string(83) "Donation 1 Weeks Donation"
    ["payment_date"] => string(25) "04:33:45 Jul 26, 2017 PDT"
    ["txn_type"] => string(14) "subscr_payment"
    ["subscr_id"] => string(14) "I-x
    ["last_name"] => string(7) "x"
    ["residence_country"] => string(2) "GB"
    ["item_name"] => string(83) "Donation 1 Weeks Donation"
    ["payment_gross"] => string(0) ""
    ["mc_currency"] => string(3) "EUR"
    ["business"] => string(38) "x"
    ["payment_type"] => string(7) "instant"
    ["protection_eligibility"] => string(8) "Eligible"
    ["verify_sign"] => string(56) "x"
    ["payer_status"] => string(8) "verified"
    ["payer_email"] => string(18) "x"
    ["txn_id"] => string(17) "x"
    ["receiver_email"] => string(38) "x"
    ["first_name"] => string(8) "x"
    ["payer_id"] => string(13) "x"
    ["receiver_id"] => string(13) "x"
    ["item_number"] => string(2) "23"
    ["payment_status"] => string(9) "Completed"
    ["payment_fee"] => string(0) ""
    ["mc_fee"] => string(4) "0.40"
    ["mc_gross"] => string(4) "3.50"
    ["custom"] => string(15) "312575,0,1,ss,0"
    ["charset"] => string(12) "windows-1252"
    ["notify_version"] => string(3) "3.8"
    ["ipn_track_id"] => string(13) "x"
  }
}
Code:
Error Info
ErrorException: Fatal Error: main(): Failed opening required './awcoding/functions/base.php' (include_path=/library:.:.:/usr/local/php71/lib/php') - forum/awc_payment.php:19
Generated By: Unknown Account, 31 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(70) "/forum/awc_payment.php?do=process&method=paypal"
  ["_GET"] => array(2) {
    ["do"] => string(7) "process"
    ["method"] => string(6) "paypal"
  }
  ["_POST"] => array(29) {
    ["transaction_subject"] => string(83) "Donation 1 Weeks Donation
Removed transaction details
  }
}
Obviously the vbulletin URL's do not exist.
These errors occur at every recurring payment that I receive. How do I get rid of this?
I have migrated my site 5 months ago. The weekly donations I get from these members are from members who will not create a new XenForo Account Upgrade instead. I need to keep this income while getting rid of the errors.
I assume that I need to change the PayPal endpoint in some way? But how do I do that without disrupting payments.
 
These all look like they are coming from custom/add-on code.

forum/global.php - this isn't one of ours. It looks like they're using a variable called $startTime on line 14

ErrorException: Fatal Error: main(): Failed opening required './awcoding/functions/base.php' (include_path=/library:.:.:/usr/local/php71/lib/php') - forum/awc_payment.php:19

That looks like a file is being called (base.php) which doesn't exist.

All of these errors appear to be originating from the user accessing awc_payment.php which is also not one of our files.
 
Thanks Chris, that makes it more clear.
forum/global.php - this isn't one of ours. It looks like they're using a variable called $startTime on line 14
Correct. This is the vBulletin Albums to XenForo Media Gallery redirection script.
But a global.php file also existed on vbulletin. Which I suspect was called by PayPal IPN.
That looks like a file is being called (base.php) which doesn't exist.
base.php was part of my vbulletin installation (addon)

So it seems to me that I need to have global.php changed to another file name or to change PayPal IPN endpoint in some way.

For some reason PayPal keeps hitting the same file over and over for the same IPN.
 
Back
Top Bottom