People who code: we want your input. Take the Survey

Questions tagged [production-mode]

The tag has no usage guidance.

42 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
464 views

Production mode won't geneate files inside var/view_processed folder

When I open the frontend and backend I always got an error like this: "Warning: include(/var/www/test.com/var/view_preprocessed/html/vendor/magento/module-theme/view/base/templates/root.phtml): ...
3
votes
0answers
470 views

Production-mode to developer-mode error

After the development of Magento 2 store, I push my site on production mode and perform all the speedup tweak's like merge JS/CSS etc.. After this, my site is working very well without any JavaScript ...
2
votes
0answers
42 views

After Production mode and JS minification, 404 error for all JS files

I have enabled JS minification and Merging while in developer mode. Then i enabled production mode. Cleared cache and ran below commands: php bin/magento setup:upgrade php bin/magento indexer:...
2
votes
0answers
182 views

Ignore specific path when running setup:di:compile in Magento 2.2.2

Is there a additional command to add to setup:di:compile command to ignore a specific path compilation? In Magento 2 this could be done with additional parameter --exclude-pattern, but in Magento 2.2 ...
2
votes
1answer
346 views

Magento 2 styling issues after switch from default to production mode

I thought I should switch to production mode from default mode as I got closer to launching my site. As soon as I did that, the formatting of my front-end and admin section got really messed up. The ...
2
votes
1answer
706 views

Magento won't create minified JS files

I switched my Site to production mode and enabled JavaScript minification, bundling and concatenating in the backend, expecting Magento to correctly create the .min.js files - It won't, though. First ...
2
votes
0answers
180 views

Magento 2 : New Order Email Template CSS Not Working in Production Mode

I am facing issue in sales new order email template. I am working with my custom theme. Problem is there, new order email template CSS working in developer mode correctly but same template not working ...
2
votes
0answers
148 views

Magento 2 from developer to production mode e-mail / mail

Magento 2.1.2 If i change from developer to production mode the order email layout is little confused. Can help me somebody to fix that? developer mode: production mode:
1
vote
0answers
111 views

Swagger redirecting to login when going from Production mode to Developer

When I tried to set my production mode instance to developer mode I can not get swagger to load. If I go to mystore.com/swagger it will redirect to the login page. Deploy mode is set to developer. I ...
1
vote
0answers
50 views

Host venia theme on server but generated secure url not run on other devices

Generate ssl certificate for CUSTOM_ORIGIN_EXACT_DOMAIN=www.pwa.com using command yarn buildpack create-custom-origin packages/venia-concept. after excuting the yarn run build && yarn run ...
1
vote
0answers
38 views

Magento 2.3: cache issue - changes are uploading with long delay

We have got installed Magento 2.3 on our production server. Whenever we do changes to css file or other Magento files it takes ages to reflect the page on the live website. The brutal method to get ...
1
vote
0answers
22 views

Product page and category page disappeared

Developed on developer mode and everything is OK, just set production mode, home page and admin panel is OK but category page completely disappeared and shows a blank page and also product page is ...
1
vote
0answers
88 views

Magento 2 how to set permission in production mode

I have successfully completed all issues in developer mode, and now I moved to production mode, every thing is working fine but when I am try to cache clear from admin panel , frontend permission are ...
1
vote
0answers
27 views

Magento2.1.8 ltrim() error broke production site

Live production site went down suddenly. I created a custom cron job to enable/disable products in the site and the job ran successfully. 3 people placed order and suddenly the Live site went down and ...
1
vote
1answer
242 views

Magento 2 Autoprefixer in production mode

Magento 2 comes with a preinstalled autoprefixer for Grunt. But is it possible to use the autoprefixer in the production mode too? I have a lot of CSS which does not work without the vendor prefixes ...
1
vote
0answers
665 views

Not able to set Magento 2.2.2 to production mode

I am done with all the work of my website but now when I try to set it to production mode, it abruptly terminates in shell without giving any error details in log file. At least I was not able to ...
1
vote
0answers
104 views

How to debug error “Unable to get content for …”?

How to find error in this file? I can't find error and fix it. I has moved to production mode and merge all js/css file.
1
vote
2answers
972 views

CSS and JS files not loading in Production mode

I am changing my site to Production mode but CSS,JS is not loading after changing to production mode. Group product has very odd issue. Display in Developer mode but not in Production mode.
0
votes
1answer
14 views

Magento 2.4: How to add the locale for a website using config.php?

Our Magento website is hosted on Commerce cloud and I have created the multi website but since the commerce cloud is in production mode, I'm not able to update the locale using admin settings. I get ...
0
votes
0answers
8 views

Why is minify_html a dev option and is there any reason not to use it in production

The config node for minify_html sits under the developer node. Its only possible to access the developer tab in the admin when the store is in developer mode. In production mode its only possible to ...
0
votes
2answers
20 views

Homepage not working on production

