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

Wiki Guest wikiguest at horde.org
Fri May 9 10:46:10 UTC 2008


guest [194.176.193.10]  Fri, 09 May 2008 06:46:10 -0400

Modified page: http://wiki.horde.org/FAQ/Admin/Troubleshoot
New Revision:  7.10
Change log:  Some more notes about horde's cookie path

@@ -19,9 +19,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/``.
+: 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.
 : 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].


More information about the cvs mailing list