[BETA] 'An error has occurred' displays when component is installed in Joomla 5 website. #1050
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1050
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Install new builded 'backend only' component in fresh 5.0.2 Joomla site, site has no extra Plugins, Extensions or Components installed
Component should work as it does in a Joomla 3 site when the component is compiled for J3 with an older version of JCB
Component installs, in the Joomla administrator the component menu's are visible, for each admin view a menu items. All component's menu items give the same error: Class "JCB\Component<componentname>\Administrator\Model\Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power" not found
There is no Model folder in \Administrator. Should this be installed by the component or do I need to do additional steps?
System information (as much as possible)
Additional comments
This error occur when JCB compiler can't fetch the powers it needs during the compilation of your component.
Which means I will need to know more about the instance where JCB is running... not where the component is suppose to work.
Meaning JCB 3.1.37 is on Joomla 3.10.12 and PHP 8.0
The next thing to know is when you compile your extension what errors does it give you?
Normal y if JCB can't get the power classes it needs, it tells you that. You will have to make sure that your JCB instance have access to the internet, so that it can pull the powers from the receptive repositories as needed.
Also make sure the if you simple upgraded the JCB component that all the respective plugins are installed, by manually installing the package. Once this is done, you will also need to look over the the plugins that they are activated and linked to JCB. Look at this tutorial for more info.
Thank you for pointing me into the correct direction. Appreciated! I re-installed the suggested software versions on my development system and it solved the issue. Big thanks for this amazing magnificent tool. I will sign up for a pro account, I'm in the middel of getting a PayPal account, so I can proceed with the payment.
I used a component build with an older version of JCB, which has 300 x 300 px images for the Dashboard buttons. The new one needs 128 x 128 px. This results in images exceeding the component Dashboard button borders. The fix is very easy (for those who work with 300px images). Add this to the administrator/assets/css/dashboard.css:
.dashboard-content img {
width:100%;
}
So yesterday our in house testing Team found that they could not get a few of our own components to work, it kept missing classes. We then discovered that the installer of Joomla times-out and the complete package does not install, even thought it says that it did. So they asked me what tweaks to PHP I am using on my development system. So here is some of my PHP.ini tweaks:
If you add these, and install JCB again.... and also on the system where your planning to install you component... I think it will resolve your problem. Yes, you could remove this in most cases after the install, but in your development system it might be best to keep it on.
But for large extensions like those that JCB can build making these changes seems necessary, at least on the initial install.