All Activity
- Today
-
This bug applies to current version of Blesta, version 5.9.3. When using the Upgrade/Downgrade feature for service management that uses the Virtualmin module, a change of Package/Term corresponds to a plan change in Virtualmin, as well as other changes. With this feature, although a plan is changed, limits of the changed plan are not applied, such as a change of allocated disk space or a change in allowed number of servers. The name of the parameter that is passed to virtualmin is --plan. It should instead be --apply-plan to also include changed plan limits. From https://www.virtualmin.com/documentation/developer/cli/modify_domain/ "To change a virtual server's plan and apply quota and other limits from the new plan, use the --apply-plan parameter followed by the plan name or ID. Alternately, you can switch the plan without applying any of it's limits with the --plan flag." To make this fix, edit line 1108 in file blesta/components/modules/virtualmin/virtualmin.php from: 'plan' => $package_to->meta->plan, to: 'apply-plan' => $package_to->meta->plan, In addition, if using php8 with Blesta 5.9.3, it is necessary to also make the following change to fix a TypeError bug Edit line 867 in file blesta/components/modules/virtualmin/virtualmin.php from: if (!array_key_exists($key, $service_fields) || $vars[$key] != $service_fields->$key) { to: if (!array_key_exists($key, (array)$service_fields) || $vars[$key] != $service_fields->$key) {
-
Paul started following Error upgrading/downgrading plan with Virtualmin module of Blesta
-
Thanks for the report, we've created the following task: https://dev.blesta.com/browse/CORE-5156
-
I fixed the bug reported above myself by editing line 867 in file blesta/components/modules/virtualmin/virtualmin.php from: if (!array_key_exists($key, $service_fields) || $vars[$key] != $service_fields->$key) { to: if (!array_key_exists($key, (array)$service_fields) || $vars[$key] != $service_fields->$key) { However, although this restores behaviour to same as with php7, a detailed look at the effects showed only the plan name was changed in Virtualmin. This is another bug. I will post details of this additionally discovered bug after I have tested what may be a fix for it.
-
johnhe started following Error upgrading/downgrading plan with Virtualmin module of Blesta
-
Issue is unable to change plan used on Virtualmin, with Virtualmin module through Blesta, with upgrade/downgrade. Two stage manual change is a workaround (change without module on Blesta and then change directly on Virtualmin) Steps to reproduce are: Client, Service, Manage, Upgrade/Downgrade, change package/term (with Use module ticked -module is Virtualmin), Save URL page before error is .../admin/clients/editservice/...... Result is HTTP 500 error Blesta general error in logs: general.ERROR: Uncaught Exception TypeError: "array_key_exists(): Argument #2 ($array) must be of type array, stdClass given" at .../blesta/components/modules/virtualmin/virtualmin.php line 867 {"exception":"[object] (TypeError(code: 0): array_key_exists(): Argument #2 ($array) must be of type array, stdClass given at .../blesta/components/modules/virtualmin/virtualmin.php:867)"} OS is Debian 12, Blesta version is 5.9.3, PHP version is 8.2.7, Blesta Virtualmin module version is 1.8.0 This bug was originally reported in error to the 5.9 beta bugs section.
- Yesterday
-
Version 2.4 Released! Updated various articles and images. Used H2 tags to improve appearance and help with SEO. Fixed minor issues. Removed traces of Horde from cPanel articles, as Horde is deprecated in cPanel. Updated Outlook 2019 to Outlook 2021. Made various changes related to cPanel, DirectAdmin, and Plesk. Resolved image-related issues. Now we have started using software for tracking Roadmap of PreMadeKB. Many more improvements.
- 77 replies
-
- hosting kb
- premadekb
- (and 7 more)
-
Paul started following Upgrade Bug
-
Your issue is much earlier, in a 5.5 upgrade task. Not to say you won't experience the same issue if your upgrade makes it to 5.8. In any case, I've mentioned this to the team so we can investigate. This is an issue for some people, but not all people so it may be partly dependent on MySQL/MariaDB version. @exception0x876 what is your MySQL or MariaDB version?
-
Jason Ryan started following Upgrade Bug
-
I am experiencing the same issue, when did you run the query you posted, prior to upgrading or after?
- Last week
-
NeilSeb joined the community
-
Hi, I wonder if you can help me with a issue. I am attempting to import from WHMCS to Blesta, but I am stuck at this point. UPDATE services INNER JOIN `module_rows` ON `services`.`module_row_id` = `module_rows`.`id` INNER JOIN `modules` ON `modules`.`id` = `module_rows`.`module_id` AND `modules`.`class` = 'generic_domains' INNER JOIN `package_pricing` ON `package_pricing`.`id` = `services`.`pricing_id` INNER JOIN `packages` ON `package_pricing`.`package_id` = `packages`.`id` INNER JOIN `package_meta` ON `package_meta`.`package_id` = `packages`.`id` AND `package_meta`.`key` = 'tlds' INNER JOIN `pricings` ON `package_pricing`.`pricing_id` = `pricings`.`id` INNER JOIN `modules` AS enom_module ON `enom_module`.`class` = 'enom' INNER JOIN `module_rows` AS enom_module_row ON `enom_module_row`.`module_id` = `enom_module`.`id` INNER JOIN `pricings` AS enom_pricings ON `enom_pricings`.`term` = `pricings`.`term` AND `enom_pricings`.`period` = `pricings`.`period` INNER JOIN `package_pricing` AS enom_package_pricing ON `enom_package_pricing`.`pricing_id` = `enom_pricings`.`id` INNER JOIN `packages` AS enom_packages ON `enom_package_pricing`.`package_id` = `enom_packages`.`id` AND `enom_packages`.`module_id` = `enom_module`.`id` INNER JOIN `package_meta` AS enom_package_meta ON `enom_packages`.`id` = `enom_package_meta`.`package_id` AND `enom_package_meta`.`key` = 'tlds' AND `enom_package_meta`.`value` = `package_meta`.`value` SET `services`.`module_row_id` = `enom_module_row`.`id`, `services`.`pricing_id` = `enom_package_pricing`.`id` I am trying to run the SQL to change from generic_domains to Enom but it is returning " 0 rows affected. (Query took 0.0008 seconds.)" Any ideas how I can resolve it? kind regards
-
webnesthosting changed their profile photo
-
johnhe started following Selling Hosting Question
-
Short answer: following on from Paul's answer, use an order form of type 'Domain and other'. Longer less specific answer: Selling hosting and selling DNS is selling two separate services that are linked by passing on a name. The services can be included in the same order. What links the services is the domain name (specified by the customer OR passed through automatically when using order type 'Domain and other') and the custom name servers (pre specified). It is not a simple process to set up but it does work. I would not consider it straightforward. But I would consider it appropriate given the complexities of what is involved.
-
OK thanks, I will wait until version 5.10 beta 1 to report back For anyone else interested, following is a useful command to extract unique log messages, independent of date and with home directory removed. cat general-notice-2024-03-*.log | cut -d ' ' -f 1 --complement | awk -F, '!seen[$1]++' | sed 's/\home.*\/blesta\///'> uniquelineslogs.txt
-
If you are on 5.9.3, there are substantially fewer notices in ../logs_blesta/ that in 5.8. We'll release version 5.10 beta 1 soon. I would recommend installing it, if you see any notices on PHP 8.2, let us know what they are and how you encounter them and we'll take a look.
-
Although I have line 'Configure::errorReporting(0);' in config/blasta.php, this has no effect on reporting in daily logs in logs_blesta directory. With Blesta 5.9.3, there are still numerous E_DEPRECATED messages using php 8.2, for example megabytes worth in general-notice-XXXX-XX-XX.log. How can I stop this? John
- Earlier
-
Paul started following Selling Hosting Question
-
I have sent the email, thank you.
-
dauvio changed their profile photo
-
od-ana reacted to an answer to a question: remove ACH adn creditcard option
-
Hi all. How to set up feedback request for client who has been registered xx days, example 15 days after sign up? So, after 15 days, it sends email to clients to request feedback for services? Thanks before.
-
Hi @Janet Please take a look at this link How to configure NameSilo in Blesta Hope this helps.
-
Hey everyone, Just hoping someone could help on the subject of editing email templates. So when I go in to edit an existing template I click the HTML button which populates the HTML snippet. From there I have added a header and footer to each email. The only issue that I have come across is that the email signature that Blesta loads is outside the email and is showing below the footer. Is there any way that this can be edited/changed so it loads at the bottom of each email as it should. I have tried creating the header and then using the HTML snipper to create the footer then the text from the email isn't being displayed correctly in the email being sent and resumes to add the signature at the bottom of the page after the last HTML snippet.
-
MDHMatt started following Blestarized - Ultimate Blesta Admin Template
-
blesta admin Blestarized - Ultimate Blesta Admin Template
MDHMatt replied to armandorg's topic in The Marketplace
does it include a client area also? -
I've seen instructions for setting up to sell shared hosting with automated provisioning, but it all assumes you are setting this up on a server that you control. Is there a straightforward way to resell hosting? I have namesilo for domains, and eventually figured that out, but their hosting packages aren't in their domain module.
-
client theme Allure Blesta Theme by SwiftModders
SwiftModders replied to SwiftModders's topic in The Marketplace
We have a new release, version 1.2.3, available for download. This release fixes a handful of bugs and adds support for Blesta 5.9. You can check out a live demo and purchase your license today.- 17 replies
-
- blesta theme
- theme
-
(and 4 more)
Tagged with:
-
I discovered it was a caching issue with both my browser and cloudflare Thanks anyway
-
Hello there, I tried editing order form colors, through CSS, but I can't change that green color, I tried everything without success I don't know If my edits are correct and there is some CSS caching that prevents me from seeing the edits live. Any help will be much appreciated Thanks
-
Karim joined the community
-
I have upgraded to 5.9.3 today and discovered a bug in the upgrade step components/upgrades/tasks/upgrade5_8_1.php The query that fails there is ALTER TABLE `contact_permissions` CHANGE `client_id` `client_id` INT UNSIGNED NOT NULL It fails with the following error general.ERROR: PDOException: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'client_id' at row 8 in ..../vendors/minphp/db/src/PdoConnection.php:196 Stack trace: #0 ..../vendors/minphp/db/src/PdoConnection.php(196): PDOStatement->execute(Array) #1 ..../components/upgrades/tasks/upgrade5_8_1.php(87): Minphp\Db\PdoConnection->query('ALTER TABLE `co... ') #2 ..../components/upgrades/tasks/upgrade5_8_1.php(54): Upgrade5_8_1->setContactPermissio nClientId() #3 ..../components/upgrades/upgrades.php(294): Upgrade5_8_1->process('setContact Permi...') #4 .../components/upgrades/upgrades.php(103): Upgrades->processObject(Object(Upg rade5_8_1), NULL) #5 ..../app/controllers/admin_upgrade.php(109): Upgrades->start('5.8.0-b1' , '5.9.3') #6 ..../vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminUpgrade->process( ) #7 ..../index.php(21): Dispatcher::dispatch('/admin/upgrade/...') #8 {main} I have fixed this error by running the following query manually delete cp.* from contact_permissions cp left join contacts c on cp.contact_id=c.id where c.id is null
-
josh joined the community
-
Janet joined the community
-
Hi, If you are still on the lookout to hire someone, I would be glad to help you out as what you are wanting done is within my skillset You can reach out to me on my email here Colin