[commits] [Wiki] changed: FAQ/Admin/Troubleshoot

Jan Schneider jan at horde.org
Sun Jun 17 14:07:34 UTC 2018


jan  Sun, 17 Jun 2018 14:07:34 +0000

Modified page: https://wiki.horde.org/FAQ/Admin/Troubleshoot
New Revision:  88
Change log:  Things to check on missing migration directories

@@ -71,8 +71,18 @@
  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown  
downgrade-1.0 force-response-1.0
  </code>

  ++ Common error messages
+
++++ "Database migration files not found. Please check PEAR's data_dir  
configuration setting."
+This error message is from Horde and appears if {{migration/}}  
directories from Horde Framework packages either cannot be located, of  
if the {{package.xml}} files for those packages cannot be parsed. The  
latter should log additional information to the Horde log file (syslog  
by default).
+
+A few things to check:
+
+* {{pear list-channels}} must include pear.horde.org
+* {{pear config-show horde_dir}} must point to Horde's webroot
+* The current command line user might have different (sytem or user)  
PEAR configuration files ({{pear config-show}})
+  * On some distributions (namely SUSE) there are different  
configuration directories compiled into the CLI and webserver/fpm  
versions of PHP, e.g. {{/etc/php7/cli vs. /etc/php7/apache2}}. Fix  
this by pointing them to the same directory for PEAR only with the  
{{PHP_PEAR_SYSCONF_DIR}} environment variable.

  +++ "Call to undefined function: _( )"
  This error occurs when PHP is not compiled with gettext support. As  
of version Horde 2.0, PHP needs to be compiled with gettext support.  
Rebuild PHP with the {{--with-gettext}} option to {{configure}}, or if  
using RPM's install the php-gettext RPM. ({{_()}} is a synonym for  
{{gettext()}} in PHP.)




More information about the commits mailing list