×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Bug? On reinstall of a component I get
Ryan
New Member
Posts: 7
7 Anni 2 Mesi fa #1631
da Ryan
Bug? On reinstall of a component I get è stato creato da Ryan
This is on Joomla 3.7.5 Installed once fine ... uninstalled and reinstalled and I get a menu error.
No administrator menu is shown but component says it installs.
Message
Plugin speechies was installed successfully
Module mod_speechies was installed successfully
Installation of the component was successful.
Error
JTableMenu::_getNode(1, ) failed.
Warning
Error building Administrator Menus.
No administrator menu is shown but component says it installs.
Message
Plugin speechies was installed successfully
Module mod_speechies was installed successfully
Installation of the component was successful.
Error
JTableMenu::_getNode(1, ) failed.
Warning
Error building Administrator Menus.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Ryan
New Member
Posts: 7
7 Anni 2 Mesi fa #1632
da Ryan
Risposta da Ryan al topic Bug? On reinstall of a component I get
It looks like the first 3 records of the #__menu table have been removed on the uninstall process.
I noticed there was an error with my views on first creation, it seems when cloning database tables changing the name of the table doesnt change the name for the view. This caused errors with my views and a double up .... which in turn has probably messed up the uninstall process.
running ...
INSERT INTO `DATABASE`.`PREFIX_menu` (`id` ,`menutype` ,`title` ,`alias` ,`note` ,`path` ,`link` ,`type` ,`published` ,`parent_id` ,`level` ,`component_id` ,`checked_out` ,`checked_out_time` ,`browserNav` ,`access` ,`img` ,`template_style_id` ,`params` ,`lft` ,`rgt` ,`home` ,`language` ,`client_id` ) VALUES ( '1', '', 'Menu_Item_Root', 'root', '', '', '', '', '1', '0', '0', '0', '0', '0000-00-00 00:00:00', '0', '0', '', '0', '', '0', '0', '0', '*', '0')
Rebuilds the first row and makes you able to install the component again. I will have to manually fix up the other missing com_banner records.
I noticed there was an error with my views on first creation, it seems when cloning database tables changing the name of the table doesnt change the name for the view. This caused errors with my views and a double up .... which in turn has probably messed up the uninstall process.
running ...
INSERT INTO `DATABASE`.`PREFIX_menu` (`id` ,`menutype` ,`title` ,`alias` ,`note` ,`path` ,`link` ,`type` ,`published` ,`parent_id` ,`level` ,`component_id` ,`checked_out` ,`checked_out_time` ,`browserNav` ,`access` ,`img` ,`template_style_id` ,`params` ,`lft` ,`rgt` ,`home` ,`language` ,`client_id` ) VALUES ( '1', '', 'Menu_Item_Root', 'root', '', '', '', '', '1', '0', '0', '0', '0', '0000-00-00 00:00:00', '0', '0', '', '0', '', '0', '0', '0', '*', '0')
Rebuilds the first row and makes you able to install the component again. I will have to manually fix up the other missing com_banner records.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Ryan
New Member
Posts: 7
7 Anni 2 Mesi fa #1633
da Ryan
Risposta da Ryan al topic Bug? On reinstall of a component I get
Confirming this bug fix.
Fixing the component view name of the table you cloned (so its not the same as the clone). and running the sql to fix the missing records
INSERT INTO `DATABASE`.`PREFIX_menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
(1, '', 'Menu_Item_Root', 'root', '', '', '', '', 1, 0, 0, 0, 0, '0000-00-00 00:00:00', 0, 0, '', 0, '', 0, 123, 0, '*', 0),
(2, 'main', 'com_banners', 'Banners', '', 'Banners', 'index.php?option=com_banners', 'component', 1, 1, 1, 4, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 1, 10, 0, '*', 1),
(3, 'main', 'com_banners', 'Banners', '', 'Banners/Banners', 'index.php?option=com_banners', 'component', 1, 2, 2, 4, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 2, 3, 0, '*', 1);
then reinstalling the fixed built component. Will have no errors.
Fixing the component view name of the table you cloned (so its not the same as the clone). and running the sql to fix the missing records
INSERT INTO `DATABASE`.`PREFIX_menu` (`id`, `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
(1, '', 'Menu_Item_Root', 'root', '', '', '', '', 1, 0, 0, 0, 0, '0000-00-00 00:00:00', 0, 0, '', 0, '', 0, 123, 0, '*', 0),
(2, 'main', 'com_banners', 'Banners', '', 'Banners', 'index.php?option=com_banners', 'component', 1, 1, 1, 4, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 1, 10, 0, '*', 1),
(3, 'main', 'com_banners', 'Banners', '', 'Banners/Banners', 'index.php?option=com_banners', 'component', 1, 2, 2, 4, 0, '0000-00-00 00:00:00', 0, 0, 'class:banners', 0, '', 2, 3, 0, '*', 1);
then reinstalling the fixed built component. Will have no errors.
Ringraziano per il messaggio: Steven Fung
Si prega Accedi o Crea un account a partecipare alla conversazione.
Andres Maeso
Platinum Member
Posts: 338
7 Anni 2 Mesi fa #1635
da Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Risposta da Andres Maeso al topic Bug? On reinstall of a component I get
Hi Ryan
We can't reproduce your issue, but we could look into that issue if you share with us a backup of your website using akeeba. You may need to upload it to wetransfer or a similar service. Please send it to Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Regards,
Andrés.
We can't reproduce your issue, but we could look into that issue if you share with us a backup of your website using akeeba. You may need to upload it to wetransfer or a similar service. Please send it to Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Regards,
Andrés.
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Ringraziano per il messaggio: Ryan
Si prega Accedi o Crea un account a partecipare alla conversazione.
Ryan
New Member
Posts: 7
7 Anni 2 Mesi fa #1639
da Ryan
Risposta da Ryan al topic Bug? On reinstall of a component I get
Thanks but given the nature of the project I am unable to share the site.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Andres Maeso
Platinum Member
Posts: 338
7 Anni 2 Mesi fa #1640
da Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Risposta da Andres Maeso al topic Bug? On reinstall of a component I get
Hi Ryan,
I understand. If you can provide more information please share with us in Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.. We will be happy to help.
Regards.
Andrés.
I understand. If you can provide more information please share with us in Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.. We will be happy to help.
Regards.
Andrés.
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.056 secondi