[Vtigercrm-developers] PBX Manager

Nicolas Larcipretti niclarcipretti at gmail.com
Thu Apr 28 12:52:42 PDT 2011


Maybe you're right Joe, maybe you did miss something in your dump. This kind
of message is related to the php trying to perform arrays actions on a non
array variable. Try to compare the two databases or point this vtiger
installation to your old database and see what happens.

Cheers

Nicolas

2011/4/28 Joe Bordes <joe at tsolucio.com>

>  Well then it is rather odd. Maybe your php version has changed from one
> server to the other and this warning is only on the newer version?
>
> I would need to debug the install to help any further.
>
> Joe
> TSolucio
>
>
> El 28/04/11 19:00, Scott Brown escribió:
>
> Joe,
>
> I have other vtiger installations running on this server and do not have
> these issues.  I'm wondering if I miss something during my mysqldump of the
> database.
>
> Sincerley,
>
> Scott Brown
> Centritech Communications Systems
> PO Box 73208
> Richmond, Virginia 23235
>
> Tel: (804) 360-9753 x 8400
> Fax: (804) 302-7343
>
> "Gold medals aren't really made of gold. They're made of sweat,
> determination, and a hard-to-find alloy called guts." --Dan Gable
>
> ------------------------------
> *From: *"Joe Bordes" <joe at tsolucio.com> <joe at tsolucio.com>
> *To: *vtigercrm-developers at lists.vtigercrm.com
> *Sent: *Tuesday, April 26, 2011 12:43:24 PM
> *Subject: *Re: [Vtigercrm-developers] PBX Manager
>
> Basically because when you are writing the code you don't know it is going
> to give you a warning. You think it is correct, even the tests you make go
> with no problems, but you can't foresee all the different cases that the
> code will run under and exactly what lines are going to give you a warning
> or even an error. You would have to put a suppress warning on almost all
> lines :-)
>
> Besides, warnings are good in development to inform you of potential
> problems and places to improve. But in production they shouldn't get in your
> way.
>
>
> Joe
> TSolucio
>
>
> El 26/04/11 18:27, Nicolas Larcipretti escribió:
>
> Just wondering...why don't we use the "@" to supress expected warnings more
> often? Is there a solid reason to explain this?
>
> Cheers
>
> Nicolas
>
> 2011/4/26 Joe Bordes <joe at tsolucio.com>
>
>>  This is most probably because you have php warnings enabled on the new
>> server. You probably get the same warning on the first server but your php
>> is configured not to inform you.
>> Deactivate php warnings.
>>
>> Joe
>> TSolucio
>>
>>
>> El 26/04/11 15:05, Scott Brown escribió:
>>
>>  Vtiger Team,
>>
>> I recently posted this issue on the forum but got no responses, so I'm
>> hoping I can get some assistance here:
>>
>>
>> I recently moved a 5.2 vitiger database from one server to another and I'm
>> getting the following error when I access the PBX Manger module.
>>
>> Warning: ksort() expects parameter 1 to be array, null given in
>> /**path**/html/include/ListView/ListViewController.php on line 687
>>
>> Warning: Invalid argument supplied for foreach() in
>> /**path**/html/include/ListView/ListViewController.php on line 689
>>
>>
>> I have tried disabling and renabling the module in module manager, but
>> that doesn't seem to correct the issue.
>>
>> Also, our click to dial only works now if the user has admin access.
>>
>>
>> Thanks for any advice you may have,
>>
>> Scott Brown
>> Centritech Communications Systems
>> PO Box 73208
>> Richmond, Virginia 23235
>>
>> Tel: (804) 360-9753 x 8400
>> Fax: (804) 302-7343
>>
>> "Gold medals aren't really made of gold. They're made of sweat,
>> determination, and a hard-to-find alloy called guts." --Dan Gable
>>
>>
>> _______________________________________________http://www.vtiger.com/
>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________http://www.vtiger.com/
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
>
> _______________________________________________http://www.vtiger.com/
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110428/0f2f58d1/attachment-0002.html 


More information about the vtigercrm-developers mailing list