I have a very strange problem in opencart script 2.1.0.2, when i am trying to save related products in admin.
The problem: e.g
1. I select 2 related products and save them. (everything ok so far)
2. I re-open the product and then make some changes in the product form elsewhere.
3. I re-save it
4. When i re-open the product, the changes in related products have been lost. (related products empty)
I see in the error log the following errors that are related:
PHP Notice: Undefined index: product_id in /home/xxx/public_html/vqmod/vqcache/vq2-admin_view_template_catalog_product_form.tpl on line 418
PHP Notice: Undefined index: product_id in /home/xxx/public_html/vqmod/vqcache/vq2-admin_view_template_catalog_product_form.tpl on line 417
I have disabled all extentions, i even overwrited product_form.tpl with the original one from opencart, but nothing.
Any ideas?
The problem: e.g
1. I select 2 related products and save them. (everything ok so far)
2. I re-open the product and then make some changes in the product form elsewhere.
3. I re-save it
4. When i re-open the product, the changes in related products have been lost. (related products empty)
I see in the error log the following errors that are related:
PHP Notice: Undefined index: product_id in /home/xxx/public_html/vqmod/vqcache/vq2-admin_view_template_catalog_product_form.tpl on line 418
PHP Notice: Undefined index: product_id in /home/xxx/public_html/vqmod/vqcache/vq2-admin_view_template_catalog_product_form.tpl on line 417
I have disabled all extentions, i even overwrited product_form.tpl with the original one from opencart, but nothing.
Any ideas?
Compare your file admin\controller\catalog\product.php with original file from distributive.
Try to replace him and refresh modification cache.
(make copy of your file before replacing)
Try to replace him and refresh modification cache.
(make copy of your file before replacing)
Ha, I noticed nickname just now..
The issue was resolved, the reason was a modified file as I wrote earlier

The issue was resolved, the reason was a modified file as I wrote earlier
Hi AlexDW, could you have a look at my problem please :
viewtopic.php?f=190&t=199535
Dear straightlight made an effort for me, but we couldn't get the solution. Thank you very much..
About me: https://gokaydemir.com
E-mail me: info@gokaydemir.com
Whatsapp me (recommended ) : https://api.whatsapp.com/send/?phone=90 ... p_absent=0
And where was it indicated that the problem could not be solved previously?gokaydemir86 wrote: ↑Sun Nov 12, 2017 2:04 pmHi AlexDW, could you have a look at my problem please :
viewtopic.php?f=190&t=199535
Dear straightlight made an effort for me, but we couldn't get the solution. Thank you very much..
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Please don't misunderstand me. When you shared the "QuickSave Extension" of AlexDW, I thought that he maybe exprerienced about this arguement. So I am sorry if I made you misunderstand mestraightlight wrote: ↑Sun Nov 12, 2017 11:27 pmAnd where was it indicated that the problem could not be solved previously?gokaydemir86 wrote: ↑Sun Nov 12, 2017 2:04 pmHi AlexDW, could you have a look at my problem please :
viewtopic.php?f=190&t=199535
Dear straightlight made an effort for me, but we couldn't get the solution. Thank you very much..

About me: https://gokaydemir.com
E-mail me: info@gokaydemir.com
Whatsapp me (recommended ) : https://api.whatsapp.com/send/?phone=90 ... p_absent=0
Who is online
Users browsing this forum: No registered users and 49 guests