
31st October 2008, 11:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
The Loglevel is set in the ISPConfig configuration file:
/usr/local/ispconfig/server/lib/config.inc.php
I changed it there and it worked on my setup.
|

31st October 2008, 11:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Quote:
Originally Posted by quentusrex
I'll see if I can get this bug atleast started. I might be able to make it work.
Till, of the bugs I've seen I would say the one I would need help tracking down in the mail quota size. It's an int overflow bug. It could be a security concern. I don't know if the over flow is in the AJAX side of things, or in the php processing side.
|
I guess its a database problem, it should be solved if we set the database field from int to "bigint unsigned" as we do not need negative values there as courier recognizs 0 as unlimited.
|

31st October 2008, 11:56
|
|
Senior Member
|
|
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 10 Times in 6 Posts
|
|
Alright, I've fixed this bug. it has a bit of a delay. Either that or it waits for something.
|

31st October 2008, 12:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
The update scripts are run as cronjob because they need root priveliges, so it takes up to 1 minute until they get executed.
|

31st October 2008, 12:03
|
|
Senior Member
|
|
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 10 Times in 6 Posts
|
|
It's not a database problem. I changed the database structure on my test install to a mysql int(30) from an int(11) and it didn't fix the problem.
I think it's in the AJAX interface, or the php handling of the AJAX int. Where does the value get converted from MB's to bytes? I think that could be where the bug is located.
|

31st October 2008, 12:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
It is converted in PHP. The file is interface/web/mail/mail_user_edit.php if I remember correctly.
|

31st October 2008, 12:20
|
|
Senior Member
|
|
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 10 Times in 6 Posts
|
|
Do you think it would be under
Submit, Insert, or update?
|

31st October 2008, 12:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Most likely line 178 under submit:
// Convert quota from MB to Bytes
$this->dataRecord["quota"] = $this->dataRecord["quota"] * 1024 * 1024;
But as far as I know, there is no limit in PHP which might cause problems with big integer numbers *confused*
|

31st October 2008, 13:03
|
|
Senior Member
|
|
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 10 Times in 6 Posts
|
|
I've tracked down that it isn't failing there. It's failing in relation to interface/web/mail/form/mail_user.tform.php
I think it's bugging out around line 91. Somewhere in the int check.
|

31st October 2008, 13:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,184 Times in 3,202 Posts
|
|
Then the problem is maybe in interface/lib/classes/tform.inc.php line 619:
$tmpval = intval($field_value);
The complete conversion of values and the generation of the sql for inserts and updates is in this library.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:33.
|
Recent comments
1 day 10 hours ago
1 day 19 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 49 min ago
2 days 2 hours ago
2 days 3 hours ago
2 days 5 hours ago
2 days 21 hours ago
2 days 21 hours ago