Linked Questions

0 votes
1 answer
17k views

Magento 2: Recommended File Permission for shared hosting [duplicate]

I have hosted the Magento 2 on a shared hosting server where they recommend to keep all folders as 755 and files as 644. However Magento recommeds to keep 770 for folders and 660 for all files. As ...
Malaiselvan's user avatar
  • 1,422
0 votes
1 answer
3k views

Magento 2 - How to set chown and chmod for root folder and sub folder in linux (centos 6.5) [duplicate]

In Magento 2, How to set chown and chmod for root folder and sub folder in linux. My OS system is the CentOS 6.5. please, guide me step by step. P/S: When use this command "find ./var -type d -exec ...
MrTo-Kane's user avatar
  • 3,666
2 votes
1 answer
3k views

How to give proper file and directory permission for magento localhost [duplicate]

Hi i am using Ubuntu 18 and apache2 when i setup magento 2 on localhost always have file permission problems and also whenever i run sudo php bin/magento setup:di:compile it will cancel all ...
prabhakaran7's user avatar
  • 1,087
-1 votes
1 answer
2k views

Magento2 installation problem on Ubuntu 16.04 [duplicate]

I am having following error when try to install Magento 2.1.7 Fatal error: Uncaught Magento\Framework\Exception\FileSystemException: The file "/opt/lampp/htdocs/magento2/var/.regenerate" cannot ...
knath632's user avatar
0 votes
1 answer
2k views

Magento 2.2.2 :Error with read-only folder while setup:upgrade and with a module while :di.compile [duplicate]

I have been following a guide for creating a custom form in Magento V-2.x and at the end, I ought to : I am on windows server php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/...
SUPERDEVELOPER's user avatar
2 votes
5 answers
421 views

Unable to open front end and admin [duplicate]

When i try to open my site it is not opening, same as my back end as i added the error below. Adminpanel issue in site.
Gem's user avatar
  • 699
1 vote
2 answers
733 views

Running Indexer gives Permission denied error [duplicate]

I am trying to run indexer. but when i enter command CLI shows this error http://prntscr.com/ntzzlt also i always need to give permission to generated folder, Pub folder and Var Folder after running ...
sudo55's user avatar
  • 1,004
1 vote
1 answer
536 views

Console errors after installing Magento-CE-2.0.2 [duplicate]

I freshly installed Magento 2.02 Community Edition but now when i login to admin panel then nothing is clickable and found 28 console error related to css and js How can i solve this problem
Yousaf Ali's user avatar
1 vote
0 answers
121 views

Frontend and Backend menu not clickable in Magento 2.0 [duplicate]

After installation of stable Magento 2.0, everything seemed to work fine but not the menus (frontend & backend - menu not clickable). Further investigation showed 404 error for static/_requirejs/...
MagePsycho's user avatar
  • 4,656
8 votes
4 answers
9k views

warning generated/code/Magento/Framework/App/Config/InitialConfigSource/Proxy.php

This is killing me. When I run bin/magento setup:upgrade it throws this: Warning: include(/vendor/composer/../../generated/code/Magento/Framework/App/Config/InitialConfigSource/Proxy.php): ...
Adarsh Khatri's user avatar
11 votes
4 answers
16k views

Magento 2: How to override Luma Theme Home Page

I'm using Magento 2 CE Version 2.1.0 on WAMP Windows 10 I already referred Magento 2: How to override mini-cart default template html file? Would like to override Magento 2 Default Luma Theme I ...
Jackson's user avatar
  • 9,929
4 votes
2 answers
12k views

Magento 2: Unable to write file into directory. Access forbidden

After upgrading from 2.1.5 to 2.1.6 CE. I'm getting below error on Windows WAMP while saving product on Admin side. Unable to write file into directory \D:/wamp/www/magento/pub/media/catalog/...
Jackson's user avatar
  • 9,929
4 votes
2 answers
12k views

Magento2 Product Page 404 Error Caused by URL Rewrite Not Working As it Should

We have a 404 issue on all product pages. Category pages showing fine as they should. Having imported circa 4000 products directly into our Magento2 store database and uploading images directly to the ...
MagentoMac's user avatar
  • 1,042
2 votes
7 answers
8k views

Css and Js files are not loading in admin panel and storefront

I have setup Magento 2.2.3 enterprise edition store in my local windows system. Previously, the CSS and JS were loading and the store was appearing fine. But recently the CSS and JS files are not ...
Rajesh Vedhamurthy's user avatar
6 votes
1 answer
4k views

create mini wish list icon like mini cart

I am in requirement to add mini wish-list icon like mini cart count on top of header .I do not know this is Magento default functionality or Not.
new developer's user avatar
5 votes
2 answers
6k views

File Permissions Magento 2

I am trying to use Mark Shust's repo to install Magento 2 with Docker. For some strange reason, I am getting this error: I tried all the answers here. For more details: https://github.com/...
Avi Kaminetzky's user avatar
6 votes
2 answers
3k views

Permission change after setup:upgrade

