Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting an error code when trying to pay with paypal


Stigah

Recommended Posts

Posted

Hello. No, I don't have any problems with PayPal, but when I press the PayPal button, I get this error:

 

Warning: curl_exec() has been disabled for security reasons in /home/xxx/public_html/includes/modules/payment/paypal_express.php on line 296

 

Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/includes/modules/payment/paypal_express.php:296) in /home/xxx/public_html/includes/functions/general.php on line 45

 

 

So. Do you know how I can fix this? It says that curl_exec() has been disabled. Is there a way I can enable it again?

 

I really hope someone can help me! And I am really sorry my bad English.

 

Stig

Posted

post the code of paypal_express.php line 296 and general.php line 45, as can be you installed something odd

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

On line 296 in paypal_express.php :

    $result = curl_exec($curl);

 

On line 45 in general.php:

   header('Location: ' . $url);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...