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

[WARNING 1549] failed to load external entity "in_memory_buffer" #15

Closed
fabricek opened this issue Apr 9, 2014 · 5 comments
Closed

Comments

@fabricek
Copy link

fabricek commented Apr 9, 2014

Hello,
After a new fresh install of leaphly-sandbox i can't make it run.
When doing php app/console fos:js:dump i got this error
Cannot import resource "C:\wamp\www\leaphly-sandbox\src\Acme\CartBundle/Resources/config/rest.xml" from "C:/
wamp/www/leaphly-sandbox/app/config\routing.yml". ([WARNING 1549] failed to load external entity "in_memory_
buffer" (in n/a - line 0, column 0)
[WARNING 3084] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'in_memory_buff
er'. Skipping the import. (in in_memory_buffer - line 9, column 0)
[ERROR 1845] Element '{http://friendsofsymfony.github.com/schema/rest}routes': No matching global declaration available
for the validation root. (in file:///C:/wamp/www/leaphly-sandbox/ - line 5, column 0))

I want to contribute but i can't get a workaround for this error and can't go further. As i said it's a new fresh install. Please help !

@fabricek
Copy link
Author

fabricek commented Apr 9, 2014

problem is here ? it can't load the rest.xml ? why ? I don't understand.
leaphly_cart:
type: rest
resource: "@AcmeCartBundle/Resources/config/rest.xml"
prefix: /api/v1/

@fabricek
Copy link
Author

The same problem is , again it's about fos. FriendsOfSymfony/FOSRestBundle#685

@fabricek
Copy link
Author

I've forgotten that i've solved this issue in my previous post #12. But it's your fault liuggio (so easy no ?).
You told me "I just made a fresh install and it was ok, with no problem on fos rest." #12
That's not true for me because it's my second install and the same error. So i solve this like below and as said in #12. My sandbox is up now. I'll make a pr soon.
I remove the bundle Fos rest in the vendor folder and replace in composer.json "friendsofsymfony / rest-bundle": "1.1.*" instead of "~ 1.1". Make an composer update and the error gone.

@fabricek
Copy link
Author

I've got it ! The problem is only in windows with wamp. I ll try on a debian machine with success. I don't know how to solve it in windows. It s a fos/rest problem on windows maybe with wamp. That's why the install were ok for you and not for me.

@fabricek
Copy link
Author

the problem is finally solved.
It was definitely not a problem from leaphly sandbox but fos/restbundle. I finally solved the problem and I made a pr on FriendsOfSymfony/FOSRestBundle#744 FriendsOfSymfony/FOSRestBundle#739

@fabricek fabricek closed this as completed Jun 4, 2016
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

1 participant