0

enter image description hereI am using puTTY and its showing the error. inside var/www/demo/app folder is situated

8
  • Does it work without the PHP at the start? "bin/magento setup:upgrade". What php version is returned with "php -v" ?
    – Chris
    May 27 at 14:40
  • I just had another thought, when you install a theme, copy the files to the relevant directory, then goto the admin panel and view the theme from there before running the setup command. When you visit the admin page, it adds the theme to the database.
    – Chris
    May 27 at 14:41
  • Please check app folder it have not proper required file exist. May 27 at 15:00
  • Check app/bootstrap.php exis or not? May 27 at 15:01
  • the admin panel is throwing exceptions.
    – kks
    May 28 at 4:09
0

I found you are not uploaded your theme propely in magento.

please upload it in proper path folder.

app/code
app/design
pub/media
0
0

Can you please try executing below mentioned command.

sudo php bin/magento setup:upgrade && 
sudo php bin/magento setup:di:compile && 
sudo php bin/magento setup:static-content:deploy -f && 
sudo php bin/magento indexer:reindex && sudo chown 777 -R var/* pub/* generated/* && 
sudo php bin/magento c:f && 
sudo chown -R $USER:www-data ../demo/
4
  • I tried and its throwing this exception
    – kks
    May 28 at 5:58
  • 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): The XML in file "/var/www/demo/app/code/Stathmos/MetalPrices/etc/adminhtml/routes.xml" is invalid: Element 'config', attribute '{w3.org/2001/XMLSchema-instance}noNamespaceSchemaLocation': The attribute '{w3.org/2001/XMLSchema-instance}noNamespaceSchemaLocation' is not allowed. Line: 2 Verify the XML and try again.
    – kks
    May 28 at 5:58
  • mageplaza.com/kb/… i followed for the installation
    – kks
    May 28 at 6:03
  • @kks looks like your theme either having an issue or its folders are not placed properly. can your paste here you theme path which you downloaded from the net? May 28 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.