Skip to content

Cannot add/edit categories and products, everything else is fine #6000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adarshkhatri opened this issue Aug 5, 2016 · 4 comments
Closed

Comments

@adarshkhatri
Copy link
Contributor

Not sure if this is a bug.

I have installed magento 2.1.0 in shared hosting through cPanel. All is ok, I can access admin and configure my store.

I have set single store mode then when I try to add categories/products there is no form populated, in fact the form area is completely empty. See image: http://i.stack.imgur.com/69wo2.png

Preconditions

  1. Magento 2.1.0
  2. PHP 7.0.9

Steps to reproduce

  1. Install fresh Magento 2.1.0 version from cPanel in shared hosting (siteground)
  2. Go to Product > Categories

Expected result

  1. Categories should populate
  2. And should allow to add/edit them

Actual result

  1. No form populated, http://i.stack.imgur.com/69wo2.png
  2. But url do changes to edit/add mode

I have also followed this issue report: #2402

But this also didn't help.

@southerncomputer
Copy link
Contributor

Enable developer mode and show the console/debugger window.

Probably need to do php bin/magento deploy:mode:set production
Php bin/magento setup:static-content:deploy
Php bin/magento cache:clean

(Service php-fpm restart if using php-fpm is opcache enabled )

@adarshkhatri
Copy link
Contributor Author

adarshkhatri commented Aug 6, 2016

On running php bin/magento deploy:ode:set product it gives me this error:

Cannot load Zend OPcache - it was already loaded
Enabled maintenance mode
Starting compilation
Something went wrong while compiling generated code. See the error log for details.
Command returned non-zero exit code:
/usr/local/php70/bin/php-cli -f /bin/magento setup:di:compile

And when I check the system.log it shows this error:

[2016-08-06 02:25:22] main.ERROR: /usr/local/php70/bin/php-cli -f /bin/magento setup:di:compile 2>&1
Cannot load Zend OPcache - it was already loaded
Compilation was started.
%message% 0/7 [>---------------------------] 0% 1 sec 20.0 MiB%message% 0/7 [>---------------------------] 0% 1 sec 20.0 MiBProxies code generation... 0/7 [>---------------------------] 0% 1 sec 20.0 MiB
Proxies code generation... 1/7 [====>-----------------------] 14% 1 sec 22.0 MiB
Repositories code generation... 1/7 [====>-----------------------] 14% 1 sec 22.0 MiB
Fatal error: Internal Zend error - Missing class information for �P�.j� in /vendor/magento/module-catalog/Ui/Component/Listing/Attribute/AbstractRepository.php on line 8 [] []

Is it related to memory limit? My php info is this: http://www.merophoto.com.au/bcm/i.php

And this screenshot is on developer mode: https://www.dropbox.com/s/jq490kl10aobg10/Screenshot%202016-08-06%2013.08.08.png?dl=0

UPDATE

Now, I have changed my php to 5.6.24 version and I can do upgrade, compile, index, cache clean etc without any error.

However, category is still same, form doesn't populates.

@miakusha
Copy link
Contributor

Hi, problem still reproducible???
Unfortunately, I could not reproduce the issue as you described it.
Try clear browser cache or use another browser if it doesn't help please provide error log

@andimov
Copy link
Contributor

andimov commented Oct 10, 2016

We are closing this issue because it hasn’t been updated in more than two weeks. If you can still reproduce this issue, please create a new GitHub issue report.

@andimov andimov closed this as completed Oct 10, 2016
magento-engcom-team pushed a commit that referenced this issue Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants