en Jump to content
  • 0
Crezzur

[Solution] Slow Back-Office? Forever Spinning Save Icon? - Final Solution 28/12/15

Question

Hey all,

After updating my web-shop from V1.6.0.9 to V1.6.1.1.
I had to wait up to 45 second to save or edit a product.

Of course when you need to add and or edit allot on your web-shop you just cant sit and wait 45 seconds every time you hit the save button!
After allot of searching i founded the solution which turned out i only had to wait 3-4 seconds!

So i am going to share the solution(s) i found, so you guys can solve the issue on your prestashop.

Make sure to hit the follow button if your in need for a solution

 

First solution (not server related): (Works 100% if your issue is NOT server related)

  • Upgrade your webshop using Prestashop One-Click-Upgrade
  • Select Advanced options and select Channel "* Release candidate"
  • Upgrade your webshop to Prestashop V1.6.1.3 RC1
  • Your issue should be solved, other while take a look at solution 2

 

Second Solution (Server related): PHP server issue please upgrade/downgrade to 5.3.30

 

Or follow the steps mentioned by Labels here

Post from Labels:

Hi to all!

 

i had the same problem with always spinning icons on the saving. With a blank installation of the 1.6.1.3!

I have solved the problem on my system. After a long time of searching and reading this forum.

 

Please look at this problem in the php.log file. At my installation on a plesk 12 virtual server was the basedir wrong.

So the system cant take the JS files.

 

For me it works with the configuration to php 5.5 and as open_basedir={DOCROOT}{/}{:}{TMP}{/}.

 

I hope this will help some peoples!

 

Many greets

 

Andreas

 

 

Did this solution work for you?
please like this post and or post a message so others can also find it.

 

Edited by Crezzur

Share this post


Link to post
Share on other sites

62 answers to this question

Recommended Posts

  • 0

nothing has changed, i have version 1.6.1.2 

 

dit you try the follwing?

 

locate: your_webshop/config/smarty.config.inc.php

 

change $smarty = new SmartyCustom(); to $smarty = new Smarty();

Share this post


Link to post
Share on other sites
  • 0

still nothing changed. 

 

Update: Made some changes into your back office, now the spinning icons stops after a whooping 5 second ;-)

 

Enjoy!

Edited by Crezzur

Share this post


Link to post
Share on other sites
  • 0

@nemo1

 

The "AdminControler.php" is the latest version of Github (which worked for me)

 

When this doesn't work like happened with @ares11 its probably a cache issue.

For the moment i am using a bunch of files to overwrite the old ones which seems to work.

 

I am still filtering down which files are needed for this. i will need more client that have this problem in order to resolve the issue.

 

I can confirm that using Prestashop Alpha V 1.6.1.3 resolve all back-office problems (spinning save button, cache issues)

Edited by Crezzur

Share this post


Link to post
Share on other sites
  • 0

whats did you change i have update all the file and the icon still spinning 

i delete the cache in smary directory but problem persist

 

I would like to ask to send me your Back-office credentials and your FTP credentials.

In order for me to find the files for people where the problem still stays after this update (in order to help people in the future)

 

You can send it to me in pm (you don't have to, but at this moment i cannot say which file is responsible for the error)

Share this post


Link to post
Share on other sites
  • 0

 

Disabling the spinning icons is not a solution this could be potential harmful for you web-shop i strongly discourage people to do this.

Edited by Crezzur

Share this post


Link to post
Share on other sites
  • 0

 

 

 

I can confirm that using Prestashop Alpha V 1.6.1.3 resolve all back-office problems (spinning save button, cache issues)

 

 

Pho_Xo12.pngSorry to tell you that it does not solve anything overhere.

'Running' latest 1.6.1.3 RC1 and still same spinning icons here. I changed browsers, Firefox and Chrome. 

Will try with exploder now.

You are doing a great job, a job that should have been done by Prestashop herself. 

 

Keep up the good work.

 

update 12:18

 

Although the spinning icons keep on spinning, the quantities are updated now. And that was my main concern. Thanks for helping out. 

Edited by sjaakie3

Share this post


Link to post
Share on other sites
  • 0

Pho_Xo12.pngSorry to tell you that it does not solve anything overhere.

'Running' latest 1.6.1.3 RC1 and still same spinning icons here. I changed browsers, Firefox and Chrome. 

Will try with eploder now.

You are doing a great job, a job that should have been done by Prestashop herself. 

 

Keep up the good work.

 

If you want i could take a look at your shop and see whats the problem (but then in need your credentials)

I'm looking to solve all these issues and post them in this thread to get a clear overview of what people need to do.

Share this post


Link to post
Share on other sites
  • 0

Update:

 

Does your save icons spin forever? please try the following and LET ME KNOW!

  • Go to "your_webshop/js/admin/products.js"
  • Scroll down to line 177
  • you will see the following line there: current_tab = $(request.responseText).filter('.product-tab').attr('id').replace('product-', '');
  • Disable that line like this: /* current_tab = $(request.responseText).filter('.product-tab').attr('id').replace('product-', ''); */
  • Save and upload
  • Did this stop the spinning icon? PLEASE LET ME KNOW!

This solution doesnt work.

Edited by Crezzur

Share this post


Link to post
Share on other sites
  • 0

I'm having the same problem, spinning endlessly...also the preston mascot is spinning, If I use ctrl + f5, I can navigate, and change things, but it's a pain to do this over and over. My catalog has almost 60k products, so I don't mind a litle wait, but this is absurd....

Share this post


Link to post
Share on other sites
  • 0

Crezzur can you please explain how it can be harmful to my webstore?.. I have been using it this way for months but never experienced any problems :)

 

