Linked Questions

0 votes
2 answers
68 views

sudo php bin/magento module:status didn't run?

I was trying to run this command but the error raised like this PHP Warning: require(/var/www/medical/bin/../app/bootstrap.php): Failed to open stream: No such file or directory in /var/www/medical/...
Ansari's user avatar
  • 437
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
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
328 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
  • 175
0 votes
1 answer
546 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,602
0 votes
1 answer
32 views

Help! Dev Magento Site Down after Upgrading Module in EC2 instance on Server

Does any one no a fix for this?
Jonathan's user avatar
  • 113
0 votes
2 answers
180 views

Magento 2 website no longer loads after running compile command

I'm currently developing a website on a local installation of Magento 2. I was following advice on how to add a .phtml file to my pages. Customize Footer in magento2 I followed one solution that ...
user3182742's user avatar
0 votes
2 answers
236 views

Persistent permission issue on my folders

I am having some issues with my magento 2.3.1 stored on a ubuntu 16.04 server . each time i run php bin/magento setup:upgrade, the VAR and GENERATED folder always loses its permission until i run ...
LoudHouse Family's user avatar
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
0 votes
1 answer
154 views

chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/ SAFE?

to fix an issue in Magento I found this solution here on Stackexchange: I used this command line in Putty: So after that I could fix the issue.
Jason Dana's user avatar
0 votes
2 answers
46 views

Magento 2 specific folder permisson

I have the folder path /var/www/html/stagedesign/magento_root How do I set folder permisson 777 to only stagedesign? I have tried this in the stagedesign folder but nothing happened. find . -type ...
Nicklas Gilbertsson's user avatar
0 votes
1 answer
756 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
0 votes
0 answers
59 views

Display format of site and admin panel not working

I am pretty new to magento and was trying to update quantity from magento admin. Not sure what went wrong format, css stopped working. Nothing working on Magento Admin also. I can login to admin but ...
Anji's user avatar
  • 1
0 votes
2 answers
998 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
0 votes
0 answers
70 views

Magento 2 reindex error

Magento 2.2. Please can anyone help with this I am trying to run this in CLI php bin/magento indexer:reindex catalogsearch_fulltext Notice: getimagesize(): Read error! in /home/redjohnco/...
jt9489's user avatar
  • 175
3 votes
0 answers
164 views

Magento hangs when i click install, using wamp server

I'm trying to install Magento version 2.3.2 on a wamp server, Apache version is 2.4.39 PHP 7.1.29 MySQL 5.7.26 when i reach the install button after filling all my details it freezes on 0% and the ...
Mark's user avatar
  • 61
1 vote
1 answer
60 views

Fatal error... Can sombody help me

if ($generator !== null) { $this->tryToLoadSourceClass($className, $generator); if (!($file = $generator->generate())) { $errors = $generator->getErrors(); ...
Furtuna Abel's user avatar
1 vote
2 answers
734 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
0 votes
0 answers
289 views

Magento 2 installation in GoDaddy shared hosting

Just installed Magento in my GoDaddy shared hosting and getting this error: Can't create directory /home/xxx/public_html/xxx.com/ecommerce/generated/code/Magento/Catalog/Controller/Adminhtml/...
dpmdev's user avatar
  • 1
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
2 answers
113 views

Magento 2 + Permissions issue in Ubntu 16.04

Every time i run setup upgrade or static-content deploy command, I need to assign permissions to var, generated, pub/static etc in Ubuntu. Is there any permanent solution for that so every time we ...
Yogesh's user avatar
  • 1,523
0 votes
1 answer
378 views

Can't access admin after update Magento 2.3.1

I recently updated my Magento 2.3.0 to 2.3.1, and my site works, but I when I try to go to my admin url I get a 504 error. I have tried clearing my cache, and I tried following advice to clear the ...
Morgan Smith's user avatar
2 votes
1 answer
831 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
0 answers
498 views

why checkout and cart page not showing in magento 2

my site not showing checkout and cart page why this happening ?? Checkout page Cart page can anyone find the solution
prabhakaran7's user avatar
  • 1,087
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
349 views

Trying to access the admin backend in Magento2 throws a 404 not found

I migrated my Magento 2 test site to the actual site (which was already running Magento 2 with older data) and noticed, that everything seems to work - only "admin_adminkey" and "privacy-policy-cookie-...
Tamashii's user avatar
1 vote
1 answer
323 views

How to solve newly generated magento 2 file permission issue in ubantu 18.04?

I have install and configured magento 2 in ubantu 18.04. Everything work fine but when i am run magento2 command using cli than every time it will display file permission issue in "cache_dir" and "...
Sanjay Gohil's user avatar
  • 2,200
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
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
0 votes
1 answer
543 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
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
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
115 views

M2 can't activate developer mode

After activating developer mode the fronend an backend delivers a white page. Edit: I can switch to Production Mode but not back to Developer Mode. 1 exception(s): Exception #0 (Magento\Framework\...
Michael Müller's user avatar
0 votes
1 answer
490 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
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
2 answers
146 views

Magento 2 - fresh installation deploy

I have made a fresh installation of magento 2. Backend was displayed without any css/js format, bacause no file was placed in pub/static/adminhtml/Magento/backend/en_US/ folder. I tried using php ...
zekia's user avatar
  • 650
0 votes
1 answer
508 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
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
0 votes
1 answer
317 views

Unable to create/visualize products

I recently installed a third party theme and I'm unable to previsualize any product, I got the following error when accessing through url: 1 exception(s): Exception #0 (Magento\Framework\Exception\...
Brandon Fuentes'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
0 votes
2 answers
177 views

Unable to install Modules Magento 2.2 ( Readiness Check Error)

Im trying to install a few modules for the better functionality of my store. I've previously installed modules and themes and have basic knowledge about using SSh, etc. However I'm facing a few ...
Tanish's user avatar
  • 55
0 votes
2 answers
480 views

What is the recomended file system permissions for magento 2 installation?

My environment is an AWS EC2 machine, with only one magento 2.2.3 store, with apache and Mysql. I've followed a few posts here from stackoverflow (here and here) and oficial documentation, but I'm not ...
lpFranz's user avatar
  • 689
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
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
0 votes
1 answer
362 views

500 internal server error- Magento 2

i am having an error on my website. following is the image : i've been trying to fix the error but can't find what excatly sould i do? can anyone give me a solution?
Laiba's user avatar
  • 63
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
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
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
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
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

15 30 50 per page