For some reason every time I compile or setup:upgrade the file permissions on my server change and my site's layout is affected. Does anyone know what can be causing this?
DevAnd's user avatar
  • 526
2 votes
3 answers
12k views

Permission Issue Magento 2

I upgraded Magento 2 to Magento 2.0.3 today, everything went fine until I didn't get my webshop to work anymore with a lot of blank pages. Now I managed to get my pages to see errors again with the ...
Remy's user avatar
  • 21
5 votes
3 answers
6k views

Magento 2: modules are not listing in admin panel

On my test server, every installed extensions are not listing in admin panel under Stores > Settings > Configuration > Advanced > Advanced. And if the extension has configuration parameters ...
WaPoNe's user avatar
  • 1,590
1 vote
7 answers
10k views

Upgrading from Magento 2.4.0 to 2.4.5

I'm trying to upgrade Magento 2.4.0 to 2.4.5, i didn't upgrade PHP version, i'm using 7.4 composer require magento/product-community-edition 2.4.5 --no-update I got this message The "magento/...
tarek fellah's user avatar
1 vote
3 answers
6k views

Magento 2 File/Folder permissions

I am trying to install fresh Magento 2. It gives me HTTP ERROR 500 when hit the URL http://localhost/m2/. I know 0777 will solve my issue, but it is not good to give 777. I give permission as ...
inrsaurabh's user avatar
  • 1,676
1 vote
3 answers
4k views

Magento 2 installation & Linux file folder permission

I am using Linux Mint. I installed a quick package of Magento 2 Theme. I tried to browse Admin Panel. But I couldn't browse. Then I found I have to change file & folder permission. I tried below ...
abu abu's user avatar
  • 744
5 votes
1 answer
6k views

Magento 2: How to fix incorrect permissions after executing setup:upgrade and/or setup:di:compile

After running setup:upgrade and di compile from the bin directory, permission and ownership is reset and the magento store stops working. It works if I manually reset the permission. When the var/...
Sohaib Khan's user avatar
1 vote
2 answers
4k views

Notice: getimagesize(): Read error