When you hit the save button before all files are loaded you might start compromising your MYSQL table.

Because if you only have for example 50% loaded it will only save 50%.

This will result in products which are only saved or edit for 50%

 

I would never advice this to anyone, there is a reason why its loading forever (see solution 2)

This is a issue with your server not being able to load all requested files.

(because your memory_limit is set to low)

Edited by Crezzur

Share this post


Link to post
Share on other sites
  • 0

I'm having the same problem, spinning endlessly...also the preston mascot is spinning, If I use ctrl + f5, I can navigate, and change things, but it's a pain to do this over and over. My catalog has almost 60k products, so I don't mind a litle wait, but this is absurd....

 

You could try to upgrade to PrestaShop Version 1.6.1.3 if your issue is not server related this will be solved for 100%

Other while it will be a server issue, you will need to change you php.ini file and increase the memory limit in this file.

Share this post


Link to post
Share on other sites
  • 0

Hi there

maybe my problem is different, but it is the same: (there is not spinning)

when I click on save or save and stay, nothing happen abd the button stays grey!

P.S: if I click on the button "cancel' it works fine! the problem is only with save and save and stay!

any help! Itried the 1st option, nothing happened, I don't have the second 

Share this post


Link to post
Share on other sites
  • 0

Hi there

maybe my problem is different, but it is the same: (there is not spinning)

when I click on save or save and stay, nothing happen abd the button stays grey!

P.S: if I click on the button "cancel' it works fine! the problem is only with save and save and stay!

any help! Itried the 1st option, nothing happened, I don't have the second 

 

could you grant me access to your back-office so i can run some diagnostics?

Share this post


Link to post
Share on other sites
  • 0

I spent a couple of days wasting time , experimenting all the bunch of " solutions" published since february, for no result at all.

 

My final solution was to remove the 1.6.1.3 version ( and even the next candidate to release version)  and to implement the 1.6.0.9 version....then no more problems...

 

By chance it is a new site I am creating, so it wasn't populated with products yet. 

 

Anyway, a shame that Prestashop Team has not been of any help in this issue. 

Share this post


Link to post
Share on other sites
  • 0

Another possible solution I found today on www.modules-shop.com : 

 

Sorry it is in french and I can't test it since I installed now Prestashop 1.6.0.9

 

Bug prestashop 1.6.1.2 – Impossible d’enregistrer une fiche produit

publié 4 novembre 2015 fichier sous prestashop®

Suite à l’un de nos tickets, un webmaster nous a signalé un bug lié à la version 1.6.1.2…

Lors de la création ou la modification d’une fiche produit, rien ne se passe !

L’origine est due au « counter » présent dans l’onglet RÉFÉRENCEMENT – SEO,

la Meta description qui est de 255 caractères « natif » maximum, vient de passer maladroitement à 160 caractères…

Dans l’attente d’une correction par la forge Prestashop permettant au moins d’afficher un message d’avertissement lors de la sauvegarde du produit, ainsi que l’homogénéisation par  la modification sur /classes/Product/Product.php

‘meta_description’ => array(‘type’ => self::TYPE_STRING, ‘lang’ => true, ‘validate’ => ‘isGenericName’, ‘size’ => 160)

 

voici le palliatif :

