Giter Club home page Giter Club logo

Site web du BDE ESIEE Paris

#####How to fix on Windows :

[Symfony\Component\Config\Exception\FileLoaderLoadException]

[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_buffer'. Skipping the import. (in in_memory_buffer - line 9, column 0)

======

Because shitty Windows doesn't use "/" as directory separator in file path like Linux, you need to use a php function called str_replace() in order to replace backslashes by slashes. schemaValidateSource() expects "/" but realpath() function uses "" on Windows, that is why you need to replace backslashes by slashes after the use of realpath() function. I also corrected an error for the path of the file routing-1.0.xsd.

  1. Go to \path-to-www\bde-esiee\vendor\friendsofsymfony\rest-bundle\FOS\RestBundle\Routing\Loader and open RestXmlCollectionLoader.php

  2. Search the block (near line 179)

$restRoutinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing/rest_routing-1.0.xsd');
$routinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing/routing-1.0.xsd');
  1. Replace the previous block by this one :
$restRoutinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing/rest_routing-1.0.xsd');
$restRoutinglocation = str_replace('\\', '/', $restRoutinglocation);
$routinglocation = realpath(__DIR__.'/../../Resources/config/schema/routing-1.0.xsd');
$routinglocation = str_replace('\\', '/', $routinglocation);
  1. Don't forget to clear the cache : php app/console cache:clear --env=dev

License Installation

BDE ESIEE's Projects

ade-esiee icon ade-esiee

API to make different things with ESIEE's logins : "Agenda, Notes, Absences Appréciations"

api-calendar icon api-calendar

🎓📆🔌API for ESIEE Paris's Calendar (Classes, Room availability...)

bde-esiee icon bde-esiee

🎓🏫💻ESIEE Paris's Student Union website

ios-signer-ci icon ios-signer-ci

Sign iOS apps on demand. Part of: https://github.com/SignTools/ios-signer-service

macao icon macao

L'application android officielle du BDE ESIEE Paris

medias icon medias

Logos, pictures and stuff of the BDE

mobile icon mobile

🎓🏫📱Mobile app for the Students Union

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.