Post by ND6 » Fri Mar 22, 2019 8:41 pm

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.

ND6
Newbie

Posts

Joined
Tue Nov 06, 2018 6:14 pm

Post by xxvirusxx » Sat Mar 23, 2019 2:40 am

Possible new server has php 7 version...

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

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by ND6 » Thu Mar 28, 2019 6:51 pm

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.

ND6
Newbie

Posts

Joined
Tue Nov 06, 2018 6:14 pm
Who is online

Users browsing this forum: No registered users and 18 guests