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

Wiki Guest wikiguest at horde.org
Sun Jun 8 12:23:44 UTC 2008


guest [85.83.120.40]  Sun, 08 Jun 2008 08:23:44 -0400

Modified page: http://wiki.horde.org/FAQ/Admin/Troubleshoot
New Revision:  7.11
Change log:  added info about session.auto_start

@@ -20,8 +20,9 @@
 : Check that PHP sessions are working at all using the sessions test on the
{{/horde/test.php}} test script. : If not, make sure that your browser
accepts cookies. Otherwise check
http://www.php.net/manual/en/ref.session.php for more information and hints.
 : Try logging in with the default PHP session handler if you configured a
custom session handler in Horde's setup. : If this works, something is
broken with your custom session handler setup or backend. Continue
troubleshooting there.
 : If using Horde 3.1.2 or later, change the configuration to allow
non-cookie, url-based sessions. : If this works, cookies aren't stored in
your browser. This could be caused by the browser configuration or a faulty
session cookie setup, see the next point. If you already locked yourself out
of Horde, edit the configuration file {{horde/config/conf.php}} manually and
set {{$conf['session']['use_only_cookies'] = false;}}.
 : Make sure that you are using the correct cookie domain and path settings
in Horde's setup. : Cookies are not stored in the browser if you don't use a
FQDN (fully qualified domain name), e.g. ``http://localhost/horde/``, or if
the specified cookie path ({{/horde}} by default) doesn't match the webroot
of your Horde installation, e.g. ``http://webmail.example.org/``,
``http://www.example.org/horde-3.1.2/``. To find this, go to the Horde
configuration page on the General tab, and the last box on that page says
"Where path should we set cookies to?". Alternatively, in conf.php, look for
the value $conf['cookie']['path']. Set that to the base URL for horde.
+:If session.auto_start is set to 1 in the php.ini file the login page will
loop. Set it to 0.
 : Delete any cookies in your browser for Horde to test any of the above
changes - otherwise wrong cookies might be stored in your browser and the
above actions still fail

 +++ After logging in the message "Last login: Never" is displayed. Always.
 You didn't configure a permanent preference backend like SQL or LDAP.
Preference backends are used to store user settings and personal stuff like
the last login time. As an administrator go the the setup screen for Horde,
select the {{Preference System}} tab, and enter the necessary settings. The
{{PHP Sessions}} backend does //not// store the user settings permanently.
You might also need to create some storage resource in the backend of your
choice, e.g. a table in your SQL database or a scheme in your LDAP
directory. But this is covered in the
[http://www.horde.org/horde/docs/?f=INSTALL.html installation
documentation].
@@ -107,17 +108,17 @@
 +++ "top.opener.parent is not an object"
 This error is the result of a bug in Internet Explorer.
[mailto:stuart at eclipse.net.uk Stuart] suggests that the following commands
(executed on the Windows system on which Internet Explorer is installed)
will solve the problem:

 <code>
-regsvr32 c:\windows\system32\actxprxy.dll
-regsvr32 c:\windows\system32\shdocvw.dll
+regsvr32 c:windowssystem32actxprxy.dll
+regsvr32 c:windowssystem32shdocvw.dll
 </code>

 The FAQ maintainer has //not// tested the above! Make sure you have a
backup of your system before playing with deep Windows magic.

 +++ "Unable to load dynamic library php_whatever.dll - The specified module
could not be found."

-This error message is a misrepresentation of the actual problem. Often
occurs when some dependency needed for php_whatever.dll is missing.e.g. need
to copy iconv.dll (from the dlls folder under to the php install directory)
to windows\system32 to get php_gettext.dll to load.
+This error message is a misrepresentation of the actual problem. Often
occurs when some dependency needed for php_whatever.dll is missing.e.g. need
to copy iconv.dll (from the dlls folder under to the php install directory)
to windowssystem32 to get php_gettext.dll to load.

 +++ "Unable to open VFS file for writing"
 If you see this message from kronolith or trean (or any other application
hat uses crontabs) you are running a crontab script as a different user as
you did in the first run. Adjust your crontab (running it as same user as
the webserver is a good idea) and also change the ownship of
{{<your_vfs_root>/.horde}}.

@@ -217,9 +218,9 @@
     if (!($db = mysql_connect('localhost','root','yourpassword'))) return
1;
     if (!mysql_query('create database testdb', $db)) return 2;
     if (!mysql_select_db('testdb', $db)) return 3;
     if (!mysql_db_query('testdb', 'create table testtest ( test char(60))',
$db)) return 4;
-    if (!mysql_db_query('testdb', 'insert into testtest values (\'hello
world!\')', $db)) return 5;
+    if (!mysql_db_query('testdb', 'insert into testtest values ('hello
world!')', $db)) return 5;
     if (!($result = mysql_db_query('testdb', 'select * from testtest',
$db))) return 6;
     if (mysql_num_rows($result) > 0) echo mysql_result($result, 0, 0);
     if (!mysql_db_query('testdb', 'delete from testtest', $db)) return 7;
     if (!mysql_query('drop database testdb', $db)) return 8;


More information about the cvs mailing list