Jiden
This user hasn't shared any profile information
Posts by Jiden
Solve com_installer , com_joomlaupdate errors after Joomla 2.5.4 upgrade
0Just upgraded one of our Joomla sites and noticed that administration shows errors like:
Error loading Component: com_joomlaupdate, 1
Error loading Component: com_installer, 1
Seems that “something” deleted com_installer & com_joomlaupdate entries in the #__extensions table. I got the deleted values from a clean Joomla 2.5.4. install and after restoring them to the broken database all works fine again.
So to solve the problem you just have to run a sql query replacing #__extensions with your exact table name so if your database prefix is, for example, jml25_ replace #__extensions with jml25_extensions
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (10, 'com_installer', 'component', 'com_installer', '', 1, 1, 1, 1, '{"legacy":false,"name":"com_installer","type":"component","creationDate":"April 2006","author":"Joomla! Project","copyright":"(C) 2005 - 2012 Open Source Matters. All rights reserved.\\t","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"COM_INSTALLER_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0); INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (28, 'com_joomlaupdate', 'component', 'com_joomlaupdate', '', 1, 1, 0, 1, '{"legacy":false,"name":"com_joomlaupdate","type":"component","creationDate":"February 2012","author":"Joomla! Project","copyright":"(C) 2005 - 2012 Open Source Matters. All rights reserved.\\t","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"COM_JOOMLAUPDATE_XML_DESCRIPTION","group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0);
Hope this helps.
Template parameters database store in joomla 2.5.x
0Noticed that in Joomla 2.5.x template parameters are no longer stored at table #__components ( or equivalent #__extensions).
Now exists a new table called #__template_styles
Parameters are stored in JSON format.
Example parameter:
{"wrapperSmall":"53","wrapperLarge":"72","logo":"images\/logo-js.png","sitetitle":"Joomla! Spanish","sitedescription":"Gestor de Contenido Open Source 2.5","navposition":"left","templatecolor":"personal","html5":"0"}
Default template values are still stored in #__extensions table.
.bashrc para SSH en Ubuntu
0Por defecto cuando conectamos a Ubuntu Server por SSH no carga automáticamente el archivo .bashrc de nuestro home.
¿Dónde ponemos los alias entonces?
Debemos crear un archivo .profile en nuestro home (cuyo funcionamiento es el mismo que el antiguo .bash_profile) con el siguiente contenido:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
De esta forma el archivo .profile será el encargado de buscar el archivo .bashrc y cargarlo en caso de estar disponible.