guillemg Posted July 24, 2014 Share Posted July 24, 2014 Hi, I have little problem with back office. Suddenly I canot edit product details, Until this problem I been able to resolve all issues searching trough google and trough to the forum, but no idea about how to resolve this problem. You can see in the picture, back office product details are not working: I noticed similar problems in other back office links, and then I disabled APC cache, because was caching back office. I disabled APC cache until I manage to configure APC cache without caching back office. With APC cache disabled, all problems resolved, but this persist, I don't know if is related to APC cache or not. Should I try to reinstall back office module? I don't know which module is. Thank you for your help Link to comment Share on other sites More sharing options...
El Patron Posted July 25, 2014 Share Posted July 25, 2014 please turn on PrestaShop error reporting http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ then recreate the situation and see if you get error message, and if so use google to search 'prestashop (variations) of error message' to see if issue/solution exists already. Link to comment Share on other sites More sharing options...
guillemg Posted July 25, 2014 Author Share Posted July 25, 2014 Thank you for your reply, I modified the line following your post: define('_PS_MODE_DEV_', true); But nothing new appears. I got same picture I posted in the first post. Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2014 Share Posted July 25, 2014 now it's time to check browser console turn it on and check what you see, are there some red errors ? to turn on console press ctrl+shift+j in chrome browser then open product edit page, you will see there ajax requests with possible errors Link to comment Share on other sites More sharing options...
guillemg Posted July 26, 2014 Author Share Posted July 26, 2014 I check it and no errors. But I found many lines naming pagespeed http://www.duotecnia.eu/administration/themes/default/js/vendor/nv.d3.min.js". js_defer.aDjY5BvXW0.js:10 Resource interpreted as Image but transferred with MIME type application/javascript: "http://www.duotecnia.eu/administration/themes/default/js/jquery.iframe-transport.js". js_defer.aDjY5BvXW0.js:10 Resource interpreted as Image but transferred with MIME type application/javascript: "http://www.duotecnia.eu/administration/themes/default/js/jquery.fileupload.js". js_defer.aDjY5BvXW0.js:10 Resource interpreted as Image but transferred with MIME type application/javascript: "http://www.duotecnia.eu/administration/themes/default/js/jquery.fileupload-process.js". js_defer.aDjY5BvXW0.js:10 Resource interpreted as Image but transferred with MIME type application/javascript: "http://www.duotecnia.eu/administration/themes/default/js/jquery.fileupload-validate.js". Then I remembered this problem started after installing pagespeed. Then I tried disabling pagespeed and with pagespeed disabled works perfect. Should I restrtict pagespeed in /administration directory? Thank you. Link to comment Share on other sites More sharing options...
STS Posted August 15, 2014 Share Posted August 15, 2014 Any further developments with this or suggested mod_pagespeed configurations. I experience much the same issues with mod_pagespeed. Typically I turn it off when working on the catalog and back on when I complete. Any advice you may have will be appreciated. I do like using mod_pagespeed as the performance had a definite boost. Link to comment Share on other sites More sharing options...
fatyas Posted December 16, 2014 Share Posted December 16, 2014 I have exactly the same problem with mod_pagespeed enabled! Did anyone found a solution to restrict mod_pagespeed to be only used for the front-office? It creates issues with the back office, but improves the performance of front office quite a bit. Thanks Link to comment Share on other sites More sharing options...
sennevb Posted December 20, 2015 Share Posted December 20, 2015 I tried disabling pagespeed in backoffice in these ways, but still no use: location /admin { pagespeed Off; } pagespeed Disallow "*/jquery-1.11.0.min.js"; pagespeed Disallow "*/js/jquery/jquery-1.11.0.min.js"; any clues anyone??? Link to comment Share on other sites More sharing options...
DonRado Posted September 23, 2016 Share Posted September 23, 2016 Hi. I'm using Apache, not Nginx. So, i created a htacces file and put it in the /admin folder. And put this into it : <IfModule pagespeed_module> ModPagespeed off ModPagespeedRewriteLevel PassThrough</IfModule> The first line disables Pagespeed, and to make sure that no css, javascript and all that goodness gets cached or minified, i pasted in the second line. Here is where i found the info :https://www.digitalocean.com/community/tutorials/how-to-get-started-with-mod_pagespeed-with-apache-on-an-ubuntu-and-debian-cloud-server If you use the inspector of your browser, you'll see that Pagespeed doesn't get loaded anymore : in Chrome, if you go to tab Network and click one of the linesand look at the Headers, "X-Mod-Pagespee" is not there anymore. Hope this helps.. Link to comment Share on other sites More sharing options...
Recommended Posts