à l’aide de votre client FTP, éditer : _ici-votre-dossier-admin_/themes/default/template/controllers/products/seo.tpl
et à la ligne 60

remplacez

maxlength=160

par

maxlength=255

Share this post


Link to post
Share on other sites
  • 0

I "upgraded" to  1.6.0.14  which is when my spinning buttons started.

I have tried all the above suggestions, finally installing 1.6.1.3 RC1.  I also can now change quantities only, but that is progress. However, the spinning buttons will not allow any other changes. I have max execution time set to 1000 and memory to 1024. I use store manager to update products - it is the only way. Related problems may help - I don't know as I am not a programmer, but the indexing does not work - always times out. I have 1500 products and the best indexing only reaches around 1300. Adding missing files to index always results in a blank page and does not add any products. Also my configuration information page never loads in version 1.6.0.14 but is ok in 1.6.1.3 RC1. Store manager will not update product combinations, so my store cannot carry on much longer. I hope someone can find a solution soon!

Share this post


Link to post
Share on other sites
  • 0

HI,

 

 

Version 1.6.1.3

 

Increasing memory size did not help.

AdminController.php did not help.

 

Log says:

PHP Fatal error:  Uncaught  --> Smarty: Invalid compiled template for 'page_header_toolbar.tpl' <-- \n  thrown in D:\\WEB\\Kunden\\Grundofen\\prestashop\\tools\\smarty\\sysplugins\\smarty_internal_templatebase.php on line 182, referer: http://localhost/d_web/Kunden/Grundofen/prestashop/adminxxxxxx/index.php?controller=AdminProducts&id_product=5&updateproduct&token=a9985ec0ad73cc7ad0acb1feb0ac1bec

Share this post


Link to post
Share on other sites
  • 0

I have presta 1.6.1.1 and when I enter the Catalog>products screen the save buttons spin forever, so I can't change anything in the products.

I tried solutions:

1) updating the AdminController.php with the file in the 1st post and nothing happened.

2) updating to 1.6.1.3 with 1-click update, nothing again.

3) Checked my server logs for memory errors, nothing found.

4) Cleared smarty cache, nothing.

 

At the moment I can't change anything in my products, because as soon as I enter one of the product tabs the Saves buttons are constantly spinning.  

Share this post


Link to post
Share on other sites
  • 0

Hi,

 

I am working on localhost with php 5.6.8.

 

I transferred to a server working with php 5.4.48. This solved the problem.

 

But I what I don't understand: In the requirements is written minimum php 5.2+  But a maximum php Version is not written.

 

Problem solved.

.

Share this post


Link to post
Share on other sites
  • 0

PLEASE NOTE:

 

If one of the solution did not work, the best way to solve this is to contact your hosting provider.
The issue is related to your PHP version, i have read post of people upgraded PHP to 5.5.30 which solved the issue.

This will NEVER be solved by prestashop for one reason, the added a system which checks if all files are loaded,

if this is not the case your not allowed to save your product(s) to prevent damage to your web-shop.

They wont remove this option for a handful of people. it for your own good!

 

If upgrading to the latest prestashop version doesn't help your problem is SERVER RELATED which means your have to CONTACT THE PEOPLE WHO KEEPS YOUR WEBSITE/WEB-SHOP ONLINE
 

Share this post


Link to post
Share on other sites
  • 0

PLEASE NOTE:

 

If one of the solution did not work, the best way to solve this is to contact your hosting provider.

The issue is related to your PHP version, i have read post of people upgraded PHP to 5.5.30 which solved the issue.

 

This will NEVER be solved by prestashop for one reason, the added a system which checks if all files are loaded,

if this is not the case your not allowed to save your product(s) to prevent damage to your web-shop.

 

They wont remove this option for a handful of people. it for your own good!

 

If upgrading to the latest prestashop version doesn't help your problem is SERVER RELATED which means your have to CONTACT THE PEOPLE WHO KEEPS YOUR WEBSITE/WEB-SHOP ONLINE

 

 

I am using presta 1.6.1.3 and I confirm that my hoster changed the PHP to 5.5.30 and now the problem is solved. I think that new presta installations should require a min 5.5.30 PHP to avoid this terrible problem.

Share this post


Link to post
Share on other sites
  • 0

Hi to all!

 

i had the same problem with allways spinning icons on the saving. With a blank installation of the 1.6.1.3!

I have solved the problem on my system. After a long time of searching and reading this forum.

 

