- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2015
01:03 AM
11-30-2015
01:03 AM
Warning when enable dev mode
When commented out
SetEnv MAGE_MODE developer
On .htaccess I had a problem with Magento 2:
( ! ) Warning: DOMDocument::schemaValidate(): Invalid Schema in /www/magento2default.dev/vendor/magento/framework/Config/Dom.php on line 290 Call Stack # Time Memory Function Location 1 0.0001 249512 {main}( ) .../index.php:0 2 0.0123 1142584 Magento\Framework\App\Bootstrap->createApplication( ) .../index.php:38 3 0.0123 1142864 Magento\Framework\App\Bootstrap->initObjectManager( ) .../Bootstrap.php:232 4 0.0123 1143728 Magento\Framework\App\ObjectManagerFactory->create( ) .../Bootstrap.php:385 5 0.0266 2748928 Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig( ) .../ObjectManagerFactory.php:137 6 0.0291 2899400 Magento\Framework\Config\Reader\Filesystem->read( ) .../ObjectManagerFactory.php:269 7 0.0294 2917088 Magento\Framework\Config\Reader\Filesystem->_readFiles( ) .../Filesystem.php:117 8 0.0317 3131664 Magento\Framework\Config\Dom->validate( ) .../Filesystem.php:148 9 0.0317 3131904 Magento\Framework\Config\Dom::validateDomDocument( ) .../Dom.php:385 10 0.0318 3132552 schemaValidate ( ) .../Dom.php:290 exception 'Magento\Framework\Exception\LocalizedException' with message 'Invalid Document failed to load external entity "urn:magento:framework:Data/etc/argument/types.xsd" Line: 0 Element '{http://www.w3.org/2001/XMLSchema}redefine': Failed to load the document 'urn:magento:framework:Data/etc/argument/types.xsd' for redefinition. Line: 12 ' in /www/magento2default.dev/vendor/magento/framework/Config/Reader/Filesystem.php:150 Stack trace: #0 /www/magento2default.dev/vendor/magento/framework/Config/Reader/Filesystem.php(117): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator)) #1 /www/magento2default.dev/vendor/magento/framework/App/ObjectManagerFactory.php(269): Magento\Framework\Config\Reader\Filesystem->read('primary') #2 /www/magento2default.dev/vendor/magento/framework/App/ObjectManagerFactory.php(137): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig(Object(Magento\Framework\App\Filesystem\DirectoryList), Object(Magento\Framework\Filesystem\DriverPool), Object(Magento\Framework\ObjectManager\Config\Mapper\Dom), 'developer') #3 /www/magento2default.dev/vendor/magento/framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #4 /www/magento2default.dev/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #5 /www/magento2default.dev/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #6 {main} Next exception 'Magento\Framework\Exception\State\InitException' with message 'Invalid Document failed to load external entity "urn:magento:framework:Data/etc/argument/types.xsd" Line: 0 Element '{http://www.w3.org/2001/XMLSchema}redefine': Failed to load the document 'urn:magento:framework:Data/etc/argument/types.xsd' for redefinition. Line: 12 ' in /www/magento2default.dev/vendor/magento/framework/App/ObjectManagerFactory.php:271 Stack trace: #0 /www/magento2default.dev/vendor/magento/framework/App/ObjectManagerFactory.php(137): Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig(Object(Magento\Framework\App\Filesystem\DirectoryList), Object(Magento\Framework\Filesystem\DriverPool), Object(Magento\Framework\ObjectManager\Config\Mapper\Dom), 'developer') #1 /www/magento2default.dev/vendor/magento/framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #2 /www/magento2default.dev/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #3 /www/magento2default.dev/index.php(38): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #4 {main}
The install was download from https://www.magentocommerce.com/download and just is a blank install, no sample data, no extension.
It's working properly if disabled developer mode. Any one help me to see if anything wrong?
Labels: