[Vtigercrm-developers] PBX Manager
Holbok István
holbok at gmail.com
Tue Apr 26 10:20:24 PDT 2011
Dear Nicolas,
All of my production servers (in different web hosting companies) can
run different applications with different php.ini so it's not a problem.
The user can upload to the main (root) directory of the application an
individual php.ini file containing only few clause for the modification.
For example the major setting is max_execution_time = 30 in the server,
and for the vtiger directory it can be set max_execution_time = 600 in
this php.ini
Cheers
Holbok István
telefon: +3670-342-0900
e-mail: holbok at gmail.com <mailto:holbok at gmail.com>
**
2011.04.26. 19:07 keltezéssel, Nicolas Larcipretti írta:
> Why don't we map these reported warnings and supress only them? So,
> within a certain ammount of time,after mapping a bunch of warnings, we
> would turn the application runnable in different PHP configurations.
> In my opinion, I don't think it's right to ask the users to disable a
> php configuration that might be important to them (considering other
> apps running on the same server). Just an ideia, don't take me wrong
> please.
>
> Cheers
>
> Nicolas
>
> 2011/4/26 Joe Bordes <joe at tsolucio.com <mailto:joe at tsolucio.com>>
>
> 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 <mailto: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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110426/6419a344/attachment-0002.html
More information about the vtigercrm-developers
mailing list