Please look at this problem in the php.log file. At my installation on a plesk 12 virtual server was the basedir wrong.

So the system cant take the JS files.

 

For me it works with the configuration to php 5.5 and as open_basedir={DOCROOT}{/}{:}{TMP}{/}.

 

I hope this will help some peoples!

 

Many greets

 

Andreas

Share this post


Link to post
Share on other sites
  • 0

Hi to all!

 

i had the same problem with allways spinning icons on the saving. With a blank installation of the 1.6.1.3!

I have solved the problem on my system. After a long time of searching and reading this forum.

 

Please look at this problem in the php.log file. At my installation on a plesk 12 virtual server was the basedir wrong.

So the system cant take the JS files.

 

For me it works with the configuration to php 5.5 and as open_basedir={DOCROOT}{/}{:}{TMP}{/}.

 

I hope this will help some peoples!

 

Many greets

 

Andreas

 

I have added your post to the solutions, thanks for your input!

Share this post


Link to post
Share on other sites
  • 0

Hi Team,

 

AM also using the prestashop 1.6.1.3 and facing the same issues my xampp server running php version 5.6 and still spinning the the save icon button. Kindly let me know what is the solutions for this ASAP.

 

Thanks

Share this post


Link to post
Share on other sites
  • 0

Same bug. Tried all, nothing works. 

 

How many months needed by Prestashop team (maybe) or (rather) by the users community in here, before someone is able to find a solid solution to this strong bug?

Thanks for the ones helping, but it's CMS editor"s role to fix that, isn't it ?

Share this post


Link to post
Share on other sites
  • 0

It is. The community can try to help, but there is a limit, since we all have other jobs and it's not our duty to fix prestashop bugs :) Hopefully they will release a fixed version at some point

Share this post


Link to post
Share on other sites
  • 0

I, too, have been bit by this bug.  I just installed version 1.6.1.3 to test out PrestaShop and I've been able to add only a single product to the cart.  I can't add any more products.  I can't even change that product without getting the spinning save buttons.  I've tried every version of PHP on the server, 5.3.x, 5.4.x, 5.5.x, to no avail.

 

It's frustrating to see that no one from PrestaShop has fixed this ongoing problem, let alone responded to it.  Do they even acknowledge that it's a genuine problem?

 

UPDATE: Just updated the cart to 1.6.1.4 but it didn't fix the problem.

Edited by niblett

Share this post


Link to post
Share on other sites
  • 0

Same issue for me.

It suddenly appeared in my 1.6.1.0 site a few days ago and I have no idea what triggered it.

I have done a test upgrade to 1.6.1.4 and it hasn't fixed it.

 

The interesting thing is that I don't see the problem when using Internet Explorer.

It only occurs for me in Chrome and Firefox.

Share this post


Link to post
Share on other sites
  • 0

Hi, I'm building new shop and had similar problem with v1.6.1.3 after I imported products from our online shop(v1.5) to localhost. When i wanted to edit a product the save button and save and stay button were spinning all the time and getting (500 Internal Server Error). I went to the Advanced settings/performance and than tested all the option ON and OFF , than I found that when I choose "force compilation" on Template compilation the problem appears and if I change it to " Never recompile template files" no problem at all. I tested this least 15 or 20 times just for to be sure and it works for me. so i thought maybe it can be worth to try for you guys also.

Share this post


Link to post
Share on other sites
  • 0

Hi, I'm building new shop and had similar problem with v1.6.1.3 after I imported products from our online shop(v1.5) to localhost. When i wanted to edit a product the save button and save and stay button were spinning all the time and getting (500 Internal Server Error). I went to the Advanced settings/performance and than tested all the option ON and OFF , than I found that when I choose "force compilation" on Template compilation the problem appears and if I change it to " Never recompile template files" no problem at all. I tested this least 15 or 20 times just for to be sure and it works for me. so i thought maybe it can be worth to try for you guys also.

Hi, thanks for your suggestion.

I tried it but unfortunately it didn't work for me.

Share this post


Link to post
Share on other sites
  • 0

Same issue for me.

It suddenly appeared in my 1.6.1.0 site a few days ago and I have no idea what triggered it.

I have done a test upgrade to 1.6.1.4 and it hasn't fixed it.

 

The interesting thing is that I don't see the problem when using Internet Explorer.

It only occurs for me in Chrome and Firefox.

Thanks Deepee! I went to IE and it works perfectly. I will have to use IE browser until there is a fix... smh!

Share this post


Link to post
Share on other sites
  • 0

