Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Location
    Washington
    Posts
    13
    Plugin Contributions
    0

    Default Warning: main(/web/zen-cart/includes/languages/english/modules/payment/header_php.php

    I am not sure if this is the correct place to post this problem, but I have really done it this time. I was trying to fix this same problem on Zen 1.3.7. I found a patch I had not yet installed. I uploaded the patch, made note of my paypal ipn settings and then uninstalled paypal. I then realized the patch was uploaded to the wrong files, and did a file restore from my server. PayPal is now no longer in my shipping module. I have 3 errors showing.
    Warning: main(/web/zen-cart/includes/languages/english/modules/payment/header_php.php) [function.main]: failed to open stream: No such file or directory in /web/zen-cart/admin/modules.php on line 174

    Warning: main() [function.include]: Failed opening '/web/zen-cart/includes/languages/english/modules/payment/header_php.php' for inclusion (include_path='.:/usr/local/pkg/php-4.4.8/lib/php') in /web/zen-cart/admin/modules.php on line 174

    Fatal error: Call to undefined function: zen_get_module_directory() in /web/zen-cart/includes/modules/payment/header_php.php on line 25
    I have tried to restore these files, but have been unsucessful. HELP PLEASE.

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

    Default Re: Warning: main(/web/zen-cart/includes/languages/english/modules/payment/header_php

    Warning: main(/web/zen-cart/includes/languages/english/modules/payment/header_php.php)
    There should not be any such file in that folder. You've clearly uploaded a header_php.php file into the /includes/languages/english/modules/payment/ folder that doesn't belong there. Delete it. Then figure out where you SHOULD have put that file, because it's likely you still need to get it into the right place.
    .

    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
    Apr 2008
    Location
    Washington
    Posts
    13
    Plugin Contributions
    0

    Default Re: Warning: main(/web/zen-cart/includes/languages/english/modules/payment/header_php

    Thank you. I appreciate the help. Yes I did have files in the wrong place. Still sorting out.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 27 May 2015, 09:32 PM
  2. Replies: 5
    Last Post: 12 Dec 2010, 10:22 AM
  3. Replies: 3
    Last Post: 21 Jan 2009, 04:13 PM
  4. /includes/languages/spanish/modules/payment/paypal.php: no such file or directory
    By thosecars82 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Oct 2008, 06:45 PM
  5. Replies: 1
    Last Post: 8 Jun 2006, 10:27 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