si458
-
Posts
16 -
Joined
-
Last visited
Posts posted by si458
-
-
PLEASE DELETE, WRONG CATEGORY SORRY
-
Hi,
it would be amazing if you can let us specify a custom S3 endpoint for backups, instead of being FIXED to AWS
we use Minio for our S3 compatable in our rack for all our backups and works a treat
we just have to specify a custom endpoint with the s3 sdk and away it goes
Regards
Simon
-
Hi,
ive been able to track a bug with the plesk module
if you try creating a service or editing a service which includes a username with numbers in,
blesta just returns the error 'the username must be in lowercase'
the bug is inside the plesk.php file around line 407
'format' => [ 'if_set' => true, rule' => function ($username) { return ctype_lower($username); }, 'message' => Language::_('Plesk.!error.plesk_username.format', true) ]
ctype_lower will always return false if the string includes numbers https://www.php.net/manual/en/function.ctype-lower.php#refsect1-function.ctype-lower-examples
my example are my domains which i own and they are 'si458.co.uk' and 'si458.com'
i try setting the username as si458couk but always returns an error
Regards
Simon
-
a notification option for SMS by TextLocal would be amazing!
http://api.txtlocal.com/docs/sendsms
it would allow us to enter the clients mobile number and the platform then texts the client when bills are due, etc, just like the emails!
-
-
2 hours ago, Blesta Addons said:
Hello SIr
we have the php 7 version but we hvn't yet released it, because exist some issues we need to fix them, but definitely we are going with until and soon we will release it and make EOF for 5.4 series .
ticket #4885952 i submitted a new one last night before posting here, and have included links to these forums
im happy to test the new files for you
-
please can the plugin be updated for PHP 7.0+ support
i have sent a few tickets in to the blesta-addons support but you keep saying it is php7.0 ready when it isnt
[2018-10-27 22:38:17] general.ALERT: Fatal Error (E_COMPILE_ERROR): 'continue' not in the 'loop' or 'switch' context {"code":64,"message":"'continue' not in the 'loop' or 'switch' context","file":"/var/www/blesta/plugins/observium/models/observium_billing.php","line":198}
[Sat Oct 27 22:49:21.721052 2018] [:error] [pid 21696] [client 217.28.xxx.xxx:50634] PHP Fatal error: The file /opt/observium/html/bl_api.php was encoded by the ionCube Encoder for PHP 5.4 and cannot run under PHP 7.0.\n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0
-
please can the plugin be updated for PHP 7.0+ support
i have sent a few tickets in to the blesta-addons support but you keep saying it is php7.0 ready when it isnt
[2018-10-27 22:38:17] general.ALERT: Fatal Error (E_COMPILE_ERROR): 'continue' not in the 'loop' or 'switch' context {"code":64,"message":"'continue' not in the 'loop' or 'switch' context","file":"/var/www/blesta/plugins/observium/models/observium_billing.php","line":198}
[Sat Oct 27 22:49:21.721052 2018] [:error] [pid 21696] [client 217.28.xxx.xxx:50634] PHP Fatal error: The file /opt/observium/html/bl_api.php was encoded by the ionCube Encoder for PHP 5.4 and cannot run under PHP 7.0.\n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0
-
which version should i install?
this version in the first post with a timestamp of 28th august
or the gocardless folder inside the 4.4 beta with a timestamp of 18th oct
-
On 05/01/2018 at 5:05 PM, Jono said:
For step 4, you are correct in saying that Blesta does not support redirects for merchant gateways. Is there a reason you are not implementing this as a non-merchant gateway? Does the API not support that? Unfortunately non-merchant would allow the client to choose their payment method each time they are invoiced, so you could not do step 5.
For step 5, well each currency is only allowed one merchant gateway so that should be happening automatically. Are you asking how to enable auto-debiting?
sorry for the long delay in replying
i could make the gateway a non-merchant BUT it means the customer has to pay for the invoice themselves and i cant let blesta take the payments etc itself without me doing anything
the gateway is sadly 'GoCardless' which handles UK Direct Debits
if i was to set it up as non-merchant, and a user bought a plan, gocardless wud need 3 WORKING days to setup the account and DD then 3 WORKING days to take the payment, then i would have to manually go into blesta and select the user had made a payment because i cant get gocardless to notifify blesta of a payment without using there PRO PLAN which costs £200 a month ONTOP of ur fees
i have however tho through of a way, so im going to get building and see where i end up
dont gocardless as a payment gateway, just doing it as a plugin or module
go into the customer, click a custom button which then created the gocardless account and mandate, and returns back to the blesta panel without any issue, then on the cronjob, once a day check for outstanding invoices that havnt already been tried to taken, and then go from there
but its going to be a trial and error, so onwards and upwards
-
Hi All
I'm trying to find out if its possible to make a payment gateway to do the following, I have tried a few ways using the API but having no luck but I might be looking at this the wrong way
1. create customer using blesta
2. add ACH details using custom gateway (UK)
3. after submitting the ACH, the blesta HAS to redirect the admin/customer to the gateway hosted pages to re-fill in the ACH details
(bloody stupid really as i HAVE to do this unless i wanna pay over £300 a month to have full API access to NOT have to redirect the admin/customer)
4. after filling in and gateway says all is OK, it then redirects back to blesta to say successful
5. once a month when invoices are generated, it takes the payment using the custom gatewayi have been able to do step 1, step 2, step 3 fine without any issue
however im stuck with step 4 and 5from what ive read in the docs, api, and php files, you can only redirect back to blesta using a Non-Merchant Gateway
is the anyway around this or as i said am i just being silly and missing something completely
Simon
-
Hi All,
im not sure what the problem was but i started all over again and now all seems ok?
just deleted DB, deleted blesta folder and started again (didnt recreate the VM)
thank you all anyways for the help
Simon
-
12 hours ago, MineHarvest66 said:
If the VPS and your box have enough resources then PHP may need more RAM for processing an active Blesta install. My is set on 64M but I have zero "active" clients on it so if your install is active and/or have a bunch of active plugins/modules that yours may be needing more RAM than even 128M.
Otherwise I would be blaming the latency.
ok well tried it again today and now im getting even weirder results?
copied the hotfix/php7.1 over AGAIN just incase it miss-copied - same results
increased memory and cpu of VM from 2 core, 4gb to 4 core, 8gb - its now loads the page quicker (not instant, just quicker say 15secs instead of 30secs)
BUT even weirder when it redirects to the 'successfully created' client page, the clients page is now showing 2 entries for one client? even tho all links seem to link to the same client id ?
any ideas?
-
Hi All
Sorry the server is a vps but it's on our own hardware in our own datacenter, all ssd, 1g links so I don't think the server is the issue but I will check
The memory limit it set as 128mb
The vps is dual core 4gb ram 64bit ubuntu
Simon
-
Hi All
I'm wondering if anybody else if having the same issue i am or maybe I have something set wrong somewhere
When i click create on the create client page the page then sits there saying loading, however after about 30secs it then redirects to the client page and says created
And on a few other pages I have the same issue where it seems to wait 30secs then does what it needs to do?
Ubuntu 16.04
Apache 2.4
PHP 7.1
Mysql 5.7
Blesta 4.2.0
Thank you for the help
Regards
Simon
allow custom s3 endpoint for backups
in Feature Requests
Posted
Hi,
it would be amazing if you can let us specify a custom S3 endpoint for backups, instead of being FIXED to AWS
we use Minio for our S3 compatable in our rack for all our backups and works a treat
we just have to specify a custom endpoint with the s3 sdk and away it goes
Regards
Simon