cancel
Showing results for 
Search instead for 
Did you mean: 

I need help following issue.

I need help following issue.

File "H:/wamp/www/magentoCE2018/pub/static/_requirejs/frontend/Magento/luma/en_US/requirejs-config.js" cannot be opened Warning!fopen(H:/wamp/www/magentoCE2018/pub/static/_requirejs/frontend/Magento/luma/en_US/requirejs-config.js): failed to open stream: Permission denied
#0 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\File\Read.php(62): Magento\Framework\Filesystem\Driver\File->fileOpen('H:/wamp/www/mag...', 'w+')
#1 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\File\Read.php(51): Magento\Framework\Filesystem\File\Read->open()
#2 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\File\Write.php(23): Magento\Framework\Filesystem\File\Read->__construct('H:/wamp/www/mag...', Object(Magento\Framework\Filesystem\Driver\File))
#3 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\File\WriteFactory.php(43): Magento\Framework\Filesystem\File\Write->__construct('H:/wamp/www/mag...', Object(Magento\Framework\Filesystem\Driver\File), 'w+')
#4 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\Directory\Write.php(250): Magento\Framework\Filesystem\File\WriteFactory->create('H:/wamp/www/mag...', Object(Magento\Framework\Filesystem\Driver\File), 'w+')
#5 H:\wamp\www\magentoCE2018\vendor\magento\framework\Filesystem\Directory\Write.php(264): Magento\Framework\Filesystem\Directory\Write->openFile('_requirejs/fron...', 'w+')
#6 H:\wamp\www\magentoCE2018\vendor\magento\module-require-js\Model\FileManager.php(111): Magento\Framework\Filesystem\Directory\Write->writeFile('_requirejs/fron...', '(function(requi...')
#7 H:\wamp\www\magentoCE2018\vendor\magento\module-require-js\Model\FileManager.php(63): Magento\RequireJs\Model\FileManager->ensureSourceFile('_requirejs/fron...')
#8 H:\wamp\www\magentoCE2018\vendor\magento\module-require-js\Block\Html\Head\Config.php(70): Magento\RequireJs\Model\FileManager->createRequireJsConfigAsset()
#9 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Element\AbstractBlock.php(262): Magento\RequireJs\Block\Html\Head\Config->_prepareLayout()
#10 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout\Generator\Block.php(139): Magento\Framework\View\Element\AbstractBlock->setLayout(Object(Magento\Framework\View\Layout\Interceptor))
#11 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout\GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#12 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#13 H:\wamp\www\magentoCE2018\var\generation\Magento\Framework\View\Layout\Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#14 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout\Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#15 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Page\Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#16 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout\Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#17 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout.php(244): Magento\Framework\View\Layout\Builder->build()
#18 H:\wamp\www\magentoCE2018\vendor\magento\framework\View\Layout.php(859): Magento\Framework\View\Layout->build()
#19 H:\wamp\www\magentoCE2018\var\generation\Magento\Framework\View\Layout\Interceptor.php(414): Magento\Framework\View\Layout->getBlock('page_content_he...')
#20 H:\wamp\www\magentoCE2018\vendor\magento\module-cms\Helper\Page.php(171): Magento\Framework\View\Layout\Interceptor->getBlock('page_content_he...')
#21 H:\wamp\www\magentoCE2018\vendor\magento\module-cms\Controller\Index\Index.php(43): Magento\Cms\Helper\Page->prepareResultPage(Object(Magento\Cms\Controller\Index\Index\Interceptor), 'home')
#22 H:\wamp\www\magentoCE2018\var\generation\Magento\Cms\Controller\Index\Index\Interceptor.php(24): Magento\Cms\Controller\Index\Index->execute(NULL)
#23 H:\wamp\www\magentoCE2018\vendor\magento\framework\App\Action\Action.php(102): Magento\Cms\Controller\Index\Index\Interceptor->execute()
#24 [internal function]: Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#25 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(74): call_user_func_array(Array, Array)
#26 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Cms\Controller\Index\Index\Interceptor->___callParent('dispatch', Array)
#27 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'designLoader')
#28 H:\wamp\www\magentoCE2018\vendor\magento\framework\App\Action\Plugin\Design.php(39): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#29 [internal function]: Magento\Framework\App\Action\Plugin\Design->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#30 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#31 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'customer-app-ac...')
#32 H:\wamp\www\magentoCE2018\vendor\magento\module-customer\Model\App\Action\ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#33 [internal function]: Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#34 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#35 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'contextPlugin')
#36 H:\wamp\www\magentoCE2018\vendor\magento\module-store\App\Action\Plugin\Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#37 [internal function]: Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#38 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#39 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'storeCheck')
#40 H:\wamp\www\magentoCE2018\vendor\magento\module-store\App\Action\Plugin\StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#41 [internal function]: Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#42 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#43 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'tax-app-action-...')
#44 H:\wamp\www\magentoCE2018\vendor\magento\module-tax\Model\App\Action\ContextPlugin.php(91): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#45 [internal function]: Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#46 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#47 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Cms\\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'weee-app-action...')
#48 H:\wamp\www\magentoCE2018\vendor\magento\module-weee\Model\App\Action\ContextPlugin.php(112): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#49 [internal function]: Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#50 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(143): call_user_func_array(Array, Array)
#51 H:\wamp\www\magentoCE2018\var\generation\Magento\Cms\Controller\Index\Index\Interceptor.php(39): Magento\Cms\Controller\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#52 H:\wamp\www\magentoCE2018\vendor\magento\framework\App\FrontController.php(55): Magento\Cms\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#53 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#54 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(74): call_user_func_array(Array, Array)
#55 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#56 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...')
#57 H:\wamp\www\magentoCE2018\vendor\magento\module-store\App\FrontController\Plugin\RequestPreprocessor.php(89): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#58 [internal function]: Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#59 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#60 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#61 H:\wamp\www\magentoCE2018\vendor\magento\framework\Module\Plugin\DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#62 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#63 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#64 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#65 H:\wamp\www\magentoCE2018\vendor\magento\module-page-cache\Model\App\FrontController\BuiltinPlugin.php(73): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#66 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#67 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Chain\Chain.php(68): call_user_func_array(Array, Array)
#68 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#69 H:\wamp\www\magentoCE2018\vendor\magento\module-page-cache\Model\App\FrontController\VarnishPlugin.php(55): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#70 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#71 H:\wamp\www\magentoCE2018\vendor\magento\framework\Interception\Interceptor.php(143): call_user_func_array(Array, Array)
#72 H:\wamp\www\magentoCE2018\var\generation\Magento\Framework\App\FrontController\Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#73 H:\wamp\www\magentoCE2018\vendor\magento\framework\App\Http.php(115): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#74 H:\wamp\www\magentoCE2018\vendor\magento\framework\App\Bootstrap.php(258): Magento\Framework\App\Http->launch()
#75 H:\wamp\www\magentoCE2018\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#76 {main}
2 REPLIES 2

Re: I need help following issue.

It's seems like permission issue

 

For windows

 

 takeown /F C:\wamp\www\Magento\www\pub\static

For linux

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
if issue solved,Click Kudos & Accept as Solution

 

Re: I need help following issue.

i applied  takeown /F C:\wamp\www\Magento\www\pub\static

but another error occured as follows

 

( ! ) Fatal error: Class 'Magento\Framework\Filesystem' not found in H:\wamp\www\magentoCE2018\vendor\magento\framework\App\ObjectManagerFactory.php on line 251Call Stack# Time Memory Function Location

10.0240238080{main}( )...\index.php:0
25.75331275904Magento\Framework\App\Bootstrap->createApplication( )...\index.php:38
35.75331276176Magento\Framework\App\Bootstrap->initObjectManager( )...\Bootstrap.php:232
45.75331277040Magento\Framework\App\ObjectManagerFactory->create( )...\Bootstrap.php:385
56.29842849096Magento\Framework\App\ObjectManagerFactory->_loadPrimaryConfig( )...\ObjectManagerFactory.php:137

 

Please guide me to this issue.