Page 1 of 1

Problem adding aditional options

Posted: Sat Jun 21, 2014 4:55 am
by speedingorange
Hi all,

I seem to be getting an error on a product that has a lot of options, If i try to add any additional options to it then i get the following error set when saving:

Code: Select all

2014-06-20 20:25:03 - PHP Notice:  Undefined index: points in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 166
2014-06-20 20:25:03 - PHP Notice:  Undefined index: subtract in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: price in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: price_prefix in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: points in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: points_prefix in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: weight in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Notice:  Undefined index: weight_prefix in /home/dinky/public_html/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 227
2014-06-20 20:25:03 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/dinky/public_html/admin/index.php:85) in /home/dinky/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 28
2014-06-20 20:25:03 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/dinky/public_html/admin/index.php:85) in /home/dinky/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
The product does not save fully and I then loose details of pricing on the product.

The product has around 150 options and the issue is that I need to add further! is there a limit on the server somewhere that could be causing the issue?

this is the website / product in question: http://goo.gl/XJNLUY

It is running a few VQmods but none of them have caused trouble until i tried to add this latest option.

If i then remove the additional option the product will save again and the errors do not occur when saving the product.

Anyone any ideas what could be causing it?

Re: Problem adding aditional options

Posted: Sat Jun 21, 2014 4:58 am
by Dhaupin
Yes there is a default limit of 150 options in even a naked clean OC install (1.5.6). Try setting max_vars higher in php.ini like this http://forum.opencart.com/viewtopic.php?f=20&t=126266