I upgraded my staging system to magento 2.3 but now when deploying content I get this error:
frontend/Ubertheme/megamall/en_US 2849/3033 ==========================>- 93% % 7 secs
Compilation from source: /home/jukeboxs/staging/vendor/magento/theme-frontend-blank/web/css/styles-m.less
variable @modal-popup-breakpoint-screen__m is undefined in file /home/jukeboxs/staging/var/view_preprocessed/pub/static/frontend/Ubertheme/megamall/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41
09|
10| @checkout-tooltip__hover__z-index: @tooltip__z-index;
frontend/Magento/blank/en_US 2947/2947 ============================ 100% % 21 secs
adminhtml/Magento/backend/en_US 2905/2905 ============================ 100% % 15 secs
frontend/Magento/luma/en_US 2963/2963 ============================ 100% % 9 secs
frontend/Ubertheme/megamall/en_US 2852/3033 ==========================>- 94% % 8 secs
Compilation from source: /home/jukeboxs/staging/vendor/magento/theme-frontend-blank/web/css/styles-l.less
variable @modal-popup-breakpoint-screen__m is undefined in file /home/jukeboxs/staging/var/view_preprocessed/pub/static/frontend/Ubertheme/megamall/en_US/Magento_Checkout/css/source/module/checkout/_tooltip.less in _tooltip.less on line 11, column 41
09|
10| @checkout-tooltip__hover__z-index: @tooltip__z-index;
frontend/Magento/blank/en_US 2947/2947 ============================ 100% % 21 secs
adminhtml/Magento/backend/en_US 2905/2905 ============================ 100% % 15 secs
frontend/Magento/luma/en_US 2963/2963 ============================ 100% % 9 secs
frontend/Ubertheme/megamall/en_US 2963/3033 ===========================> 97% % 9 secs
In File.php line 150:
The contents from the “/home/jukeboxs/staging/pub/static/frontend/Ubertheme/megamall/en_US/css/styles-m.css” file can’t be read. Warning!file_get_contents(/home/jukeboxs/staging/pub/static/frontend/Ube
rtheme/megamall/en_US/css/styles-m.css): failed to open stream: No such file or directory
7 answers
Hi There,
To fix this issue, please remove the file at: app/design/frontend/Ubertheme/megamall/Magento_Checkout/css/source/module/checkout/_tooltip.less
Once done please re-compile LESS -> CSS as instructed to you before. For your convenience, I include the steps below:
You should back up your site first. Once done, you access your server via SSH and navigate to your Magento 2 folder, then run the following commands one by one:
Step 1: php bin/magento maintenance:enable
Step 2: rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/frontend/Ubertheme/megamall/*
Step 3: php bin/magento setup:static-content:deploy -t Ubertheme/megamall -f (Make sure you are using developer (or default) mode)
Step 4: php bin/magento cache:flush
step 5: php bin/magento maintenance:disable
Step 6: clear your browser cache
Hope that helps.
PS. We still need more time for the compatibility testing with Magento 2.3.2. In case you run across any issue with M232, we will follow up with you on case by case basis then.
Best Regard,
Ziven.
Hello,
Can not do that because the directory app/design/frontend/Ubertheme/megamall/Magento_Checkout/css does not exist !
it seems you have set my production in maintenance.
very bad doing so without letting me know.
THE PROBLEM IS NOT IN PRODUCTION BUT IN STAGING !!!!!!
KEEP OUT OF OUR PRODUCTION ENIRONMENT PLEASE !!!
THE PROBLEM IS IN STAGING !!
Hi There
My apology, I have tried to deploy your instance: https://www.dropbox.com/s/dgq00pvzk3m6l2r/2019-07-17_16-10-37.png?dl=0 (I tried with the old credentials you provided here).
I did deploy successfully without the issue you mentioned.
I”ve just switched the instance to production mode already.
Please help to resend me credentials of your staging instance so that I can debug further.
Best Regards,
Ziven.
Hello,
it are the same credentials but it is in the subdirectory staging not in public_html
best regards
piet
Hi Piet,
Can not do that because the directory app/design/frontend/Ubertheme/megamall/Magento_Checkout/css does not exist !
I tried to deploy on the staging instance once again, following all steps as noted to you, without seeing the issue you mentioned:
Can not do that because the directory app/design/frontend/Ubertheme/megamall/Magento_Checkout/css does not exist !
However, I noticed another issue which does not relate to our UB Megamall theme: https://www.dropbox.com/s/si3jd2gy4rkfk2t/2019-07-18_09-16-11.png?dl=0.
Please contact with your third-party extension provider to get this resolved.
Best Regards,
Ziven.