Skip to main content

error after update to 2.0

More
13 years 10 months ago #76093 by scharfet
Hello,

after updating to 2.0 I got this error



Regards,

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76101 by Jerome
Replied by Jerome on topic error after update to 2.0
Hi,

Please edit the class product file and change the line
Code:
$keys[] = array();
By
Code:
$keys = array();
(around line 563).

The modification would be include in the next package upload.

Thanks,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: scharfet

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago - 13 years 10 months ago #76109 by scharfet
Replied by scharfet on topic error after update to 2.0
I did the change you indicated (line 565), but error still appears.

Then I looked for the same code-string, and fount it in line 667. I tried to change this line in the same way, but without success.

My error messge talks about errors in the lines 593 and 625. /administrator/components/com_hikashop/classes/product.php
In line 593 I found this code
Code:
$product_code = $element->product_code.'_'.implode('_',$key);
In line 625 I have this code
Code:
foreach($codes[$obj->product_code] as $k){

Thank you!
Last edit: 13 years 10 months ago by scharfet.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76186 by nicolas
Replied by nicolas on topic error after update to 2.0
Can you also try to change the line:
$product_code = $element->product_code.'_'.implode('_',$key);

to:
$product_code = $element->product_code.'_'.@implode('_',$key);

in the same file ?

That should remove these errors.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76196 by scharfet
Replied by scharfet on topic error after update to 2.0
Now it is working!
Thank you!!!

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76244 by scharfet
Replied by scharfet on topic error after update to 2.0
Now it is working!
Thank you!!!

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76246 by Jerome
Replied by Jerome on topic error after update to 2.0
Hi,

Nicolas has implement a new algorithm for the product characteristics.
The next package would fix all problems in this function.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76268 by spoonbow
Replied by spoonbow on topic error after update to 2.0
Just to clarify - Has this fix been implemented in the current package, or do we need to wait for a new package to be posted?

Thanks
Matt

It's amazing how the omission of a semicolon can absolutely ruin an otherwise pleasant evening.

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #76271 by Jerome
Replied by Jerome on topic error after update to 2.0
Hi,

I have update the HikaShop 2.0 package.
You can re-download HikaShop to fix this problem.

Best regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: spoonbow

Please Log in or Create an account to join the conversation.

Time to create page: 0.245 seconds
Powered by Kunena Forum