My RadiusDesk deployment has about 10 access providers and thus each one generates their own vouchers. This used to work well before but I suppose as more and more vouchers are generated, I started receiving an error message saying "Could not create item" when trying to generate vouchers. I believe this is because the generator is running out of words to combine to create unique (vouchers that already exist in the db) vouchers.
Has anyone come across this?
Anyone has any ideas on how to fix this?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I've now switched out the voucher/password generation algorithm in rd_cake/Controller/Component/VoucherGeneratorComponent.php to use random alpha numeric and this seems to have solved the issue, but I rather like the adjective noun method and if there is a fix for the issue, would like to go back to it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Nahom, I am also running into the same problem of running out of word combinations.
I've been trying to modify the rd_cake/Controller/Component/VoucherGeneratorComponent.php file to generate a random 8 charecter alphanumeric string, but I still just seem to be getting the random words at the moment.
Any advice or examples if your code would be appreciated!
James
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My RadiusDesk deployment has about 10 access providers and thus each one generates their own vouchers. This used to work well before but I suppose as more and more vouchers are generated, I started receiving an error message saying "Could not create item" when trying to generate vouchers. I believe this is because the generator is running out of words to combine to create unique (vouchers that already exist in the db) vouchers.
Has anyone come across this?
Anyone has any ideas on how to fix this?
Thanks!
Well, I've now switched out the voucher/password generation algorithm in rd_cake/Controller/Component/VoucherGeneratorComponent.php to use random alpha numeric and this seems to have solved the issue, but I rather like the adjective noun method and if there is a fix for the issue, would like to go back to it.
Hi Nahom, I am also running into the same problem of running out of word combinations.
I've been trying to modify the rd_cake/Controller/Component/VoucherGeneratorComponent.php file to generate a random 8 charecter alphanumeric string, but I still just seem to be getting the random words at the moment.
Any advice or examples if your code would be appreciated!
James
Ignore me, I've got it working now!
James