Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I am getting fatal error in Fatal error: Cannot redeclare class paypal


Guest

Recommended Posts

Payment Modules

 

Fatal error: Cannot redeclare class paypal in /home/ellehost/public_html/mvip/includes/modules/payment/paypal.php on line 20

 

and below is the line the error is talking about.. I can't find it.. please help

 

  class paypal {
var $code, $title, $description, $enabled;

Link to comment
Share on other sites

Make sure includes/languages/enlish/modules/payment/paypal.php is not a code file. It should look something like this:

 

  define('MODULE_PAYMENT_PAYPAL_TEXT_TITLE', 'PayPal');
 define('MODULE_PAYMENT_PAYPAL_TEXT_DESCRIPTION', 'PayPal');

 

If it's a lot bigger with some code, then you have uploaded a code file over your language file.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...