Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 19th June 2012, 15:11
Croydon Croydon is offline
ISPConfig Developer
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
Default Quota settings in remoting lib

Once again something I do not know if it is a bug or just some supidness of mine

The commands sent via remoting are validated against the tform files of the interface.
Quota entries are put in as MB in the interface forms, then validated against MB (max 7 numbers length) and after this converted to bytes (*1024*1024) and stored in the database.

If you use the remoting lib to store quota, is this conversion done anyway? I didn't think so as it is in the interface xxxx_edit.php file.
You cannot send the quota as bytes through the remoting either, as 7 numbers are too short (10MB * 1024 * 1024 = 8 numbers).
This should apply to mail users (mailbox quota), ftp users (quota), web domains (quota and traffic) I think, but correct me if I am wrong or miss something.
Marius Cramer

pixcept KG
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dovecot start problem veneficus Installation/Configuration 3 10th April 2012 18:39
Cron issue in Debian 6 Nolan Installation/Configuration 6 18th April 2011 17:36
Traffic Quota Problem Remoting Framework 4.2.1 kextra1 Tips/Tricks/Mods 1 7th January 2009 03:38
chgrp error new user DKA General 15 28th July 2008 18:45
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 18:21

All times are GMT +2. The time now is 13:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.