Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Character Out of Range #1

Open
ryanjavens opened this issue Nov 1, 2017 · 2 comments
Open

XML Character Out of Range #1

ryanjavens opened this issue Nov 1, 2017 · 2 comments

Comments

@ryanjavens
Copy link

Hello guys,

Wanted to bring up an issue that I'm running into with this plugin.
screen shot 2017-11-01 at 2 21 56 pm

I've done a bit of investigating and found a solution but I wanted to run it by here first. So I believe this issue is a result of a character set mismatch. If I go into the file listed in the screen shot and modify it this way:
(line 133) $xml = new DOMDocument();
(changed to) $xml = new DOMDocument('1.0', 'utf-8');
It solves the issue. I can go post this under the repo for the ups-api dependency, but before doing that I wanted to ask if this should be modified on THIS plugin instead. I dug through the issues on their repository and couldn't find anyone having content type mismatches like this =).

I hope this helps and I appreciate your work!

Thanks!

@rmknecht
Copy link
Contributor

rmknecht commented Nov 12, 2017

Hi @ryanjavens, thanks for bringing this to our attention.

Can you provide any additional information to help replicate this? Origin and destination addresses along with product information, such as the dimensions and weight, would be helpful.

@jgilligan113
Copy link

Hey there @rmknecht -- we have had the following with others testing our development instance. I'm not super hip on the PHP front, but work with Craft and the CMS builds. I've had once instance:
image
And this was the second:
image

Any thoughts on what could be causing this between instances? We usually have someone pull down the branch we are working on and then provide a DB dump to test with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants