News:

Support the VirtueMart project and become a member

Main Menu

Shopping cart error after upgrade from VM2 to VM3

Started by ruhanda, December 24, 2014, 15:12:22 PM

Previous topic - Next topic

ruhanda

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!!!

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

ruhanda

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,

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ruhanda

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

ruhanda

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.

ruhanda

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  :'(


PRO

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?