osCmax v2.5 User Manual
Results 1 to 5 of 5

error on express_checkout.php for paypal

This is a discussion on error on express_checkout.php for paypal within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; installed paypal express checkout, created API authority for my account, everything seems fine Except... When user goes to paypal express ...

      
  1. #1
    New Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0


    Default error on express_checkout.php for paypal

    installed paypal express checkout, created API authority for my account, everything seems fine Except...

    When user goes to paypal express checkout and and "continue checkout procedure to confirm this order" receive this message:

    Warning: main(includes/header.php): failed to open stream: No such file or directory in /hsphere/local/home/earthcor/efta.us/store/express_checkout.php on line 130

    Warning: main(includes/header.php): failed to open stream: No such file or directory in /hsphere/local/home/earthcor/efta.us/store/express_checkout.php on line 130

    Fatal error: main(): Failed opening required 'includes/header.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/earthcor/efta.us/store/express_checkout.php on line 130

    So I looked in the express_checkout.php file at 130 and found this

    Code:
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    clearly this is meant to work with oscommerce and oscmax uses the BTS template system, i hunted around the files in oscmax looking for how to change this directive for the correct call for template and could not find it

    Need to replace these directives with the correct call for template, please help, for now i have removed that directive entirely and it works but EWWW it's ugly.

    I chose oscmax for the professional look of the cart and having even a single page load the data without the template destroys that professionalism

    please help!
    Last edited by michael_s; 07-16-2007 at 07:57 AM. Reason: Posted the wrong forum. Moved to correct forum.

  2. #2
    New Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0


    Default Re: error on express_checkout.php for paypal

    Warning: main(includes/header.php): failed to open stream: No such file or directory in /hsphere/local/home/earthcor/efta.us/store/ec_shipping.php on line 238

    Warning: main(includes/header.php): failed to open stream: No such file or directory in /hsphere/local/home/earthcor/efta.us/store/ec_shipping.php on line 238

    Fatal error: main(): Failed opening required 'includes/header.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/earthcor/efta.us/store/ec_shipping.php on line 238

    this problem also occurs in ec_shipping.php

    hope someone can help me -
    thanks in advance

  3. #3
    New Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0


    Default Re: error on express_checkout.php for paypal

    well i got to work, by pretty much re-writing the code

    that wiki post osCommerce Documentation by OSCdox :: osCommerce and osCMax installation and users manual, discussion forums (phpWiki)

    that doesn't explain nearly everything by any shot

    but what i did was copy the template i modified header and footer sections into header.php and footer.php call the new template pages i made and removed things that called for side bar navigation box systems

    maybe ugly, but i documented what i did so if i have to change things in the future i can

    i tried six ways from sunday to fix it using the wiki documentation and couldn't make it work, it was just one error after another

    is there some updated info available that i missed?

    anyone who does have more info about putting in oscommerce mods i would appreciate the info for future reference

    thanks

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: error on express_checkout.php for paypal

    Here is a good thread:
    BTS Instruction Manual

    It gives a clear explanation of the basics and should get you going in the right direction.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    0


    Default Re: error on express_checkout.php for paypal

    Thanks I'll check it out.

Similar Threads

  1. Paypal Error!!
    By zododo in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-23-2006, 08:54 PM
  2. PayPal Error
    By leafy1too in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 11-30-2004, 03:39 PM
  3. PayPal IPN Error
    By proton318 in forum osCmax v1.7 Discussion
    Replies: 8
    Last Post: 09-29-2003, 04:52 PM
  4. PayPal IPN error
    By DMG in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-15-2003, 01:04 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
  •