Page 1 of 1

Strange error occurring

Posted: Fri May 22, 2015 9:20 am
by livelinkwebsites
Hi there

Recently my client has brought to my attention the following error:

Notice: Undefined index: shipping in /home/wellsyst/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 153Warning: Cannot modify header information - headers already sent by (output started at /home/wellsyst/public_html/admin/index.php:84) in /home/wellsyst/public_html/system/library/response.php on line 12

It happens when they go to edit/add a product and when in the options tab change one of the radio buttons.

The website is using a plugin called Better Options that allows for an SKU to be inserted to the product options.

If anyone could help shed some light on what the problem might be, it'd be much appreciated.

Cheers

Re: Strange error occurring

Posted: Fri May 22, 2015 5:37 pm
by OpenTeam
Hello,

It is very hard to tell where the error comes at this level as we do not have an idea of your modified product model code.

If you could at least attach the vq2-admin_model_catalog_product.php file so as we can have an idea where the problem might comes from and see if we can help.

Regards.

Re: Strange error occurring

Posted: Mon May 25, 2015 10:34 am
by livelinkwebsites
Hi there

Thanks for your reply. Please find attached the php file.

Hope this helps.
Cheers

Re: Strange error occurring

Posted: Mon May 25, 2015 3:15 pm
by OpenTeam
Hello,

Can you please attach vq2-admin_controller_catalog_product.php and vq2-admin_view_template_catalog_product_form.tpl.

The problem is arising as it is not getting any POST value shipping while the form is being posted.

If ever you feel that you don't want to disclose the code of extension(s) you bought which is/are in the requested files, you can PM your 2 files for debugging.

Take care.

Re: Strange error occurring

Posted: Thu May 28, 2015 1:39 pm
by livelinkwebsites
Hi OpenTeam

Thanks a lot for your input.

I got in touch with the plugin developer and they've sorted the problem for me.

I needed to re-upload a file that had been edited incorrectly.

Many thanks

Re: Strange error occurring

Posted: Wed Aug 12, 2015 9:08 pm
by nambisra
Hi,
I am trying to Add a field on the product form when i try to submit the form i get the following error. am i missing something somewhere...i am not able to figure it out. Thanks in advance.
The error is:
Notice: Undefined index: url_id in /home/nextgen1/public_html/opencart/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 15Warning: Cannot modify header information - headers already sent by (output started at /home/nextgen1/public_html/opencart/admin/index.php:84) in /home/nextgen1/public_html/opencart/system/library/response.php on line 12

i am attaching the file vqmod/vqcache/vq2-admin_model_catalog_product.php

Re: Strange error occurring

Posted: Fri Aug 14, 2015 2:39 pm
by nambisra
I have found the solution myself....the column was not defined in the table. not every thing is fine