I am trying magento 2 for first time and it's driving me crazy.

I have successfully installed magento 2 on my cloud shared hosting and everything looks ok except these:

  1. Cannot create category: there is no form populated on Add subcategory or Add root category button click. See attached image 1. See the url in image.
  2. Cannot add product, same as number 1 above.
  3. It keeps saying One or more indexers are invalid. Make sure your Magento cron job is running. I have added cron job from cpanel. See attached image 2.

Images 1. enter image description here

2. enter image description here

Not sure what I have to do for this.

Running php version 5.6.x.x


As per this error report

I have done this but it didn't help either.

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
  • Is there any Js errors log? – Khoa TruongDinh Aug 4 '16 at 15:02
  • No, no any js error. – Adarsh Khatri Aug 4 '16 at 23:13
  • 1
    I am in the same boat with you @AdarshKhatri. I am running php 7.0.15 with OPCACHE on Magento 2.1.3. I have tried restarting the PHP-FPM process as well as run all CLI commands I could find. I made sure the correct user was in place as well as correct permissions. I receive no JS errors and no HTTP errors (all return a status of 200). If I figure out issue I will report it here though. Thanks. – Joshua Pack Jan 24 '17 at 15:55
  • Please check your error logs in your var folder for any possible error message. – Sourabh Kumar Sharma Oct 11 '18 at 14:24
  • other grids are visible? Like catalog product grid? – amitshree Feb 9 at 6:49

Please run the below command through command prompt:

php bin/magento indexer:reindex

check after that if it shows the form.

| improve this answer | |
  • Thanks for answer, but it didn't help. PS, I had done this before. – Adarsh Khatri Aug 4 '16 at 9:31

Run these commands from CLI and then check :

php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy           
| improve this answer | |
  • Thanks for answer, but it didn't help. – Adarsh Khatri Aug 4 '16 at 9:32

Try this:

php bin/magento indexer:reset
php bin/magento indexer:reindex
php bin/magento c:c && bin/magento c:f 
php bin/magento setup:upgrade
php bin/magento setup:di:compile 

and don't forget to give the right permissions to:

var/ pub/ generated/

after these commands.

| improve this answer | |

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.