Error in cf_paypal_api.php on line 361
One of my forms comes up with:
Parse error: syntax error, unexpected $end in /home/*user*/public_html/components/com_chronocontact/plugins/cf_paypal_api.php on line 361
What does that mean?😟 It's a Joomla 1.5 site.
Parse error: syntax error, unexpected $end in /home/*user*/public_html/components/com_chronocontact/plugins/cf_paypal_api.php on line 361
What does that mean?😟 It's a Joomla 1.5 site.
Hi TheGoldFish ,
I'm not sure, may be a corrupt file. If you open it in an editor what do you see around that line. I have this code:
Bob
I'm not sure, may be a corrupt file. If you open it in an editor what do you see around that line. I have this code:
$PROXY_HOST = $params->get('PROXY_HOST');
$PROXY_PORT = $params->get('PROXY_PORT');
//$PAYPAL_URL = $params->get('PAYPAL_URL;
$version = '56.0';
$paypal_values = array // << this is line 361
(
"PAYMENTACTION" => urlencode( $params->get('PAYMENTACTION') ),
"EXPDATE" => str_pad(urlencode( JRequest::getVar($params->get('EXPDATE_m'))), 2, '0', STR_PAD_LEFT).urlencode( JRequest::getVar($params->get('EXPDATE_y'))),
"AMT" => urlencode( JRequest::getVar($params->get('AMT'))),
"CREDITCARDTYPE" => urlencode( JRequest::getVar($params->get('CREDITCARDTYPE'))),
"ACCT" => urlencode( JRequest::getVar($params->get('ACCT'))),
"CVV2" => urlencode( JRequest::getVar($params->get('CVV2'))),
"FIRSTNAME" => urlencode( JRequest::getVar($params->get('FIRSTNAME'))),
"LASTNAME" => urlencode( JRequest::getVar($params->get('LASTNAME'))),
"STREET" => urlencode( JRequest::getVar($params->get('STREET'))),
"CITY" => urlencode( JRequest::getVar($params->get('CITY'))),
"STATE" => urlencode( JRequest::getVar($params->get('STATE'))),
"ZIP" => urlencode( JRequest::getVar($params->get('ZIP'))),
"COUNTRYCODE" => urlencode( JRequest::getVar($params->get('COUNTRYCODE'))),
"CURRENCYCODE" => urlencode( JRequest::getVar($params->get('CURRENCYCODE')))
);
$extras = explode("\n",$row->extra1);
Bob
This topic is locked and no more replies can be posted.