Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fed Ex Direct 2.00


Guest

Recommended Posts

I am receiving the following error when chcking fed ex as a shipping option, can anyone help. The client currently does not have an SSL.

 

Data sent to Fedex for Rating: 0,"25"10,"258735994"498,"6407252"8,"MA"9,"01719"117,"US"17,"01085"50,"US"75,"LBS"1116,"I"1401,"18.3"1415,"77.00"68,"USD"1273,"01"1333,"1"99,""

Data returned from Fedex for Rating: 0,"125"1092,"2"1133,"6"1274-1,"06"1273-1,"01"194-1,"THU"409-1,"12May11"195-1,"BDL"2405-1,"N"2399-1,"0"1525-1,"0.00"1402-1,"19.0"1376,"LBS"1416-1,"69.35"1418-1,"0.00"1090-1,"USD"1419-1,"80.10"1420-1,"0.00"431-1,"N"1274-2,"01"1273-2,"01"194-2,"THU"409-2,"12May11"195-2,"BDL"2405-2,"N"2399-2,"0"1525-2,"7.68"1402-2,"19.0"1416-2,"44.35"1418-2,"6.65"1090-2,"USD"1419-2,"43.54"1420-2,"0.00"431-2,"N"1992-2,"0.00"1274-3,"05"1273-3,"01"194-3,"THU"409-3,"12May11"195-3,"BDL"2405-3,"N"2399-3,"0"1525-3,"6.32"1402-3,"19.0"1416-3,"36.45"1418-3,"5.47"1090-3,"USD"1419-3,"35.78"1420-3,"0.00"431-3,"N"1992-3,"0.00"1274-4,"03"1273-4,"01"194-4,"FRI"409-4,"13May11"195-4,"BDL"2405-4,"N"2399-4,"0"1525-4,"3.83"1402-4,"19.0"1416-4,"22.15"1418-4,"3.32"1090-4,"USD"1419-4,"21.75"1420-4,"0.00"431-4,"N"1992-4,"0.00"1274-5,"20"1273-5,"01"194-5,"MON"409-5,"16May11"195-5,"BDL"2405-5,"N"2399-5,"0"1525-5,"3.45"1402-5,"19.0"1416-5,"19.90"1418-5,"2.99"1090-5,"USD"1419-5,"19.53"1420-5,"0.00"431-5,"N"1992-5,"0.00"1274-6,"92"1273-6,"01"195-6,"BDL"2405-6,"N"3058-6,"1"2399-6,"0"1402-6,"19.0"1416-6,"8.24"1418-6,"0.00"1417-6,"0.70"1090-6,"USD"1419-6,"8.94"1420-6,"0.00"431-6,"N"1089-3,"01283"1089-4,"05980"1089-1,"00006"1089-2,"01486"1089-5,"07167"1417-1,"10.75"1417-2,"5.84"1417-3,"4.80"1417-4,"2.92"1417-5,"2.62"99,""

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/59/7142359/html/includes/modules/shipping/fedex1.php:349) in /home/content/59/7142359/html/includes/functions/general.php on line 53

 

 

 

 

When I go to line 53 for the code this is what is there:

 

 

53 header('Location: ' . $url);

 

The rest of the code is as follows:

 

 

// Redirect to another page or site

function tep_redirect($url) {

if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) {

tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false));

}

 

if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page

if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url

$url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL

}

}

 

header('Location: ' . $url);

 

tep_exit();

}

 

////

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /includes/modules/shipping/fedex1.php (line 349)

 

Most likely "whitespace(s)" at the end.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /includes/modules/shipping/fedex1.php (line 349)

 

Most likely "whitespace(s)" at the end.

 

 

I checked the white space, not an issue. still happening

Link to comment
Share on other sites

If there is a closing PHP tag:

 

?>

At the very end of the file remove it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

For anyone reading this:

 

If removing the closing PHP tage gets rid of the "Headers already sent" error, then that means there are "whitespaces" at the end of the file.

 

Leaving the closing PHP tag off for a time is OK, but when you get time you should go back and fix the problem, not cover it up.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...