techtech Posted December 3, 2018 Share Posted December 3, 2018 (edited) SOLVED: Ok, I solved my issue. I had a file with no data in it. Thus I took a backup file and copied the code into the server file. Below is the file I needed to populate to make the spinning save buttons work. "admin_folder"/themes/default/js/jquery.fileupload-validate.js ----------------------------------------------------------------------------------------------------------- Host: GodaddyPrestaShop Version: 1.6.1.23System: LinuxPHP Version: 7.0 After upgrading to 1.6.1.23 I have the "save buttons spinning" on the products pages. (Last year I solved the issue of the "prestashop save buttons spinning" however can not find my notes on it.) I have tried the below: Upgraded PHP Version from 5.6PHP to 7.0PHP. Visited [http://prestamania.com/prestashop-back-office-bug-not-saving-everytime/] but no string of [submitHandler: function(form) { form.submit(); },] is found to edit in the [admin//themes/default/template/controllers/products/helpers/form/form.tpl] file. Force Compiled in the BO - Performance Page When using Chrome and the Inspect Setting I see 4 Errors: #1 ------------------------------------------------------------------------------------------------------------------------------------------------------- jquery.fileupload-process.js:32 Uncaught TypeError: Cannot read property 'fileupload' of undefined at jquery.fileupload-process.js:32 at jquery.fileupload-process.js:25 at jquery.fileupload-process.js:29 (anonymous) @ jquery.fileupload-process.js:32 (anonymous) @ jquery.fileupload-process.js:25 (anonymous) @ jquery.fileupload-process.js:29 #2 ------------------------------------------------------------------------------------------------------------------------------------------------------- jquery.fileupload-validate.js:33 Uncaught TypeError: Cannot read property 'fileupload' of undefined at jquery.fileupload-validate.js:33 at jquery.fileupload-validate.js:25 at jquery.fileupload-validate.js:29 #3 ------------------------------------------------------------------------------------------------------------------------------------------------------- [DOM] Found 4 elements with non-unique id #product_form_submit_btn: (More info: https://goo.gl/9p2vKq) <button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save and stay</button> <button id="product_form_submit_btn" type="submit" name="submitAddproduct" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save</button> <button id="product_form_submit_btn" type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right" disabled="disabled"><i class="process-icon-loading"></i> Save and stay</button> #4 ------------------------------------------------------------------------------------------------------------------------------------------------------- Uncaught TypeError: $(...).fileupload is not a function at HTMLDocument.eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:25:14) at j (jquery-1.11.0.min.js:2) at Object.add [as done] (jquery-1.11.0.min.js:2) at e.fn.init.n.fn.ready (jquery-1.11.0.min.js:2) at eval (eval at <anonymous> (jquery-1.11.0.min.js:2), <anonymous>:19:16) at eval (<anonymous>) at jquery-1.11.0.min.js:2 at Function.globalEval (jquery-1.11.0.min.js:2) at e.fn.init.domManip (jquery-1.11.0.min.js:3) at e.fn.init.append (jquery-1.11.0.min.js:3) Any ideas to try? Edited December 6, 2018 by techtech (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted December 3, 2018 Share Posted December 3, 2018 Hello: It seems a file/folder permission issue: https://www.rolige.com/en/blog/how-to-assign-the-correct-permissions-to-my-prestashop-files-and-folders-n7 Regards 1 Link to comment Share on other sites More sharing options...
techtech Posted December 3, 2018 Author Share Posted December 3, 2018 @Rolige Are you advertising on the question? "Check your permissions" is such a large blanket idea to me with 8,000 files/folders. Link to comment Share on other sites More sharing options...
Rolige Posted December 4, 2018 Share Posted December 4, 2018 21 hours ago, techtech said: @Rolige Are you advertising on the question? "Check your permissions" is such a large blanket idea to me with 8,000 files/folders. If you read the article I suggest you will have a not so blanket idea. Good luck. Link to comment Share on other sites More sharing options...
techtech Posted December 5, 2018 Author Share Posted December 5, 2018 @Rolige I think people are coming to the forum for solutions. Sending people your private company might be ok if you keep it going forever, just a thought. The problem is still under investigation, anyone with advice to leave here for future users would be great! Link to comment Share on other sites More sharing options...
razaro Posted December 5, 2018 Share Posted December 5, 2018 @techtech It is not against rules of forum to have outside link that actually helps user question. It is bit big post but it gives complete guide. And after all images you would find tip that might help you. So check permissions for both files and folder in "/admin_folder/" and "/admin_folder/filemanager/" Maybe it help you or you have some other issue, but you should be sure that @Rolige intention was to help you and not to advertise his blog post. Link to comment Share on other sites More sharing options...
techtech Posted December 6, 2018 Author Share Posted December 6, 2018 (edited) @razaro I imagine @Rolige wants to be helpful. This solution dies when his link dies. But that's just an opinion. I just think Prestashop would like client help on the prestashop forums. @razaro - Just noting the current folder permissions: Folder permissions for /admin_folder/ = 755 Folder permissions for /admin_folder/filemanager/ = 755 Edited December 6, 2018 by techtech (see edit history) Link to comment Share on other sites More sharing options...
techtech Posted December 6, 2018 Author Share Posted December 6, 2018 Ok, I solved my issue. I had a file with no data in it. Thus I took a backup file and copied the code into the server file. Below is the file I needed to populate to make the spinning save buttons work. "admin_folder"/themes/default/js/jquery.fileupload-validate.js 1 Link to comment Share on other sites More sharing options...
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