Hi,
I am trying to us the PHP accounting module - every now and again when createacct() executes I get:
Sorry, you cannot create an account with an unlimited bandwidth limit.
Yet none of my packages use unlimited bandwidth - any ideas?
Hi,
I am trying to us the PHP accounting module - every now and again when createacct() executes I get:
Sorry, you cannot create an account with an unlimited bandwidth limit.
Yet none of my packages use unlimited bandwidth - any ideas?
/var/cpanel/packages
regardless of what whm says, check that your packages do have bandwidth limits. If this is correct then maybe your post is getting corrupted somewhere - using SSL may help?
Hi,
All of the packages have b/w limits, and using SSL just gives a blank replyanyone got any other ideas?
The code I use is simple:
But $reply comes back with:PHP Code:$reply = createacct ($host,$user,$accesshash,$usessl,$acctdomain,$acctuser,$acctpass,$acctplan);
"Sorry, you cannot create an account with an unlimited bandwidth limit."
I can't seem to find anything wrong.
for unlimited try -1 as the value instead of "unlimited" :P
The thing is - I don't want unlimited, none of the fields are set that way.
do a var_dump($var); on all the variables you are trying to put into the createacct function to see if any are coming up blank; so that you are certain, it seems like a script error or a variable not being assigned properly
Check that your package name does not have a space in it (i.e. MyPlan instead of My Plan)
UNIX Sex
{look;find;talk;grep;touch;finger;find;flex;unzip;mount;workbone;
fsck;yes;gasp;fsck;yes;eject;umount;makeclean;zip;split;done;exit}