I installed the 2 FedEx Heavy Freight files,
in my carts server.
They installed correctly no quote yet.
Will work it out with FedEx.
Correct install in admin. were half way home,
What could go wrong.
Relentless
I installed the 2 FedEx Heavy Freight files,
in my carts server.
They installed correctly no quote yet.
Will work it out with FedEx.
Correct install in admin. were half way home,
What could go wrong.
Relentless
When I click Check Out with FedEx Freight module I get these 2 warnings
----
Warning: Cannot modify header information -
1]headers already sent by (output started at
/home2/aircscom/public_html/includes/modules/shipping/fxfreight.php:277)
There are only 260 lines of code in fxfreight.php,
so this must be just the source of the Warning: Cannot modify header information
----
2]in /home2/aircscom/public_html/includes/functions/functions_general.php on line 44
-----
From functions_general.php
// clean up URL before executing it
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
//header locates should not have the & in the address it breaks things
while (strstr($url, '&')) $url = str_replace('&', '&', $url);
/*line 44*/ header('Location: ' . $url);
zen_exit();
//this it the action of line 44:
//void header (string string, bool replace, int_responce_code)send raw http header
------
From fxfreight.php line 94 is this warning refering to the & in &as
94]if (!zen_not_null($error_msg)) {
$base_URL = 'http://www.fedexfreight.fedex.com/XMLRating.jsp?';
$base_URL .= 'as_shipterms=prepaid' . MODULE_SHIPPING_FXFREIGHT_SHIP_TERMS;
$base_URL .= '&as_shzip=33173' . $ship_zip;
$base_URL .= '&as_shcntry=US' . MODULE_SHIPPING_FXFREIGHT_SHIP_COUNTRY;
$base_URL .= '&as_cnzip=' . $dest_zip;
$base_URL .= '&as_cncntry=' . $dest_country;
$base_URL .= '&as_class1=077';
$base_URL .= '&as_weight1='.ceil($this->shipping_weight);
//urlencode(number_format($this->shipping_weight, 1, '.', ''));
$base_URL .= '&as_pcs1='.$this->shipping_num_boxes;
$base_URL .= '&as_iamthe=shipper';
The fxfreight.php code posted in this thread,
does not install, with out modification.
Now with modification it installs disabled, yellow indicator in Admin..
We are close to a working Module
Thank You
Relentless
I have made real progress, I have gotten to page 2of3 of check out
In the FedEx module there is an ->attributes_1216ft()
for people who for example ship step ladders
I need to get rid of ->attributes_1216ft() this is causing the errors,
it was the first error, and continues,
and I do not need it for a freight quote
====A possible solution starts->
At the beginning of the quote() function, it defines $cart as a global variable.
And it expects it to be an array passed from the calling function eg. $_SESSION['cart'].
So if this is array is not passed to it, it is always going to blow up.
So a one line fix to the whole problem would be
to set attributes_1216=0 in the module file that calls quote().
then no fxfreight.php function file changes would be necessary at all.
Can you help
I have the php to remove ->attributes_1216ft() from the mod,
but this seems a better solution.
this module was custom coded for my site (and i know it was because had him add 12/16 ft. lengths) and apparently somebody ripped it off and is distributing it.
Does anyone have a working fedex freight quote module?
I also would like to find a working FedEx Freight module.
CheapStairParts,
Sorry about your custom work showing up here. That's a shame. Who did you have do the coding? I'm not suggesting they released it, but I might see if they'll give me a quote for a working module like you have for your Zen Cart.
Thanks,
John