cancel
Showing results for 
Search instead for 
Did you mean: 

Porto theme fails to install

SOLVED

Porto theme fails to install

Hi,

after i update, the Porto theme on Magento 2.2.6 upload also theme patch for Magento 2.2.x and theme patch for Magento 2.2.4 & above then run the deploy command i got this on SSH

#0 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/View/                        Asset/Publisher.php(73): Magento\Framework\View\Asset\File->getSourceFile()
#1 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/View/                        Asset/Publisher.php(61): Magento\Framework\App\View\Asset\Publisher->publishAsse                        t(Object(Magento\Framework\View\Asset\File))
#2 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployStaticFile.php(92): Magento\Framework\App\View\Asset\Publisher->publish                        (Object(Magento\Framework\View\Asset\File))
#3 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(189): Magento\Deploy\Service\DeployStaticFile->deployFile('                        font-awesome/le...', Array)
#4 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(136): Magento\Deploy\Service\DeployPackage->processFile(Obj                        ect(Magento\Deploy\Package\PackageFile), Object(Magento\Deploy\Package\Package))
#5 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(107): Magento\Deploy\Service\DeployPackage->deployEmulated(                        Object(Magento\Deploy\Package\Package), Array, false)
#6 [internal function]: Magento\Deploy\Service\DeployPackage->Magento\Deploy\Ser                        vice\{closure}()
#7 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/State                        .php(186): call_user_func_array(Object(Closure), Array)
#8 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(108): Magento\Framework\App\State->emulateAreaCode('fronten                        d', Object(Closure))
#9 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proce                        ss/Queue.php(300): Magento\Deploy\Service\DeployPackage->deploy(Object(Magento\D                        eploy\Package\Package), Array)
#10 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proc                        ess/Queue.php(219): Magento\Deploy\Process\Queue->execute(Object(Magento\Deploy\                        Package\Package))
#11 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proc                        ess/Queue.php(162): Magento\Deploy\Process\Queue->assertAndExecute('frontend/Sma                        rtw...', Array, Array)
#12 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Stra                        tegy/QuickDeploy.php(76): Magento\Deploy\Process\Queue->process()
#13 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Serv                        ice/DeployStaticContent.php(109): Magento\Deploy\Strategy\QuickDeploy->deploy(Ar                        ray)
#14 /home2/decornmo/public_html/babybeddingdesign/setup/src/Magento/Setup/Console/C                        ommand/DeployStaticContentCommand.php(140): Magento\Deploy\Service\DeployStaticC                        ontent->deploy(Array)
#15 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Command/Co                        mmand.php(241): Magento\Setup\Console\Command\DeployStaticContentCommand->execut                        e(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Co                        nsole\Output\ConsoleOutput))
#16 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(843): Symfony\Component\Console\Command\Command->run(Object(Symfony\Compon                        ent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut                        put))
#17 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(193): Symfony\Component\Console\Application->doRunCommand(Object(Magento\S                        etup\Console\Command\DeployStaticContentCommand), Object(Symfony\Component\Conso                        le\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/Console/                        Cli.php(104): Symfony\Component\Console\Application->doRun(Object(Symfony\Compon                        ent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut                        put))
#19 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(117): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Consol                        e\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /home2/decornmo/public_html/babybeddingdesign/bin/magento(23): Symfony\Componen                        t\Console\Application->run()
#21 {main}
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/icons.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/icons.less in icons.less on line 4, column 2
2|    readers do not read off random characters that represent icons */
3|
4| .@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
5| .@{fa-css-prefix}-music:before { content: @fa-var-music; }
6| .@{fa-css-prefix}-search:before { content: @fa-var-search; }
7| .@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/list.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/list.less in list.less on line 4, column 2
2| // -------------------------
3|
4| .@{fa-css-prefix}-ul {
5|   padding-left: 0;
6|   margin-left: @fa-li-width;
7|   list-style-type: none;
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/rotated-flipped.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/rotated-flipped.less in rotated-flipped.less on line 4, column 2
2| // -------------------------
3|
4| .@{fa-css-prefix}-rotate-90  { .fa-icon-rotate(90deg, 1);  }
5| .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6| .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7|
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/stacked.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/stacked.less in stacked.less on line 4, column 2
2| // -------------------------
3|
4| .@{fa-css-prefix}-stack {
5|   position: relative;
6|   display: inline-block;
7|   width: 2em;
#0 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/View/                        Asset/Publisher.php(73): Magento\Framework\View\Asset\File->getSourceFile()
#1 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/View/                        Asset/Publisher.php(61): Magento\Framework\App\View\Asset\Publisher->publishAsse                        t(Object(Magento\Framework\View\Asset\File))
#2 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployStaticFile.php(92): Magento\Framework\App\View\Asset\Publisher->publish                        (Object(Magento\Framework\View\Asset\File))
#3 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(189): Magento\Deploy\Service\DeployStaticFile->deployFile('                        font-awesome/le...', Array)
#4 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(136): Magento\Deploy\Service\DeployPackage->processFile(Obj                        ect(Magento\Deploy\Package\PackageFile), Object(Magento\Deploy\Package\Package))
#5 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(107): Magento\Deploy\Service\DeployPackage->deployEmulated(                        Object(Magento\Deploy\Package\Package), Array, false)
#6 [internal function]: Magento\Deploy\Service\DeployPackage->Magento\Deploy\Ser                        vice\{closure}()
#7 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/App/State                        .php(186): call_user_func_array(Object(Closure), Array)
#8 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Servi                        ce/DeployPackage.php(108): Magento\Framework\App\State->emulateAreaCode('fronten                        d', Object(Closure))
#9 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proce                        ss/Queue.php(300): Magento\Deploy\Service\DeployPackage->deploy(Object(Magento\D                        eploy\Package\Package), Array)
#10 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proc                        ess/Queue.php(219): Magento\Deploy\Process\Queue->execute(Object(Magento\Deploy\                        Package\Package))
#11 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Proc                        ess/Queue.php(162): Magento\Deploy\Process\Queue->assertAndExecute('frontend/Sma                        rtw...', Array, Array)
#12 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Stra                        tegy/QuickDeploy.php(76): Magento\Deploy\Process\Queue->process()
#13 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/module-deploy/Serv                        ice/DeployStaticContent.php(109): Magento\Deploy\Strategy\QuickDeploy->deploy(Ar                        ray)
#14 /home2/decornmo/public_html/babybeddingdesign/setup/src/Magento/Setup/Console/C                        ommand/DeployStaticContentCommand.php(140): Magento\Deploy\Service\DeployStaticC                        ontent->deploy(Array)
#15 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Command/Co                        mmand.php(241): Magento\Setup\Console\Command\DeployStaticContentCommand->execut                        e(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Co                        nsole\Output\ConsoleOutput))
#16 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(843): Symfony\Component\Console\Command\Command->run(Object(Symfony\Compon                        ent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut                        put))
#17 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(193): Symfony\Component\Console\Application->doRunCommand(Object(Magento\S                        etup\Console\Command\DeployStaticContentCommand), Object(Symfony\Component\Conso                        le\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /home2/decornmo/public_html/babybeddingdesign/vendor/magento/framework/Console/                        Cli.php(104): Symfony\Component\Console\Application->doRun(Object(Symfony\Compon                        ent\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut                        put))
#19 /home2/decornmo/public_html/babybeddingdesign/vendor/symfony/console/Applicatio                        n.php(117): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Consol                        e\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /home2/decornmo/public_html/babybeddingdesign/bin/magento(23): Symfony\Componen                        t\Console\Application->run()
#21 {main}
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/fixed-width.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/fixed-width.less in fixed-width.less on line 3, column 2
1| // Fixed Width Icons
2| // -------------------------
3| .@{fa-css-prefix}-fw {
4|   width: (18em / 14);
5|   text-align: center;
6| }
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/animated.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/animated.less in animated.less on line 4, column 2
2| // --------------------------
3|
4| .@{fa-css-prefix}-spin {
5|   -webkit-animation: fa-spin 2s infinite linear;
6|           animation: fa-spin 2s infinite linear;
7| }
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/screen-reader.less
No matching definition was found for `` in screen-reader.less on line 4, column                         12
2| // -------------------------
3|
4| .sr-only { .sr-only(); }
5| .sr-only-focusable { .sr-only-focusable(); }
6|
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/bordered-pulled.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/bordered-pulled.less in bordered-pulled.less on line 4, column 2
2| // -------------------------
3|
4| .@{fa-css-prefix}-border {
5|   padding: .2em .25em .15em;
6|   border: solid .08em @fa-border-color;
7|   border-radius: .1em;
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/path.less
variable @fa-font-path is undefined in file /home2/decornmo/public_html/inspireo                        utfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awes                        ome/less/path.less in path.less on line 6, column 12
4| @font-face {
5|   font-family: 'FontAwesome';
6|   src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
7|   src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}')                         format('embedded-opentype'),
8|     url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('                        woff2'),
9|     url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('w                        off'),
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/larger.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/larger.less in larger.less on line 5, column 2
3|
4| /* makes the font 33% larger relative to the icon container */
5| .@{fa-css-prefix}-lg {
6|   font-size: (4em / 3);
7|   line-height: (3em / 4);
8|   vertical-align: -15%;
Compilation from source: /home2/decornmo/public_html/babybeddingdesign/app/design/f                        rontend/Smartwave/porto/web/font-awesome/less/core.less
variable @fa-css-prefix is undefined in file /home2/decornmo/public_html/inspire                        outfits/var/view_preprocessed/pub/static/frontend/Smartwave/porto/en_US/font-awe                        some/less/core.less in core.less on line 4, column 2
2| // -------------------------
3|
4| .@{fa-css-prefix} {
5|   display: inline-block;
frontend/Magento/blank/en_US            2238/2238           ====================                        ======== 100% %  16 secs
adminhtml/Magento/backend/en_US         2206/2206           ====================                        ======== 100% %  17 secs
frontend/Magento/luma/en_US             2254/2254           ====================                        ======== 100% %  20 secs
frontend/Smartwave/porto/en_US          2372/2477           ====================                        ======>- 95% %   17 secs


  [Magento\Framework\Exception\FileSystemException]
  Cannot read contents from file "/home2/decornmo/public_html/babybeddingdesign/
  pub/static/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css" War
  ning!file_get_contents(/home2/decornmo/public_html/babybeddingdesign/pub/stati
  c/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css): failed to o
  pen stream: No such file or directory


[Magento\Framework\Exception\FileSystemException]
  Cannot read contents from file "/home2/decornmo/public_html/babybeddingdesign/
  pub/static/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css" War
  ning!file_get_contents(/home2/decornmo/public_html/babybeddingdesign/pub/stati
  c/frontend/Smartwave/porto/en_US/font-awesome/less/mixins.css): failed to o
  pen stream: No such file or directory
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Porto theme fails to install

i remove 

app/design/frontend/Smartwave/porto/web/font-awesome/less and run the deploy command

View solution in original post

5 REPLIES 5

Re: Porto theme fails to install

Hello @decornmore,

 

Please kindly open new ticket at https://smartwave.freshdesk.com/ to get the check for this issue.

 

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Porto theme fails to install

i did they have no help me.

Re: Porto theme fails to install

this is Porto it very buggy. 

Re: Porto theme fails to install

Hello @decornmore,

 

Can you please perform below command. There is permission issue of files and directory, Please run below command in magento root directory 

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 777 ./app/etc
chmod 644 ./app/etc/*.xml

For static content deploy, run below commands

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/
php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
chmod -Rf 777 pub/ var/
php bin/magento cache:clean

Let us know if you are still getting the issue.

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Porto theme fails to install

i remove 

app/design/frontend/Smartwave/porto/web/font-awesome/less and run the deploy command