Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Product editing/saving - never ending spinning buttons

Featured Replies

When trying to edit a product I get never ending spinning buttons. When I check console I see two errors: 0_1496494621036_product-editing.jpg

What is the problem?

In general this product saving bugs (especially with multistore) drive us crazy. I think this should get a high priority!!

It for sure came with PS. I have noticed it also here but not so long. I agree, its urgent

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?

  • Author

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...

It's a really weird corner-case, but I'll see if I can whip a PR together anyway.

  • 7 months later...

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.