I am getting error like this {"0":"Notice: getimagesize(): Read error! in \/home\/rahul\/public_html\/vendor\/magento\/module-catalog\/Model\/Product\/Image.php on line 890","1":"#0 [internal ...
Mac's user avatar
  • 573
0 votes
2 answers
2k views

CSS and JS not loading from Extension Error 403

after installing a slider extension I can't get it to display properly in the frontend. There are just the pictures and text without any formatting or functionality. It is correctly configured, but ...
Pit Wegner's user avatar
0 votes
3 answers
5k views

Magento 2 : 500 Error internal server

I upload the data local to server . I changed env.php file and also change core_config_data table but when I run url on server it gives me 500 server error. while on local its run perfectly. can any ...
Harshil Parekh's user avatar
1 vote
1 answer
4k views

Magento2: Redirecting to Cart page from Checkout page after Place Order

I added products to cart. Then did proceed to checkout. I have tried Cash on Delivery and Check / Money Order as Payment method. Everything is fine until the order review section. And then when I ...
Devidas's user avatar
  • 3,358
3 votes
3 answers
2k views

Magento Installer - File Permission Check Fail

I had been struggling with Magento-CE-2_1_3 installation without success. The installation process is always terminated because of the File Permission Check "File Permission Check 4 file ...
ika's user avatar
  • 43
3 votes
1 answer
4k views

Something went wrong while saving the file(s)

After Saving the category from the admin side, it successfully saved the category. But in the exception.log file I got the following error. "exception":"[object] (Magento\\Framework\\...
Harshil Parekh's user avatar
0 votes
1 answer
4k views

Operation not permitted

I am trying to install a Magento 2 in Linux Mint 19. I am facing issue in file permission.
abu abu's user avatar
  • 744
0 votes
3 answers
3k views

Magento admin-panel isn't working

I wanted to try working with Magento, so I downloaded the Magento 2.1.5 Community version from the website and installed in on my localserver from XAmpp (php 7.0.15). Magento installed successfully (...
Thomas van Bergen's user avatar
2 votes
1 answer
3k views

Magento setup:upgrade fails with "Element 'type': Character content other than whitespace is not allowed because the content type is 'element-only'."

We recently purchased software that runs as an extension for Magento 2. We purchased a brand new VPS setup, and turned it over to them for installation. They completed the installation and got their ...
codestr's user avatar
  • 515
1 vote
3 answers
1k views

Centos and Magento 2.0 problem

I want to install Magento 2.0 on a server with Centos system. My problem is after installation the Admin Panel is look like in this image: In the firebug console I have a lot of 404 errors: "...
Robert's user avatar
  • 2,176
0 votes
2 answers
3k views

the "config.php" deployment config file isn't writable magento 2.3.5

i try to install module after command run php bin/magento setup:upgrade error show -> updating modules: the "config.php" deployment config file isn't writable please can you help
arun's user avatar
  • 3
0 votes
3 answers
2k views

how do I set folder permissions on windows Magento 2.2 install?

I'm using laragon in a windows 10 machine for a 2.2.3 Magento install. What folder permissions do I have to set? By default, all folders are read-only (or so it seems). Currently, I set writable ...
fran35's user avatar
  • 189
1 vote
2 answers
3k views

Getting errors after setup:upgrade ssh command (and all pages are blank)

On a clean installation after copying theme files and running the setup:upgrade command, suddenly all pages are blank (including admin). I enabled error reporting and get this on all pages: Fatal ...
troldog's user avatar
  • 113
2 votes
1 answer
821 views

How to setup permissions for Bitnami Virtual Machine and PhpStorm?

I downloaded Bitnami's Magento VM (OVA, using it in vmware on windows). It is a Debian 9 (Debian GNU/Linux 9.8 (stretch)) with Apache/2.4.39 (Unix), PHP 7.1.27. By default, it is configured to serve ...
szabkel's user avatar
  • 143
0 votes
3 answers
802 views

/Magento/pub/static/frontend/Magento/luma/en_US/Magento Ui/templates/modal/modal-popup.html on this server

Forbidden you don't have permission to access /Magento/pub/static/frontend/Magento/luma/en_US/Magento Ui/templates/modal/modal-popup.html on this server. Don't know why I am getting this error on ...
khan's user avatar
  • 331
0 votes
2 answers
1k views

Can't change home page

Issue:- I have recently taken over a Magento site. The client would like their home page to be changed to their About Us page. When I go to the GENERAL->web->Default Pages and change the ...
JasonS's user avatar
  • 1
0 votes
2 answers
986 views

Getting permission issue for vendor mage folder while update anything on admin

I am using magento 2.3.2 community edition. While update any setting at backend I am getting error like Warning: file_put_contents(/var/www/html/ihouzit/var/cache//mage-tags/mage---39a_MAGE): ...
Maruti_magento2's user avatar
1 vote
2 answers
597 views

Magento2 Installation Error by 0%

since a few days I am trying to install Magento with Docker, Composer on Windows 10. So far, I got to the Web-Installation. A huge step for me... After clicking the last step, Magento stuck by 0%. ...
Timm K.'s user avatar
  • 41
0 votes
1 answer
738 views

Magento2 - Messed up file permissions. Any way to reset?

I accidentally run some magento's command as root user and some directories and files have messed up permissions. Is there any way to reset the permissions because currently I'm getting errors such ...
BugHunterUK's user avatar
1 vote
1 answer
596 views

Error 404 for rjsResolver.js in adminhtml and frontend

I have a big problem with this file. What I need is to recreate this file: /pub/static/adminhtml/Magento/backend/en_US/rjsResolver.js What is problem: I have 404 when I enter backend or frontend ...
Patryk's user avatar
  • 332
1 vote
3 answers
691 views

upgrade to 2.1.5. composer updated but setup upgrade returns with invalid argument

I've had an issue with a template I purchased and needed to update it to the latest version of Magento. I've backed up my database a files and ran: composer update When this complete I ran php bin/...
Darryl Husler's user avatar
0 votes
1 answer
507 views

Class not found error while compiling Magento

After I copied files for a new Theme, I was able to upgrade and deploy but when I open the main site it is throwing me Exception #0 (RuntimeException): Class Magento\Framework\View\...
Actung's user avatar
  • 131
0 votes
1 answer
489 views

Install Magento 2 in Linux Mint

I installed WordPress in my Linux Mint successfully. I used sudo chmod 777 -R /var/www/html/wordpress/corewordpress I am trying to install Magento2 same way but I can't. Why it is happening ?
abu abu's user avatar
  • 744
2 votes
1 answer
628 views

How to add grunt watch to an app/code extension's css file in M2?

I have been customizing the landofcoder > Backend extension that creates an adminhtml theme. It lives in the app/code/Ves/Backend folder. However, the only thing I'd like to add is the ability to ...
TheNorthern_Light's user avatar
0 votes
1 answer
542 views

Magento 2.2.6 not open after unzip and include all the extensions

I am new to the magento development. I am trying to install magento 2.2.6 . My configurations Apache/2.4.18 (Ubuntu) PHP Version 7.0.32 Ubuntu 16.04 mysql 5.7.24 I have downloaded magento 2.2.6 (...
Sammu Sundar's user avatar
0 votes
3 answers
326 views

Magento 2.3.4 - Best practice to do update magento files and modules without affect the website in Production Mode

If i update any modules or disable extensions my website showing an error message, i do following all the commands then coming back to normal, rm -rf var/di/* var/generation/* var/cache/* var/log/* ...
zus's user avatar
  • 165
0 votes
1 answer
526 views

Is it safe to permission set 777 for var?

I saw 'Never use 777 for security reason' and I also found Magento 2 recommended permission setup on Magento 2 folder/file permissions find ./var -type d -exec chmod 777 {} \; find ./pub/media -type d ...
Yohan's user avatar
  • 1,610

15 30 50 per page