Skip to content
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

Impossible to change shpping settings configuration when module is installed #11

Closed
GardeTV opened this issue Mar 13, 2017 · 2 comments
Closed
Assignees

Comments

@GardeTV
Copy link

GardeTV commented Mar 13, 2017

Description

I installed MSP_Dev_tools on my magento 2.1.4 as described in your guide:

https://github.com/magespecialist/mage-chrome-toolbar#installing-on-magento-2

When I enabled profiler feature through .htaccess all works fine, but when i try to change my shipping settings in:

Stores -> Configuration -> Sales -> Shipping Settings

Magento redirect me to the bashboard.
I did a little debug and i found a broken ajax call before redirection. It would be possibile that this issue is in someway related to bugfix #9?

All works if I comment

SetEnv MAGE_PROFILER MSP\DevTools\Profiler\Driver\Standard\Output\DevTools

on my .htaccess.

@GardeTV GardeTV changed the title Impossible to change shpping setting configuration then module is installed Impossible to change shpping settings configuration when module is installed Mar 13, 2017
@phoenix128 phoenix128 self-assigned this Mar 14, 2017
@phoenix128
Copy link
Contributor

Issue confirmed while using profiler. We are fixing it.

@phoenix128
Copy link
Contributor

Found as Magento bug.
I just reported here: magento/magento2#8890 .

Meanwhile we found a workaround using index.php modification instead of SetEnv.

Edit your index.php and pub/index.php and put this at the very beginning of PHP code:

$_SERVER['MAGE_PROFILER'] = [
    'drivers' => [['output' => 'MSP\DevTools\Profiler\Driver\Standard\Output\DevTools']]
];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants