Post by original » Fri Oct 14, 2011 6:56 pm

Hi

when i want to compare two or more products in my opencart 1.5.1. store i get this message.

Code: Select all

Notice: Undefined index: weight_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 122Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 123Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 124Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 125Notice: Undefined index: weight_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 122Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 123Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 124Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 125Notice: Undefined index: weight_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 122Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 123Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 124Notice: Undefined index: length_class_id in /home/original/public_html/catalog/controller/product/compare.php on line 125
I have a custom theme and some modules installed. I have already tried to copy and replace the original catalog/model/catalog/product.php file, for 1.5.1.2 version and that have saved this problem, but another problem occured,

there was another error

Code: Select all

Notice: Undefined index: design_id in /home/original/public_html/catalog/controller/product/product.php on line 139Notice: Undefined index: upload in /home/original/public_html/catalog/controller/product/product.php on line 140
When I have clicked on any product, so i have uploaded old file back again.

Any solutions for this problem?

Thanks

New member

Posts

Joined
Mon Sep 12, 2011 8:08 pm

Post by uksitebuilder » Fri Oct 14, 2011 7:00 pm

You need to fully update the store code if you want to upgrade to 1.5.1.2

You would be better off upgrading to 1.5.1.3

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by original » Fri Oct 14, 2011 7:19 pm

I think i am using 1.5.1.2 for whole store.

and i cannot upgrade since i use a special app that is only supported with 1.5.1.2 for now,

so i have to solve the issue somehow.

Any ideas?

Thanks

New member

Posts

Joined
Mon Sep 12, 2011 8:08 pm

Post by uksitebuilder » Fri Oct 14, 2011 8:51 pm

well, the error you are receiving was evident in 1.5.1.1 but was fixed shortly after the 1.5.1.1 release and is fixed in 1.5.1.2 and as yuo have noticed, uploading the 1.5.1.2 file gets rid of those errors.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by original » Fri Oct 14, 2011 10:12 pm

But how can i resolve this problem then

Code: Select all

Notice: Undefined index: design_id in /home/original/public_html/catalog/controller/product/product.php on line 139Notice: Undefined index: upload in /home/original/public_html/catalog/controller/product/product.php on line 140
I am getting this error if i click on any product.

Any ideas?

New member

Posts

Joined
Mon Sep 12, 2011 8:08 pm

Post by uksitebuilder » Fri Oct 14, 2011 10:18 pm

There are no such variable names in OC 1.5.x

it must be something you have added

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 92 guests