Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Fatal Error when going to Main Handler

    Fatal error: Cannot redeclare replace_accents() (previously declared in /home/content/m/u/h/muhstore/html/zencart/includes/modules/payment/paypal/paypal_functions.php:547) in /home/content/m/u/h/muhstore/html/zencart/includes/functions/functions_general.php on line 1487


    when i visit http://muhstore.net/zencart/ipn_main_handler.php



    this could be why my payments r not working?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal Error when going to Main Handler

    Quote Originally Posted by Muhstore View Post
    this could be why my payments r not working?
    Most likely, yes.
    .

    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.

  3. #3
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Fatal Error when going to Main Handler

    how do i fix it then?


    <ZENNOOB

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal Error when going to Main Handler

    Judging by the log details in your other post on paypal problems, along with the details of the error message you posted here, you seem to have pieces of two different versions of paypal module files on your site.
    You need to get all your files matching whatever version of Zen Cart you're using, rather than having a mix-and-match.
    .

    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.

  5. #5
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Fatal Error when going to Main Handler

    Zen Cart 1.3.8a
    Database Patch Level: 1.3.8
    v1.3.8 [2008-07-29 05:49:25] (Fresh Installation)
    v1.3.8 [2008-07-29 05:49:25] (Fresh Installation)

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal Error when going to Main Handler

    What addons have you installed?
    .

    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.

  7. #7
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Fatal Error when going to Main Handler

    Add ons? Dont think i have any?

    IPN standard is my payment method..

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal Error when going to Main Handler

    Well, somehow you've got v1.3.7 paypal patch files on a v1.3.8 site.

    You'll need to do something akin to this:
    - backup all your files and database
    - upload the correct version (ie: from original v1.3.8 distribution zip) of these files to your site:

    /ipn_main_handler.php
    /includes/modules/payment/paypal/***all .php files in this folder***
    /includes/modules/payment/paypal.php
    /includes/languages/english/modules/payment/paypal.php
    .

    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.

  9. #9
    Join Date
    Jul 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Fatal Error when going to Main Handler

    Yeah, i was one stop ahead of you after reading another post... updated them.. now i dont get an error when visiting the page.. just gota see if the payments work now

 

 

Similar Threads

  1. Replies: 6
    Last Post: 15 Oct 2013, 08:33 PM
  2. v151 Image handler 4 gives fatal error with v1.5.1 fresh install
    By Arunachala in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 May 2013, 10:37 PM
  3. Warning: main and fatal error when installing
    By sandystender in forum Installing on a Windows Server
    Replies: 5
    Last Post: 18 May 2008, 03:15 AM
  4. fatal error in Image Handler 2
    By fyrestorm in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Sep 2007, 05:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR