osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

FEDEX shipping module error

This is a discussion on FEDEX shipping module error within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I have recently installed OsCommerce and have most modules functioning. The included contrib for FEDEX does not install correctly. The ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-27-2004, 09:36 AM
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JStevenT
Default FEDEX shipping module error

I have recently installed OsCommerce and have most modules functioning. The included contrib for FEDEX does not install correctly. The following error message is printed:

Warning: main(includes/include_once.php): failed to open stream: No such file or directory in /home/home-sch/public_html/ecommerce/os/catalog/includes/modules/shipping/fedex.php on line 4

Warning: main(): Failed opening 'includes/include_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/home-sch/public_html/ecommerce/os/catalog/includes/modules/shipping/fedex.php on line 4

Not being PHP experienced, I am lost. I have searched the forums and have not seen this error. I have requested help from provider, but have not received any help.

Has anyone seen this error and have insight how to correct? Thanks for input.

JStevenT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-27-2004, 09:53 AM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

It means that includes/include_once.php does not exist. If you were transferring files through FTP, it most likely got dropped off, because that happens a lot with FTP. Copy that file into the /includes dorectory and it should go away.
__________________
Vince
http://www.inkyvinny.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-27-2004, 10:52 AM
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JStevenT
Default

Hello vinces,

Thanks for the quick comeback! I did a complete search of my OsCommerce download and there is not a includes_once.php file. In fact, there is no FEDEX folder either. I will not use FEDEX initially until I resolve the file issues we have uncovered. Thanks again.

JStevenT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-27-2004, 05:41 PM
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JStevenT
Default

Quote:
Originally Posted by JStevenT
Hello vinces,

Thanks for the quick comeback! I did a complete search of my OsCommerce download and there is not a includes_once.php file. In fact, there is no FEDEX folder either. I will not use FEDEX initially until I resolve the file issues we have uncovered. Thanks again.

JStevenT
Hello,

I found the include_once.php file in the includes directory. The code is:

<?
if (!defined($include_file . '__')) {
define($include_file . '__', 1);
include($include_file);
}
?>

The fedex.php has the following code in first few lines:
<?php
/* $Id: fedex.php,v 1.1.1.1 2004/06/21 22:33:43 scorzo Exp $ */
if ($action != 'install' && $action != 'remove' && $action != 'check') { // Only use language for catalog
$include_file = DIR_WS_LANGUAGES . $language . '/modules/shipping/fedex.php';include(DIR_WS_INCLUDES . 'include_once.php');
}
// only these three are needed since FedEx only ships to them
// convert TEP country id to ISO 3166 id
$fedex_countries = array(38 => 'CA',138 => 'MX',223 => 'US');
$fedex_countries_nbr = array(38,138,223);
switch($action) {
case 'select' :
print "<TR><TD>" . FONT_STYLE_MAIN . " ";
print htmlentities(SHIPPING_FEDEX_NAME) . "</FONT></TD>";
print "<TD> </TD>";
print "<TD ALIGN=\"right\"> <INPUT TYPE=\"checkbox\" NAME=\"shipping_quote_fedex\" VALUE=\"1\"";
// if(!$shipping_count) {
print ' CHECKED';
// }
print "></TD></TR>\n";
break;

The error code speaks to line 4 in fedex.php which l listed. Does anyone see the error?

JStevenT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-28-2004, 01:00 AM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

I think the problem is that there is no Fedex folder. It probably got skipped if you were transferring it through FTP. Try just uploading that folder specifically, both in includes/modules and includes/languages/english/modules. That hopefully may fix it. I think the error is that it is tryign to call a file that doesn't exist in line 4.
__________________
Vince
http://www.inkyvinny.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-28-2004, 01:01 AM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

When I said upload folder, I meant file. Sorry about that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-28-2004, 09:37 AM
Lurker
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JStevenT
Default

Hello Vince,

I tried adding the includes_once.php in the two directories and the number of errors increased. Took them out and back to same original error. The new question is what is the /usr/local/lib/php refer to? Is this a missing operator in my PHP installation? or just a generic path call out?


Warning: main(): Failed opening 'includes/include_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/home-sch/public_html/ecommerce/os/catalog/includes/modules/shipping/fedex.php on line 4

I am puzzled.

JStevenT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-28-2004, 10:03 PM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

/usr/local/lib/php sounds like it might be the path to PHP on your server. I am not sure what the error message is saying. Does anybody else have any input?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
No FedEx Shipping Label torweb osCMax v2 Features Discussion 4 08-25-2006 02:34 PM
Less Fedex Shipping Options torweb osCMax v2 Customization/Mods 2 08-20-2006 03:52 PM
International FedEx Shipping torweb osCMax v2 Customization/Mods 0 06-29-2006 02:48 PM
Fedex Shipping Problems driwashsolutions osCMax v2 Features Discussion 0 01-04-2006 12:44 PM
FEDEX Module Error reggiman osCMax v1.7 General Mods Discussion 3 02-15-2005 04:04 PM


All times are GMT -8. The time now is 11:48 AM.


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