Incorrect path to yml file
  • Look at this error message:

    [19-Feb-2014 14:27:58 Europe/Stockholm] Newscoop error: file_get_contents(/www/webvol20/lx/qocik3a4fn8yqn5/ failed to open stream: No such file or directory in /www/webvol20/lx/qocik3a4fn8yqn5/

    It looks for a folder called newscoop, but on my system the folder name is public_html so it can't find the file!

    In the file PropertyMatcher.php, this line:
            $entityDescription = $yaml->parse(file_get_contents(__DIR__.'/../../../../newscoop/src/Newscoop/GimmeBundle/Resources/config/serializer/newscoop/'.$class.'.yml'));

    should be changed to this:
            $entityDescription = $yaml->parse(file_get_contents(__DIR__.'/../../../src/Newscoop/GimmeBundle/Resources/config/serializer/newscoop/'.$class.'.yml'));

    Post edited by Sebastian Olsson (2) at 2014-02-19 09:22:54
  • 3 Comments sorted by
  • These files have this type of error:


    Maybe even more files have this mistake?
  • Vote Up0Vote Down Paweł MikołajczukPaweł Mikołajczuk
    Posts: 72Member, Sourcefabric Team

    thia will be fixed in 4.3.

    For now you can update library/Newscoop/Gimme/PropertyMatcher.php with
  • I created a pull request for the other files.