Everything works fine in development mode. But when I switch to production everything except homepage works. The only thing shown is this: An error has happened during the application run. See ...
0
votes
1answer
31 views

Magento 2 Production mode still showing Developer Tab

On one of my Magento 2 websites I noticed while in Production mode, the Developer tab is still showing in Stores > Settings -> Configuration > Advanced. The store seems to be running fine but ...
0
votes
0answers
12 views

Getting error when we switch from developer mode to production mode - Magento 2.3.5-p1

All the pages getting these errors Error : Warning: include(magento_dir/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml): failed to open stream: No such ...
0
votes
2answers
55 views

Magento 2.3.2 compilation error

I have a website in Magento 2.3.2. This morning the website was in production mode. I added a custom module (I don't think is related to this problem) run bin/magento setup:upgrade, bin/magento c:f, ...
0
votes
2answers
192 views

During setup:di:compile getting error:- Source class “\PHPExcel_IO” for “PHPExcel_IOFactory” generation does not exist

When i'm running "setup:di:compile" or setting mode to "production" from "default" then getting following error:- Please help me to resolve this problem immediately. ------Update@Start--------------...
0
votes
0answers
135 views

Magento 2.3.0 After change production mode minify js and minify css not working it admin side

I have tried all commands on our Magento 2.3.0 website but I am getting issue after changing to production mode. So if anyone is facing this type of error, please reply to me the proper solution. ...
0
votes
2answers
510 views

Magento2.3.0 :When merge and minify js and css after set production mode not working my admin panel and frontend css lacking

I am using Magento2.3.0 community version When merge and minify js and css after set production mode not working my admin panel and front end css lacking if any one know what is actual issue reply me ...
0
votes
0answers
113 views

Disabling maintenance mode Command returned non-zero exit code

I am a newbie in magneto I made a Magento custom extension but while uploading this into the Magento Marketplace, I am facing an issue it's Test Fail, Below is the test report Environment: PHP 7.1....
0
votes
0answers
208 views

HTTP 500 error after switching from developer mode to production mode

After switching to production mode, website is giving http 500 error. Admin side is opening but no pictures. What should i do?
0
votes
2answers
192 views

Do I have to be in developer mode?

How to add custom css file in magento2.2.6? I am in Production mode, using Luma Magento 2.2.6. Do I have to be in Developer mode to make the solution in the above link work? Before switching to ...
0
votes
0answers
126 views

Magento 2 shell shows production mode, but still in developer mode

I have a problem turning the webshop into production mode. When I change mode to production all seems fine and production mode is enabled without any problem in ssh. [admin@server public_html]$ php ...
0
votes
2answers
143 views

Magento 2: Deploy Production mode with fresh install

I am working with MAGE2.2.6. It is a fresh install. Before I opened magento for the first time. I changed from default to Production mode, in the etc.php file. I also cleared my var/cash and var/...
0
votes
1answer
53 views

Developer to Production Cashe

I have been using MAGE for about 2 months now and I am a Neophyte to front and back end. I am looking for a little guidance in changing form "developer" to "production" mode. I don't use the CL, I use ...
0
votes
2answers
755 views

Magento 2.2 some JS files are not loading in production mode

In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode: http://...
0
votes
0answers
74 views

Site is not opening after setting production mode Magento2

I set mode as production, after that my website gone down, Is there any setting to be done? All css and js are showing 504 gateway error. What is the reason for it?
0
votes
1answer
309 views

JS doesn't load when change mode from development to production in Magento 2.1.9

Website working properly in developer mode when I am changing mode from development to production. JS doesn't load after change mode of production. Below Error: GET https://example.com/pub/static/...
0
votes
0answers
220 views

Magento 2 custom theme setup:static-content:deploy en_GB on production mode does not work!

I've been doing this for while and having to end up either going to developer mode then production to push e.g css changes or run setup:upgrade then setup:static-content:deploy en_GB && cache:...
0
votes
0answers
364 views

Magento2: Error when change developer mode to production (Magento 2.1.7)

D:\xampp\htdocs\site> php bin/magento deploy:mode:set production Enabled maintenance mode Starting compilation Compilation was started. %message% 0/7 [>---------------------------] 0% 1 sec 44....
0
votes
1answer
99 views

Problem after I changed developer mode

after I change from default to developer mode my homepage is look like this what is my mistake ? please help me
0
votes
2answers
1k views

Magento 2 error when run php bin/magento setup:di:compile

I am using magento 2.1.5 when i change developer to production mode got the error like this Enabled maintenance mode Starting compilation Something went wrong while compiling generated code. See ...
0
votes
0answers
130 views

Can we set production mode from localhost in Magento 2

I am trying to set production Mode from my localhost, but it is throwing error. Can we set Production Mode from localhost? and let us know the precautions before setting the production mode?
0
votes
1answer
998 views

M2 - Cannot change deploy mode to Production

I am trying to set the deploy mode on an M2 instance to Production from Developer. On my local environment however I keep getting the error message: Command returned non-zero exit code: '/...