wakabayashi Posted June 3, 2017 Posted June 3, 2017 When trying to edit a product I get never ending spinning buttons. When I check console I see two errors: What is the problem? In general this product saving bugs (especially with multistore) drive us crazy. I think this should get a high priority!!
0 Havouza Posted June 3, 2017 Posted June 3, 2017 It for sure came with PS. I have noticed it also here but not so long. I agree, its urgent
0 wakabayashi Posted June 3, 2017 Author Posted June 3, 2017 Was it a migration from ps or a new installation?
0 roband7 Posted June 3, 2017 Posted June 3, 2017 Try editing the file admin/themes/default/template/controllers/products/helpers/uploader/ajax.tpl (if you have renamed admin, of course use the renamed path instead of admin) find the line: maxFileSize: {$postmaxsize}, replace it with: {if isset($postmaxsize)}maxFileSize: {$postmaxsize},{/if} Does this help?
0 wakabayashi Posted June 3, 2017 Author Posted June 3, 2017 thx @roband7: Your code makes a lot of sense now! My problem was caused to any server problem with php.ini file. Somehow it couldn't find the post_max-size value. Fater generating a new php.ini file trough cPanel it works again...
0 yaniv14 Posted June 3, 2017 Posted June 3, 2017 @roband7 Is it something we should consider adding to TB code? if so, can you do a PR?
0 roband7 Posted June 3, 2017 Posted June 3, 2017 It's a really weird corner-case, but I'll see if I can whip a PR together anyway.
0 Baarssen Posted January 28, 2018 Posted January 28, 2018 Because i dont change that much in my products i dont face this problem very much, but after setting up new features for some products i also faced this neverending spinning buttons(save and stay/save). I modified admin/themes/default/template/controllers/products/helpers/uploader/ajax.tpl as described above, and the spinning buttons indeed dissapeared, however 1 error still stays: plugin.min.js:1 Uncaught ReferenceError: filenotfound is not defined at plugin.min.js:1 Do i have to modifie some more? Serverdata: Servergegevens Linux #1 SMP Tue Dec 5 17:19:40 EST 2017 x86_64 Server softwareversie Apache/2 PHP versie 7.0.27 Geheugenlimiet 2048M Maximale uitvoeringstijd 600
Question
wakabayashi
When trying to edit a product I get never ending spinning buttons. When I check console I see two errors:
What is the problem?
In general this product saving bugs (especially with multistore) drive us crazy. I think this should get a high priority!!
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now