en Jump to content
  • 0
piribipipi

SOLVED - Problem saving products

Question

Hi, i have a problem from this morning in my store( ps 1.6.1.2)

 

When i try to save a product (clicking save or save and stay), sometimes page is saved, but another times page is reloaded and data is not saved, its like the form is sent but not processed...

 

This problem never appeared before!! :S

 

But my surprise was when in another server i installed a fresh Prestashop  (ps 1.6.1.7) and i have the same problem!!!!:S:S:S

 

what is happening???

 

pleaseeee helppp!!!! thank u so much

Edited by piribipipi

Share this post


Link to post
Share on other sites

48 answers to this question

Recommended Posts

  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

 

Thanks !! it's work for me :-)  (ver : 1.6.1.8)

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

 

applied to my 1.6.1.7 shop, solved.  Thanks mdekker...

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

 

 

Thank you very much . 

 

This worked with version 1.6.1.8 !! 

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

This is now tested in 1.6.1.7 and it works!

 

Thanks mdekker

Share this post


Link to post
Share on other sites
  • 0

Thanks mdekker! Worked 1.6.1.6.

 

Could you explain a little more about what the problem was please. The existing code had presumably been put there for a reason. Is removing it likely to break something else? etc.

 

Why do you recommend patching the other files. What will that fix? What else is broken that we don't know about?

Share this post


Link to post
Share on other sites
  • 0
thanks mdekker, I join Paul7,

 

although the entire system now seems to work best,

 

I also wonder why this php function should be eliminated, I searched for weeks on the forums and it seems absurd that this problem was blocking one of the highlights of prestashop like inserting and updating products.

 

Thanks anyway I hope now to start making money with my UIL ecommerce. thank you guys ;)

Share this post


Link to post
Share on other sites
  • 0

I have the same issue but i use the cloud version of prestashop. How can i solve this?? When i save sometimes its works but sometimes it trows me out of the product i try to add and nothing is saved.

Share this post


Link to post
Share on other sites
  • 0

Finally im back to normal the code edit worked a treat for me on 1.6.0.14  the mod i installed didnt seem to do the job but the code edit did.

 

Thanks Guys

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

Does not solve the problem for version 1.6.1.9 - the lines mentioned on this fix are not available anymore for to remove. Problem cannot be solved. Tab not loading is "associations".

Share this post


Link to post
Share on other sites
  • 0

What "following lines"?

I don't see (in the post) the line I have to remove.

 

 Remove lines 252,253 and 254. If you would've actually clicked the link provided you would've known.

submitHandler: function(form) {
    form.submit();
},
Edited by horiatb

Share this post


Link to post
Share on other sites
  • 0

Does not solve the problem for version 1.6.1.9 - the lines mentioned on this fix are not available anymore for to remove. Problem cannot be solved. Tab not loading is "associations".

 

Those line are not available in 1.6.1.9 because the problem is allready solved in this version. All tabs are loading in my test shop as well in my prod shop. Your problem must be elsewhere. Check your console for errors and revert to us.

Share this post


Link to post
Share on other sites
  • 0

Those line are not available in 1.6.1.9 because the problem is allready solved in this version. All tabs are loading in my test shop as well in my prod shop. Your problem must be elsewhere. Check your console for errors and revert to us.

It's not. Take a look here: https://www.prestashop.com/forums/topic/566554-spinning-buttons-problem/ and no errors on log of server, but error message on Prestashop as added there.

Share this post


Link to post
Share on other sites
  • 0

Does not solve the problem for version 1.6.1.9 - the lines mentioned on this fix are not available anymore for to remove. Problem cannot be solved. Tab not loading is "associations".

 

worked for version 1.6.1.7...and would not need be applied in 1.6.1.9 as that is covered by that release....30 push ups?  lol..hugs dude  but it's a mess for sure...all sorts of diff issues across shop  managers...not all just one specific symptom. 

Edited by El Patron

Share this post


Link to post
Share on other sites
  • 0

I am using 1.6.1.8 and am experiencing the problem when trying to associate products with categories. I looked at the fix mentioned above but the file they reference is different so I didnt make any changes.

Share this post


Link to post
Share on other sites
  • 0

I used pscleaner to clean the database. i did it twice to get all the errors out. after this i cleared cache, deleted ../cache/class_index.php on my server and upgraded from 1.6.0.8 to 1.6.0.9. 

everything working ok now

