Page 1 of 1

[SOLVED] Openstock errors

Posted: Fri Mar 22, 2019 8:41 pm
by Cpac
Hi,

We've recently moved to a new server and everything seemed to be working fine, however, any product that uses the openstock module for variations loses all images and changes after hitting save.

It works fine using the standard option module within Opencart 2.1.0.1

The only thing the error log says is:
2019-03-22 12:23:08 - PHP Notice: Undefined index: points in /httpdocs/public_html/vqmod/vqcache/vq2-httpdocs_private_html_oc_storage_modification_admin_model_catalog_product.php on line 169
2019-03-22 12:23:09 - PHP Notice: Undefined index: stock in /httpdocs/public_html/admin/controller/module/openstock.php on line 192
2019-03-22 12:23:09 - PHP Notice: Undefined index: active in /httpdocs/public_html/admin/controller/module/openstock.php on line 193
2019-03-22 12:23:09 - PHP Notice: Undefined index: subtract in /httpdocs/public_html/admin/controller/module/openstock.php on line 194
2019-03-22 12:23:09 - PHP Notice: Undefined index: price in /httpdocs/public_html/admin/controller/module/openstock.php on line 195
2019-03-22 12:23:09 - PHP Notice: Undefined index: weight in /httpdocs/public_html/admin/controller/module/openstock.php on line 197

Now nothing has changed, it was literally copied from one server to the other so I'm at a loss.

Any help would be greatly appreciated.

Re: Openstock errors

Posted: Sat Mar 23, 2019 2:40 am
by xxvirusxx
Possible new server has php 7 version...

You can ask here..
https://support.welfordmedia.co.uk/

Re: Openstock errors

Posted: Thu Mar 28, 2019 6:51 pm
by Cpac
It wasn't the php version surprisingly! It turned out to be a combination of a badly written vqmod and max_input_vars being too low (1000 not 30000).

All sorted now.