#1486315 closed Bugs (worksforme)
Quota Negative
| Reported by: | renorain | Owned by: | |
|---|---|---|---|
| Priority: | 6 | Milestone: | 0.4-beta |
| Component: | User Interface | Version: | 0.3-stable |
| Severity: | normal | Keywords: | |
| Cc: | jhernandez@… |
Description
When the quota is major to 2GB it(he,she) does not show the royal(real) value.
It(He,She) shows the value in negative.
Since I can improve this
Favor of helping myself.
Thank you
Attachments (3)
Change History (10)
Changed 3 years ago by renorain
comment:1 Changed 3 years ago by Lazlo
- Milestone set to 0.4-beta
- Priority changed from 1 - Highest to 6
- Type changed from Tasks to Bugs
comment:2 Changed 3 years ago by renorain
Versión del servidor: 5.0.51a-24+lenny2
PHP 5
comment:3 Changed 3 years ago by renorain
Adjunto PHPCore Information
Changed 3 years ago by renorain
comment:4 Changed 3 years ago by alec
I'm not sure, but try in lib/imap.inc in function iil_C_GetQuota() changing intval() with floatval(). You should also check 0.3.1 version first.
comment:5 Changed 3 years ago by renorain
Gracias por la Ayuda,
El problema lo he solucionado de la siguiente forma :
en la function iil_C_GetQuota() agregue la funcion ABS() al floatval() ( abs(floatval()).
mi postfix me retorna en MB y no en Bytes...
Gracias nuevamente
Atte.
Javier Hernandez / Chile
comment:6 Changed 3 years ago by alec
- Resolution set to worksforme
- Status changed from new to closed
Could you please, write this in English. First, Postfix is not an IMAP server, second, returning in MB shouldn't be a reason of described issue. If it returns in MB, then it's your IMAP server issue not Roundcube.
comment:7 Changed 3 years ago by renorain
Thank you for the Help,
The problem I have solved it of the following form:
In the function iil_C_GetQuota () add the function ABS () to the floatval () (abs (floatval ()).
My postfix returns me in MB and not in Bytes...
My postfix works with MYSQL and the users' accounts(bills) estan in bytes but it(he,she) delivers these bytes in MB to IMAP ... but this already is a personal topic and puntul
The installation that I have of POSTFIX is imap and works excellently with RoundCube.
Thank you again Atte.

Works for me.
What php version etc are you using? Also try the latest version.