Page 1 of 1

Undefined index: custom_field in ordr.php

Posted: Mon Sep 21, 2015 2:43 pm
by appaji
Hi,

I installed version 2 and imported my Customers and Orders data from old version (1.5x) to it. Now when I checked to see the order of a particular customer I'm getting error in 3 places..

Notice: Undefined index: custom_field in /home//admin/model/sale/order.php on line 96Notice: Undefined index: payment_custom_field in /home//admin/model/sale/order.php on line 112Notice: Undefined index: shipping_custom_field in /home//admin/model/sale/order.php on line 130

Now I'm unable to modify / update order data and can't generate invoice no. from admin login due to this.

Can anyone please help me out on this?

Thanks in advance.. Ambarisha

Re: Undefined index: custom_field in ordr.php

Posted: Tue Sep 22, 2015 12:49 am
by IP_CAM
Just information, no solution! ;)

custom_field - payment_custom_field - shipping_custom_field
Those VARIABLES are NOT part of a OC v.1.5.6.x DB
---
They are now part of the OC v.2 DB:
https://www.stratomyst.com/installbak/opencart.sql
https://github.com/opencart/opencart/bl ... /order.php
http://thecodedirectory.com/opencart/2. ... /order.php

Some infos on one of the Variables involved:
http://forum.opencart.com/viewtopic.php ... 38#p520264

Check here for more on this:
https://www.google.com/search?num=100&n ... "+opencart

Ernie
openshop.li/cart/