With install theme Magento 2.2

0

I have a theme downloaded from Magento 2.2 and I followed the steps described by various websites and topics, one of them described in the link: link

I uploaded the app and theme design folders to FTP, however two commands via SSH are required:

php bin / magento setup: upgrade

php bin / magento setup: static-content: deploy -f

However, I do not have access to the SSH of the server where the site is hosted so I requested that they execute the above commands and reported the following:

We have made the commands you requested but the following errors occur:

root @ host1 [/ home / kordicom / public_html] # php bin / magento setup: upgrade -keep-generated

[Symfony \ Component \ Console \ Exception \ RuntimeException] Too many arguments, expected arguments "command".

setup: upgrade [-keep-generated] [-magento-init-params MAGENTO-INIT-PARAMS]

root @ host1 [/ home / kordicom / public_html] # php bin / magento setup: static-content: deploy

[Magento \ Framework \ Exception \ LocalizedException] NOTE: Manual static content deployment is not required in "default" and "developer" modes. In "default" and "developer" modes static contents are being deployed automatically on demand. If you still want to deploy in these modes, use -f option: 'bin / magento setup: static-content: deploy -f'

setup: static-content: deploy [-f | --force] [-s | --strategy [STRATEGY]] [-a | --area [AREA]] [--exclude-area [EXCLUDE-AREA ] [--exclude-language [EXCLUDE-LANGUAGE]] [-EX | -language [LANGUAGE]] [-exclude-language [EXCLUDE-THEME] [--no-javascript] [--no-css] [--no-css] [--symlink-locale] [--content-version CONTENT-VERSION] ] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] ] ...

root @ host1 [/ home / kordicom / public_html] # php bin / magento setup: static-content: deploy -f

Deploy using quick strategy frontend / Magento / blank / en_US 2199/2199 ===================================== 100% adminhtml / Magento / backend / en_US 2306/2306 ==================================================== 2199/2199 =================================================== 5 secs adminhtml / Magento / backend / en_US 2306/2306 ==== ======================== 100% 2 secs frontend / Magento / blank / en_US 2199/2199 =========== ================= 100%% 5 secs adminhtml / Magento / backend / en_US 2306/2306 ================== ========== 100%% 2 secs frontend / Magento / luma / en_US 2215/2215 ============================ === 100% 1 sec frontend / Emthemes / everything_default / en_US 2105/2316 ========================= -> 3 secs Compilation from source: /home/kordicom/public_html/vendor/magento/theme-frontend-blank/web/css/email-fonts.less .lib-colorfont is undefined in / home / kordicom / public_html / var / view_preprocessed / pub / static / frontend / Emthemes / everything_default / en_US / css / source / _typography.less

[Magento \ Framework \ Exception \ FileSystemException] Can not read contents from file "/home/kordicom/public_html/pub/static/frontend/Emthemes/everything_default/en_US/css/styles-m.css" Warning! file_get_contents (/ home / kordicom / publi c_html / pub / static / frontend / Emthemes / everything_default / en_US / css / styles-m.css): failed to open stream: No such file or directory

setup: static-content: deploy [-f | --force] [-s | --strategy [STRATEGY]] [-a | --area [AREA]] [--exclude-area [EXCLUDE-AREA ] [--exclude-language [EXCLUDE-LANGUAGE]] [-EX | -language [LANGUAGE]] [-exclude-language [EXCLUDE-THEME] [--no-javascript] [--no-css] [--no-css] [--symlink-locale] [--content-version CONTENT-VERSION] ] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] ] ...

root @ host1 [/ home / kordicom / public_html] #

The error screens are attached. In one of them, the second is asked to put -f at the end of the command. We did this and still got errors.

I would like to know if this is the only way to install a Magento theme or if it is possible to fix this error in SSH.

    
asked by anonymous 09.08.2018 / 18:31

0 answers