Dear Adrien,
for VMVendor 3.5.1 I see a problem with the new IBAN feature when bcmath is missing (at an older PHP 5.4.20 test system):
Code:
Fatal error: Call to undefined function bcmod() in (...)/components/com_vmvendor/controllers/editprofile.php on line 634
which is refering to the following lines
Code:
if(bcmod($NewString, '97') == 1)
{
return TRUE;
}
else{
return FALSE;
}
To resolve the potential error, you could e.g. include a conditioned function definition (following a suggestion on
php.net/manual/de/function.bcmod.php
by Andrius Baranauskas and Laurynas Butkus)
Code:
if (!function_exists('bcmod')) {
function bcmod( $x, $y )
{
// how many numbers to take at once? carefull not to exceed (int)
$take = 5;
$mod = '';
do
{
$a = (int)$mod.substr( $x, 0, $take );
$x = substr( $x, $take );
$mod = $a % $y;
}
while ( strlen($x) );
return (int)$mod;
}
}
(Please note: I did not re-check the bcmod function defined).
Best regards,
Silke