Jump to content

Edit History

ilvsportfoto

ilvsportfoto

Prestashop 1.6.1.23 (updated from 1.6.1.18)
OS: Win 10
Browsers: Firefox 66.0.2 / Chrome / Waterfox


Hi,

I have this issue for a while now.
When i try to update a product with new text (Firefox + Chrome), first i have the Save and Stay + Save buttons loading more than 15-20s.
When i edit and save, it will take my changes from time to time. I left it for one day and only after that has made the changes. But not always. There are time when is not saving the changes at all.

For the images tab in product page, i can't add a new image instead of a old one.
In Firefox i don't even see the image that exist to that product and also can't add a new one (in chrome i can see it and also can upload a new one, it seems to be firefox issue).

 
I read a lot of threads from here and none worked for me.

I tried the followings:

1. Modify the form.tpl file from here Prestashop BackOffice Bug - Doesn't save - BUG FIX TUTORIAL

" Navigate the form.tpl file which can be found in “admin/themes/default/template/controllers/products/helpers/form/form.tpl”

Open it and delete the following lines: “submitHandler: function(form) { form.submit(); },”

I have selected in the Advanced -> Performance -> Force Compile.

2. I tried also from here:
Save button loading forever, can't save products! - Bug reports - PrestaShop Forums


I tried to use this Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/solution, but in the information files are more than one "disabled="disabled"" options and i don't know if is ok to break that code (deleting disabled="disabled" and other stuff - there are too many to delete and it seems risky).


3. Also tried to edit    /js/admin/tinymce.inc.js 

with adding before     

    if(!config)
        config = {};

the following code:        
        
    if (typeof tinyMCE === 'undefined') {
        setTimeout(function() {
        tinySetup(config);
        }, 100);
        return;
    }

Solution from here: Prestashop 1.6.1.13 Uncaught ReferenceError: tinyMCE is not defined - Configuring and using PrestaShop - PrestaShop Forums

It is not working for me any of those.

 

I also downloaded from github the source code for PrestaShop 1.6.1.23. I replaced from there the tinymce.inc.js and some other files with no visible changes to my problem.

I checked the php settings from my cpanel and i have the following:

max_execution_time    300
max_input_time    -1
memory_limit    512M
post_max_size    16M
upload_max_filesize    8M

I don't have the option to change 

max_input_vars = 10000

and also don't know where to read it. I will ask the hosting provider to tell what is the limit now. Can i see it somewhere until then?


Does anybody got an idea why is that long loading time, more than 15-20 seconds on the backoffice for the product page in both browsers? 

I have also some issues to change the Category and Subcategory images. Even if i delete the old image and upload a new one in the Category / Subcategory edit page it will not change to the new one. It will force the old one.

For that, i delete cahce from: 

\cache\smarty\compile

 

It is impossible to work like that. Instead of adding some products quickly i must pray for it to work...
 

I attached a picture from Firefox also with some error from the that tab. In chrome i haven't seen that error but the buttons have the loading time error.

Thank you


 

prestashop-1.6.1.jpg

ilvsportfoto

ilvsportfoto

Prestashop 1.6.1.23 (updated from 1.6.1.18)
OS: Win 10
Browsers: Firefox 66.0.2 / Chrome / Waterfox


Hi,

I have this issue for a while now.
When i try to update a product with new text (Firefox + Chrome), first i have the Save and Stay + Save buttons loading more than 15-20s.
When i edit and save, it will take my changes from time to time. I left it for one day and only after that has made the changes. But not always. There are time when is not saving the changes at all.

For the images tab in product page, i can't add a new image instead of a old one.
In Firefox i don't even see the image that exist to that product and also can't add a new one (in chrome i can see it and also can upload a new one, it seems to be firefox issue).

 
I read a lot of threads from here and none worked for me.

I tried the followings:

1. Modify the form.tpl file from here Prestashop BackOffice Bug - Doesn't save - BUG FIX TUTORIAL

" Navigate the form.tpl file which can be found in “admin/themes/default/template/controllers/products/helpers/form/form.tpl”

Open it and delete the following lines: “submitHandler: function(form) { form.submit(); },”

I have selected in the Advanced -> Performance -> Force Compile.

2. I tried also from here:
Save button loading forever, can't save products! - Bug reports - PrestaShop Forums


I tried to use this Just go there -> YOUR-WEBSITE/adminfolder/themes/default/template/controllers/products/solution, but in the information files are more than one "disabled="disabled"" options and i don't know if is ok to break that code (deleting disabled="disabled" and other stuff - there are too many to delete and it seems risky).


3. Also tried to edit    /js/admin/tinymce.inc.js 

with adding before     

    if(!config)
        config = {};

the following code:        
        
    if (typeof tinyMCE === 'undefined') {
        setTimeout(function() {
        tinySetup(config);
        }, 100);
        return;
    }

Solution from here: Prestashop 1.6.1.13 Uncaught ReferenceError: tinyMCE is not defined - Configuring and using PrestaShop - PrestaShop Forums

It is not working for me any of those.

 

I also downloaded from github the source code for PrestaShop 1.6.1.23. I replaced from there the tinymce.inc.js and some other files with no visible changes to my problem.

I checked the php settings from my cpanel and i have the following:

max_execution_time    300
max_input_time    -1
memory_limit    512M
post_max_size    16M
upload_max_filesize    8M

I don't have the option to change 

max_input_vars = 10000

and also don't know where to read it. I will ask the hosting provider to tell what is the limit now. Can i see it somewhere until then?


Does anybody got an idea why is that long loading time, more than 15-20 seconds on the backoffice for the product page in both browsers? 

I have also some issues to change the Category and Subcategory images. Even if i delete the old image and upload a new one in the Category / Subcategory edit page it will not change to the new one. It will force the old one.

For that, i delete cahce from: 

\cache\smarty\compile

 

It is impossible to work like that. Instead of adding some products quickly i must pray for it to work...
 

Thank you


 

×
×
  • Create New...