[Vtigercrm-developers] vtigerforms - Joomla component and module issue

Holbok István holbok at gmail.com
Sat May 28 11:19:12 PDT 2011

Dear Vtiger Community,

There is a genius component and module for Joomla 1.5.x, *vtigerforms*, 
written by vtiger team.

I have found an issue with vtigerforms running under other then English 

In the file:

    // Send the response code.
    $response_code = 'com_vtigerforms_RESP:SUCCESS';
    if($vt_result) {
         if(preg_match("/Error Code:/",$vt_result)) {
             $response_code = 'com_vtigerforms_RESP:ERROR';
    echo $response_code;

will fail every case if the vtiger default language is NOT English.

For example the $vt_result content in the Hungarian version in the case 
of error is:

vtiger logo
az adatokat nem sikerült hozzáadni a VTiger CRM rendszerhez.
Hibaüzenet: data provided is invalid

in the case of success is:

vtiger logo
Leads Az adatokat sikeresen hozzáadtuk a VTiger CRM rendszerhez.

Both of message success and error does not contain the checked strings - 
the program will indicate success in every case.

Other side, if the vtiger server URL is not setted up correctly then the 
$vt_result  will empty and the program will also indicate success.
So it should be corrected for the future.



Holbok István
telefon: +3670-342-0900
e-mail: holbok at gmail.com <mailto:holbok at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110528/a295795b/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtiger.jpg
Type: image/jpeg
Size: 2036 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110528/a295795b/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: denied.gif
Type: image/gif
Size: 1316 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110528/a295795b/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migration_sucess.jpg
Type: image/jpeg
Size: 3322 bytes
Desc: not available
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110528/a295795b/attachment-0005.jpg 

More information about the vtigercrm-developers mailing list