I found out what was causing this issue on my site..... Rocket Loader.

 

I use CloudFlare and had enabled Rocket Loader in the "Speed" tab of my CloudFlare control panel.

I had enable it because it is supposed to Improve load time for pages that include JavaScript.

I have pasted the expanded explanation below, and the last line tells the story of what happened to my site.

 

I know Rocket Loader is also available as an add on in cPanel.

Perhaps this is causing the same issue for other Prestashop users subscribing to this thread?

 

 

---------------------------------------------------------------------------------

What does Rocket Loader do?

Rocket Loader can improve load times for pages that include JavaScript. Your search engine ranking may be improved by reducing page load time.

Rocket Loader improves page load times by:

    Decreasing the number of network requests by bundling JavaScript files, even third party resources, to avoid slowing down page rendering
    Asynchronously loading scripts, including third party scripts, so that they do not block the content of your page from loading immediately
    Caching scripts locally (using LocalStorage, available on most browsers and smart phones) so they aren't refetched unless necessary

What Rocket Loader setting should I use?

    Automatic: Optimize all JavaScript resources on your website. No configuration required
    Manual: Selectively enable Rocket Loader for individual scripts. Add the following attribute to the script tag for each script where you want to enable Rocket Loader:
        data-cfasync="true"

Note: The 'data-cfasync' attribute must be added to the HTML script tag before the 'src' attribute (adding the attribute via JavaScript is not sufficient).

Rocket Loader is considered Beta because it’s an experimental feature that modifies the loading and execution flow of Javascript. While efforts are taken to increase Rocket Loader’s compatibility with third-party Javascripts, not all scripts work with this feature. Issues with Rocket Loader affect only a small percentage of customers.

Share this post


Link to post
Share on other sites
  • 0

I found out what was causing this issue on my site..... Rocket Loader.

 

I use CloudFlare and had enabled Rocket Loader in the "Speed" tab of my CloudFlare control panel.

I had enable it because it is supposed to Improve load time for pages that include JavaScript.

I have pasted the expanded explanation below, and the last line tells the story of what happened to my site.

 

I know Rocket Loader is also available as an add on in cPanel.

Perhaps this is causing the same issue for other Prestashop users subscribing to this thread?

 

 

---------------------------------------------------------------------------------

What does Rocket Loader do?

 

Rocket Loader can improve load times for pages that include JavaScript. Your search engine ranking may be improved by reducing page load time.

 

Rocket Loader improves page load times by:

 

    Decreasing the number of network requests by bundling JavaScript files, even third party resources, to avoid slowing down page rendering

    Asynchronously loading scripts, including third party scripts, so that they do not block the content of your page from loading immediately

    Caching scripts locally (using LocalStorage, available on most browsers and smart phones) so they aren't refetched unless necessary

 

What Rocket Loader setting should I use?

 

    Automatic: Optimize all JavaScript resources on your website. No configuration required

    Manual: Selectively enable Rocket Loader for individual scripts. Add the following attribute to the script tag for each script where you want to enable Rocket Loader:

        data-cfasync="true"

 

Note: The 'data-cfasync' attribute must be added to the HTML script tag before the 'src' attribute (adding the attribute via JavaScript is not sufficient).

 

Rocket Loader is considered Beta because it’s an experimental feature that modifies the loading and execution flow of Javascript. While efforts are taken to increase Rocket Loader’s compatibility with third-party Javascripts, not all scripts work with this feature. Issues with Rocket Loader affect only a small percentage of customers.

I had the same issue, but fix it from the page rules. Added the admin in the page rule, and disabled rocket loader, so that is a quick fix for that. I have another idea about the spinning error, on my website I have about 4k features and it's about that, I'm looking for a way to disable features from loading when editing a product.

Share this post


Link to post
Share on other sites
  • 0

Hello I've got the same problem, after I did a "one click upgrade" to version 1.6.1.4 this problem started.

 

Any good solution for this.

 

I did install 1.6.1.4  in a blank test url and there the buttons don't spin, so it seems something with upgrading / overwriting is going wrong.

 

 

Share this post


Link to post
Share on other sites
  • 0

Hello I've got the same problem, after I did a "one click upgrade" to version 1.6.1.4 this problem started.

 

Any good solution for this.

 

I did install 1.6.1.4  in a blank test url and there the buttons don't spin, so it seems something with upgrading / overwriting is going wrong.

 

Have you reported that finding on forge? Might be a step in the right direction.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More