VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: ruhanda on December 24, 2014, 15:12:22 PM

Title: Shopping cart error after upgrade from VM2 to VM3
Post by: ruhanda on December 24, 2014, 15:12:22 PM
All,

Error occur when I'm looking on shopping cart page after add an item. see error message below.

Warning: parse_ini_file() has been disabled for security reasons in /home/arnetco/public_html/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 100

Warning error still appear even though 3rd party shipping plugin disabled.

I'm using Joomla 2.5.28 VM3.0.2

Pls Help!!!
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: GJC Web Design on December 24, 2014, 15:18:20 PM
it is only a warning -- you can set your error reporting in joomla to none or reduce the reporting by various other means
Plenty of posts on here about it
I assume it hasn't affected the operation of the cart etc?
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: jenkinhill on December 24, 2014, 15:29:29 PM
The host has disabled the use of parse_ini_file() for some reason, maybe believing it is a security risk. I wonder what evidence they have for that. This is the function's description: http://php.net/manual/en/function.parse-ini-file.php
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: ruhanda on December 24, 2014, 16:30:26 PM
GCJ,
warning still occur even though error reporting set to none.

jenkinhill,
Is there any option to pass this error since I cannot change the php.ini on server side?  :-[

Thanks,
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: GJC Web Design on December 24, 2014, 16:43:25 PM
error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

at the top of administrator/components/com_virtuemart/helpers/vmcrypt.php?
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: ruhanda on December 24, 2014, 17:52:24 PM
Quote from: GJC Web Design on December 24, 2014, 16:43:25 PM
error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );

at the top of administrator/components/com_virtuemart/helpers/vmcrypt.php?

I cannot find thats script in /administrator/components/com_virtuemart/helpers/vmcrypt.php

I'm using VM3.0.2
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: ruhanda on December 25, 2014, 02:38:45 AM
Strange behavior found! I don't know this is bug or not.
I test some configuration:
1. I create new product with low cost price Rp.2000 and the result is I can checkout without warning message.
2. I change cost price to Rp.200000 and the result is warning message occur on shopping cart page.

this behavior also occur on existing product that final price more than Rp.150000.
Seems problem on payment methods since I use default shipping method instead of 3rd party plugin.
That is I found now, I will doing some test to find the root cause.
Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: ruhanda on December 25, 2014, 04:08:40 AM
Quote from: ruhanda on December 25, 2014, 02:38:45 AM
Strange behavior found! I don't know this is bug or not.
I test some configuration:
1. I create new product with low cost price Rp.2000 and the result is I can checkout without warning message.
2. I change cost price to Rp.200000 and the result is warning message occur on shopping cart page.

this behavior also occur on existing product that final price more than Rp.150000.
Seems problem on payment methods since I use default shipping method instead of 3rd party plugin.
That is I found now, I will doing some test to find the root cause.

confirm PayPal payment method is make warning message occur,  since I set minimum amount as 150000 so when final price reached 150000 PayPal plugin running and make it message warning occur.
Now PayPal Payment is disable until new update released  :'(

Title: Re: Shopping cart error after upgrade from VM2 to VM3
Post by: PRO on December 28, 2014, 01:27:11 AM
Quote from: ruhanda on December 25, 2014, 04:08:40 AM


confirm PayPal payment method is make warning message occur,  since I set minimum amount as 150000 so when final price reached 150000 PayPal plugin running and make it message warning occur.
Now PayPal Payment is disable until new update released  :'(




did you install the AIO component?