(pscleaner; in dutch 'prestashop opschoner' shure it's called different in other languages)

Edited by frank de beer

Share this post


Link to post
Share on other sites
  • 0

I used pscleaner to clean the database. i did it twice to get all the errors out. after this i cleared cache, deleted ../cache/class_index.php on my server and upgraded from 1.6.0.8 to 1.6.0.9. 

everything working ok now

(pscleaner; in dutch 'prestashop opschoner' shure it's called different in other languages)

Sure not an solution for those having a shop running with data they need and made an upgrade of a lower version having now this problem....

 

Associations tab is not loading on my product dashboard site.

Share this post


Link to post
Share on other sites
  • 0

I just restore my Prestashop  it doesnt save my products even after i have removed this 

submitHandler: function(form) {    form.submit();   },

 

 

Kindly c the attached screen shot.

post-1327444-0-36386600-1480665259_thumb.jpg

Edited by Mazwi

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

Many thanks, like others i was for weeks searching for a solution.

Share this post


Link to post
Share on other sites
  • 0

Bug seems to persist over various Prestashops I manage on entirely different servers. 

It seems to be fixed on 1.6.1.5, but the file structure is different on 1.6.1.10 which appears to still have this bug in it.

Any fix for 1.6.1.10? Would be greatly appreciated!

Share this post


Link to post
Share on other sites
  • 0

I downloaded a contained version of Chromium - Version 30.0.1556.0 (210028)

 

http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html?prefix=Win_x64/210028/

 

downloaded and extracted the zip package 

https://www.googleapis.com/download/storage/v1/b/chromium-browser-continuous/o/Win_x64%2F210028%2Fchrome-win32.zip?generation=1372901829086000&alt=media

 

using it as a standalone browser - no install

Prestashop Back Office Product save and update seems to work with this 2013 version

Share this post


Link to post
Share on other sites
  • 0

I suddenly got this problem again today  :wacko:

 

Nothing updated! Nothing touched. The lines are removed in the tpl file but still the problem is back. VERY frustrating!

Share this post


Link to post
Share on other sites
  • 0

Remove the following lines from the file /adminXXXX/themes/default/template/controllers/products/helpers/form/form.tpl: https://github.com/PrestaShop/PrestaShop/blob/5566c2d9d7e4ab88a201b2c5cf10e1cda2ff7150/admin-dev/themes/default/template/controllers/products/helpers/form/form.tpl#L252-L254

Great. It works for me. PS 1.6.1.5

Share this post


Link to post
Share on other sites
  • 0

My form.tpl file does not have those lines to delete. It also only has 76 lines instead of the 321 lines the file has on github.

 

When in admin and editing products, my short descriptions, descriptions, meta titles and meta descriptions won't save, no matter how many times I try. I've tried save and stay, save, refreshed the page, closed the browser, rebooted, shut down. This has been going on for at least a week.

 

Any ideas, please?

Share this post


Link to post
Share on other sites
  • 0

The only browser that will work is Safari. I've been told because of cache settings in Chrome and the other.

It can be a module as well, when I updated the inixframe module saving got solved. But uploading virtual product files still was an issue. But Safari took care of that.

Share this post


Link to post
Share on other sites
  • 0

The only browser that will work is Safari. I've been told because of cache settings in Chrome and the other.

 

It can be a module as well, when I updated the inixframe module saving got solved. But uploading virtual product files still was an issue. But Safari took care of that.

Well the problem you are having could come from this module. Try to disable it, clear all caches and go ahead normally without it.

Share this post


Link to post
Share on other sites
  • 0

Well the problem you are having could come from this module. Try to disable it, clear all caches and go ahead normally without it.

 

Yes it did, the devs sent me an updated inixframe. Not only did my site go 3 times faster after it, it solved the saving issues I had in the product pages. But Safari took care of the other issues I started having, that was file uploads not being able to upload correctly. These issues are related, and seems to be something in the Prestashop core that still isn't fixed.

 

inixframe is disabled, it's a module within a dashboard module which I don't use.

Edited by nicoX

Share this post


Link to post
Share on other sites
  • 0

Hello,

 

I'm having the same issue. But it is kind of strange: When I change my product info just a bit (for example I add "test"), it saves. When I type in several lines and hit save, it says "updated successfully" but when I reopen the product page it did not save anything.

 

I'm using PS 1.7.2.3 and it seems that this appeared after the upgrade from PS 1.7.x. The problem: I can't try your solution because in PS 1.7.2.3 there is no "products" folder in adminxxx/themes/default/template/controllers/

 

Another strange thing: the spinning wheel in the upper-left corner just won't stop spinning on the BO product page. And a "1" is showing up. See screenshot.

 

post-285072-0-60456400-1508308565_thumb.png

 

Do you have any idea?

 

Thank you very much.

 

EDIT: the product info thing was about the length of the short description. You have to set the length under settings -> product settings (sorry, I'm using the German version, don't know the exact expressions). Otherwise it won't save more than 400 characters AND when the short description is more than 400 characters it won't save your long description neither.

 

The spinning wheel thing is still there, I opened an issue about that:

http://forge.prestashop.com/browse/BOOM-4058

Edited by superoelk

Share this post


Link to post
Share on other sites
  • 0

Hi, that was my solution:

 

On 18.10.2017 at 8:49 AM, superoelk said:

EDIT: the product info thing was about the length of the short description. You have to set the length under settings -> product settings (sorry, I'm using the German version, don't know the exact expressions). Otherwise it won't save more than 400 characters AND when the short description is more than 400 characters it won't save your long description neither.

 

 

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

×