osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-16-2007, 08:28 AM
New Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daisylei12 is on a distinguished road
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 08:57 AM. Reason: Posted the wrong forum. Moved to correct forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 07-16-2007, 10:49 AM
New Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daisylei12 is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-16-2007, 07:24 PM
New Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daisylei12 is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-16-2007, 08:59 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,091
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-17-2007, 07:54 AM
New Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
daisylei12 is on a distinguished road
Default Re: error on express_checkout.php for paypal

Thanks I'll check it out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Paypal Error!! zododo osCMax v2 Installation issues 1 02-23-2006 09:54 PM
PayPal Error leafy1too osCommerce 2.2 Installation Help 3 11-30-2004 04:39 PM
PayPal IPN Error proton318 osCMax v1.7 Discussion 8 09-29-2003 05:52 PM
PayPal IPN error DMG osCMax v1.7 Discussion 0 09-15-2003 02:04 PM


All times are GMT -8. The time now is 03:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax