Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    27
    Plugin Contributions
    0

    Default Fatal error: Cannot redeclare class paypal

    Hi there
    i am still trying to sort out the issue with my paypal, i recently upgraded the php to 5.?? the database is now upgraded to 1.3.8 i have installed the new paypal stuff from the 1.3.8 download as there was a problem but i dont seem to be able to get it to work, it has been taking payments but now adding them to my site, i have today changed the files again but get the error below, if someone could shed some light on this problem it would be super!!


    Fatal error: Cannot redeclare class paypal in /homepages*********************/includes/modules/payment/paypal.php on line 631

  2. #2
    Join Date
    Sep 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Fatal error: Cannot redeclare class paypal

    I have changed the paypal files for another download and i get the following error now

    Fatal error: Call to undefined function replace_accents() in /homepages/*********************/includes/modules/payment/paypal.php on line 217

    sorry to keep posting its just my site can no longer take the payments from paypal

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal error: Cannot redeclare class paypal

    Quote Originally Posted by ridelow View Post
    Fatal error: Cannot redeclare class paypal in /homepages*********************/includes/modules/payment/paypal.php on line 631
    That typically means you've copied the module file into the languages folder, instead of putting the module's language file in the languages folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal error: Cannot redeclare class paypal

    Quote Originally Posted by ridelow View Post
    Fatal error: Call to undefined function replace_accents() in /homepages/*********************/includes/modules/payment/paypal.php on line 217
    That indicates that you've got mixed versions between v1.3.7 and v1.3.8 on your site. Maybe you've got an addon installed that's not designed for 1.3.8?
    Or maybe your site itself hasn't been fully upgraded to 1.3.8?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Fatal error Cannot redeclare class
    By sasha21 in forum General Questions
    Replies: 5
    Last Post: 21 Jul 2013, 03:21 AM
  2. Fatal error: Cannot redeclare class base
    By apovey in forum General Questions
    Replies: 3
    Last Post: 25 Jun 2009, 05:08 AM
  3. Fatal error: Cannot redeclare class template_func
    By jimh3768 in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2008, 05:17 AM
  4. Fatal error: Cannot redeclare class paypal
    By lorhan in forum General Questions
    Replies: 4
    Last Post: 29 Jul 2006, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg