Zen Cart Logo
Forums / Addon Shipping Modules / Fedex error: String could not be parsed as XML

Fedex error: String could not be parsed as XML

Views: 4,517

Results 1 to 20 of 25
4 Sep 2012, 6:36 PM
#1
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Fedex error: String could not be parsed as XML

Hi,

I noticed that the ups and usps options are missing from my module/shipping. I downlodad the entire v1.5.0 zen cart in a separate folder and looked for the missing files
under /includes/modules/shipping and /includes/lanugages/english/modules/shipping/modules/shipping. I did not find any of the usps.php files in the freshly downloaded
version. I downloaded the previous version where I found the missing files and uploaded them into the folders of the new version. I was able to configure both the usps
and ups modules in the admin successfuly.

THE PROBLEM IS that there is no radio button in the cart for the customer to select shipping option.

What is that I need to do? Is there a better way to fix this issue? How come there are no usps.php and usp.php files in the new version?

Please let me know. Thank you

4 Sep 2012, 6:52 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Fedex error: String could not be parsed as XML

Starting with Zen Cart 1.5.0, neither the UPS nor USPS shipping are part of the "core" files. You can download the **most recent **versions of both shipping modules from the Plugins area at the top-left of the screen, copy them to your store and configure them in your admin's Modules->Shipping to enable.

5 Sep 2012, 3:04 AM
#3
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Thank you for your response. I followed your suggestion and reinstalled the entire ups and usps modules as it was written down in the txt file.

The problem is that I still do not see the radio buttons show up next to ups nor usps. Only at the Best Way option.

What am I doing wrong?

Thank you

5 Sep 2012, 12:55 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Fedex error: String could not be parsed as XML

Did you create accounts with UPS and USPS? In your ZC admin, what are your settings for the two shipping modules (without your account numbers)?

6 Sep 2012, 3:25 PM
#5
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

I have noticed that my ZC is very slow and started to give other problems. It was originally installed by my hosting service. I decided to stat from screcth and reinstalled the entire ZC in a new folder. Now everything is much better and UPS and USPS are working properly. However, FedEx module causes some troubles. After installation if customer is ready to check out there is a blank page and that is the end of it. If I set FedEx "false" everything is back to normal. I read through some of the treads, but have not find anything that fixed it. Any suggestions?
Thank you

6 Sep 2012, 6:39 PM
#6
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Hi,

Does anyone know why after enabling the FedEx module the ZC is goes blank after clicking on
checkout?

I read the Threads, tried the syntax problems, but no luck. I am using ZC v1.5.0 and just uploaded
the fresh version of FedEx module.

If there is someone with the knowladge and step by step description about what to do, please reply.

Thank you

6 Sep 2012, 6:46 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Fedex error: String could not be parsed as XML

petergy:

there is a blank pageA quick search in the FAQs for "blank page" brings up this article: http://www.zen-cart.com/content.php?124-blank-page

12 Sep 2012, 6:04 PM
#9
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Thanks for the link. My hosting company said that there is no debug.log file on my website server. I do not how they did not find it if it is there. Any idea of the location of that file?

12 Sep 2012, 6:23 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Fedex error: String could not be parsed as XML

It would be in your /cache folder.

13 Sep 2012, 2:36 PM
#11
lemonygem avatar

lemonygem

New Zenner

Join Date:
Aug 2012
Posts:
8
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

I had this problem and was told by my hosting company to upgrade to PHP 5.3 as this had SOAP installed. The likelihood is that you need to contact your hosting company to install SOAP on your server, or see if they have it installed on a later version of PHP that you can upgrade to.

HTH

14 Sep 2012, 3:29 AM
#12
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Thank you. Naturally I was looking for the cache in my main domain folder, not in the ZC :-) Sorry.

Ok, here is the line in the debug about the FedEx. What is my next step?

[11-Sep-2012 21:29:50] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php:377
Stack trace:
#0 /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php(377): SimpleXMLElement->__construct('')
#1 /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php(184): fedexground->getPrice('GROUNDHOMEDELIV...')
#2 /home/petergy/public_html/safercallusa.com/store/includes/classes/shipping.php(136): fedexground->quote('')
#3 /home/petergy/public_html/safercallusa.com/store/includes/modules/pages/checkout_shipping/header_php.php(185): shipping->quote()
#4 /home/petergy/public_html/safercallusa.com/store/index.php(36): require('/home/petergy/p...')
#5 {main}
thrown in /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php on line 377

14 Sep 2012, 3:30 AM
#13
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Double checked. I have the PHP 5.3 and the SOAP installed.

14 Sep 2012, 8:42 PM
#14
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Thank you. Naturally I was looking for the cache in my main domain folder, not in the ZC :-) Sorry.

Ok, here is the line in the debug about the FedEx. What is my next step?

[11-Sep-2012 21:29:50] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php:377
Stack trace:
#0 /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php(377): SimpleXMLElement->__construct('')
#1 /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php(184): fedexground->getPrice('GROUNDHOMEDELIV...')
#2 /home/petergy/public_html/safercallusa.com/store/includes/classes/shipping.php(136): fedexground->quote('')
#3 /home/petergy/public_html/safercallusa.com/store/includes/modules/pages/checkout_shipping/header_php.php(185): shipping->quote()
#4 /home/petergy/public_html/safercallusa.com/store/index.php(36): require('/home/petergy/p...')
#5 {main}
thrown in /home/petergy/public_html/safercallusa.com/store/includes/modules/shipping/fedexground.php on line 377

14 Sep 2012, 10:54 PM
#15
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

I just installed this mod today & I am getting the same result as petergy. On the admin side I provided an account & all relevant data but I get the same error code in my cache. Screen locks up and goes white. Looked at the faq suggested by Dr.Byte but its greek to me.

[14-Sep-2012 17:36:50] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/coucho/public_html/perkalatte.com/includes/modules/shipping/fedexground.php:377
Stack trace:
#0 /home/coucho/public_html/perkalatte.com/includes/modules/shipping/fedexground.php(377): SimpleXMLElement->__construct('')
#1 /home/coucho/public_html/perkalatte.com/includes/modules/shipping/fedexground.php(184): fedexground->getPrice('FEDEXGROUND')
#2 /home/coucho/public_html/perkalatte.com/includes/classes/shipping.php(136): fedexground->quote('')
#3 /home/coucho/public_html/perkalatte.com/includes/modules/pages/checkout_shipping/header_php.php(185): shipping->quote()
#4 /home/coucho/public_html/perkalatte.com/index.php(36): require('/home/coucho/pu...')
#5 {main}
thrown in /home/coucho/public_html/perkalatte.com/includes/modules/shipping/fedexground.php on line 377

14 Sep 2012, 10:57 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Fedex error: String could not be parsed as XML

Check that you are using the current FedEx add on as it has changed ...
https://www.zen-cart.com/downloads.php?do=file&id=1489

14 Sep 2012, 11:09 PM
#17
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Thanks again Ajeh...I was using the old version. Went to the numinix site to download the new version.

14 Sep 2012, 11:21 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Fedex error: String could not be parsed as XML

Call FedEx and tell them you have Zen Cart installed.

Tell them your Account number is ... and that you need the Production Credentials.

Fedex should be able to give you the production credentials and you should not need to bother with the test credentials.

Fedex Web Integration phone number 1-877-339-2774

You need the following information, some of which you may have:

Authentication Key:
Meter Number:
Account Number:
Production Password

They can set up your account with this information when they talk to you.

NOTE: the Meter Number must be asked for with FedEx, if you are not able to set it up on their site ... you cannot just use a generated one, any longer ...

15 Sep 2012, 3:08 PM
#19
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

The solution was to download the module from numinix, instead of from ZC plugins. Thanks for all your thoughts and help.

15 Sep 2012, 3:14 PM
#20
petergy avatar

petergy

New Zenner

Join Date:
Sep 2012
Posts:
65
Plugin Contributions:
0

Re: Fedex error: String could not be parsed as XML

Yes, thank you. I originally downloaded the module from ZC plugins. I just now downloaded the FedEx module from the Numinix website, reinstalled it and it works perfectly. Thank you for your support