cms:drupal_7
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cms:drupal_7 [2014/07/12 10:48] – created javi | cms:drupal_7 [2017/02/09 13:16] (current) – [Actualizar modulo] javi | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| http:// | http:// | ||
| + | |||
| + | ====== Idioma ====== | ||
| + | Nos descargamos el idioma que queremos: | ||
| + | https:// | ||
| + | Lo ponemos en: | ||
| + | drupal-7.31/ | ||
| + | Por ejemplo castellano y catalán: | ||
| + | http:// | ||
| + | http:// | ||
| ====== Calendar ====== | ====== Calendar ====== | ||
| Line 126: | Line 135: | ||
| sudo drush vset theme_default theme_name | sudo drush vset theme_default theme_name | ||
| + | * Listar disponibles: | ||
| + | |||
| + | drush pm-list | grep Theme | ||
| + | |||
| + | ===== Actualizar core ===== | ||
| + | |||
| + | < | ||
| + | sudo drush vset --always-set maintenance_mode 1 | ||
| + | sudo drush cache-clear all | ||
| + | sudo drush up drupal | ||
| + | sudo drush vset --always-set maintenance_mode 0 | ||
| + | sudo drush cache-clear all | ||
| + | </ | ||
| + | |||
| + | ===== Actualizar modulo ===== | ||
| + | |||
| + | < | ||
| + | sudo drush vset --always-set maintenance_mode 1 | ||
| + | sudo drush cache-clear all | ||
| + | sudo drush up | ||
| + | </ | ||
| + | |||
| + | Vemos los modulos que requieren actualizar: | ||
| + | |||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Coder (coder) | ||
| + | Chaos tools (ctools) | ||
| + | | ||
| + | Devel (devel) | ||
| + | | ||
| + | Media (media) | ||
| + | | ||
| + | Flag (flag) | ||
| + | Form builder (form_builder) | ||
| + | | ||
| + | | ||
| + | Link (link) | ||
| + | | ||
| + | | ||
| + | | ||
| + | Token (token) | ||
| + | Views (views) | ||
| + | Views RSS (views_rss) | ||
| + | Views RSS: iTunes Elements (views_rss_itunes) | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Actualizamos el modulo Features: | ||
| + | |||
| + | < | ||
| + | sudo drush pm-update features votingapi webform | ||
| + | y | ||
| + | </ | ||
| + | |||
| + | Comprobamos de nuevo: | ||
| + | |||
| + | < | ||
| + | sudo drush up | ||
| + | </ | ||
| + | |||
| + | Terminamos: | ||
| + | |||
| + | < | ||
| + | sudo drush vset --always-set maintenance_mode 0 | ||
| + | sudo drush cache-clear all | ||
| + | </ | ||
| + | |||
| + | ===== Ver configuración de drush ===== | ||
| + | |||
| + | Útil para por ejemplo saber qué php.ini está usando: | ||
| + | |||
| + | drush status | ||
| + | |||
| + | < | ||
| + | exec() has been disabled for security reasons bootstrap.inc: | ||
| + | The following restricted PHP modes have non-empty values: | ||
| + | disable_functions. This configuration is incompatible with drush. | ||
| + | Please check your configuration settings in / | ||
| + | in your drush.ini file; see examples/ | ||
| + | exec() has been disabled for security reasons bootstrap.inc: | ||
| + | exec() has been disabled for security reasons bootstrap.inc: | ||
| + | exec() has been disabled for security reasons bootstrap.inc: | ||
| + | exec() has been disabled for security reasons bootstrap.inc: | ||
| + | | ||
| + | Site URI : http:// | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | PHP configuration | ||
| + | Drush version | ||
| + | Drush configuration | ||
| + | | ||
| + | Site path : | ||
| + | File directory path : | ||
| + | | ||
| + | | ||
| + | </ | ||
| ====== Jquery ====== | ====== Jquery ====== | ||
| Line 288: | Line 406: | ||
| http:// | http:// | ||
| + | ====== Modulos interesantes ====== | ||
| + | |||
| + | ===== Mogul ===== | ||
| + | |||
| + | Content types etc... para podcasts | ||
| + | |||
| + | Enlace interesante: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | ===== Bundle copy ===== | ||
| + | |||
| + | En su version 7.x-2.x-dev permite clonar content types | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ====== Errores ====== | ||
| + | |||
| + | ===== Congelado en la pantalla de base de datos durante la instalacion ===== | ||
| + | |||
| + | Sintoma: | ||
| + | |||
| + | 1. No hay forma de proseguir de la pagina: | ||
| + | |||
| + | install.php? | ||
| + | |||
| + | 2. Solo ha creado 32 tablas | ||
| + | |||
| + | mysql -u root -p -e "use drupal; show tables;" | ||
| + | |||
| + | 3. Error drush | ||
| + | |||
| + | Solucion: | ||
| + | |||
| + | 1. Editar php.ini | ||
| + | |||
| + | sudo cp / | ||
| + | sudo vim / | ||
| + | | ||
| + | | ||
| + | 2. Ajustar | ||
| + | |||
| + | session.cookies_secure=0 | ||
| + | | ||
| + | 3. Reiniciar apache | ||
| + | |||
| + | sudo service apache2 restart | ||
| + | | ||
| + | 4. Borrar cache de navegador | ||
| + | |||
| + | 5. Repetir el proceso de instalacion desde 0 (filesystem borrado/ | ||
cms/drupal_7.1405162104.txt.gz · Last modified: (external edit)
