mirror of
https://github.com/opensolutions/ViMbAdmin.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #154] Doctrine\Common\Persistence\Mapping\MappingException Error #120
Labels
No labels
bug
feature
feature
improvement
improvement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ViMbAdmin-opensolutions#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @verymilan on GitHub (Oct 1, 2015).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/154
Hi, got the following problem and dont find anything on the web to solve it:
File
/srv/vimbadmin/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php
Line
86
Message
Invalid mapping file 'Entities.Admin.dcm.xml' for class 'Entities\Admin'.
Code
0
@zwnk commented on GitHub (Oct 7, 2015):
hi, i have the same error and could not resolve it until now.
@Ahava commented on GitHub (Nov 2, 2015):
I'm having the same problem aswell for over a week now and couldn't solve it.
@tanrax commented on GitHub (Nov 2, 2015):
+1
@andryyy commented on GitHub (Nov 18, 2015):
You are probably using a pretty new PHP version (e.g. from the dotdeb repo).
Just open
/srv/vimbadmin/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.phpand addlibxml_disable_entity_loader(false);right beforeclass XmlDriver extends FileDriverfor a quick and dirty fix.@tanrax commented on GitHub (Nov 18, 2015):
working!!!
Thanks :)
@Mindbuild commented on GitHub (Sep 25, 2016):
I got the same problem with Debian 8 and PHP 7. Above solution didn't work for me. Instead I had to do this:
apt-get install php7.0-xml
This error comes because php7 from dotdeb repo has the extension SimpleXML somehow disabled.