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

Wiki Guest wikiguest at horde.org
Sat Feb 5 05:30:54 UTC 2011


guest [24.237.84.217]  Sat, 05 Feb 2011 00:30:53 -0500

Modified page: http://wiki.horde.org/FAQ/Admin/Troubleshoot
New Revision:  7.23
Change log:  Add comments for restarting browser when testing cookie issues

@@ -25,8 +25,9 @@
  : 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 "What 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
  : Check the session storage. : By default sessions are stored on the  
file system, check that your hard-disc partitions still have plenty of  
room for session storage.
+: Try restarting the apache server and the browser after making  
configuration changes.

  +++ 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].

@@ -111,17 +112,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}}.

@@ -221,9 +222,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 commits mailing list