Koozali.org: home of the SME Server

horde 3 update

thecat

horde 3 update
« on: April 14, 2005, 07:21:44 AM »
I been attempting to update horde tothe latest version. I have followed the scripts carefully, and I have even tried running php4.3.11 (which seems to be ok)

However, when anyone logs onto their webmail. People are able to see how many messages are in the inbox, but do not see any of the actual message.

thecat

horde 3 update
« Reply #1 on: April 15, 2005, 02:15:32 AM »
anyone anyone?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #2 on: April 15, 2005, 04:37:02 AM »
Patience, :pint:  eventually someone will probably get to you.  Did you check for any errors in  var/log/messages,  
/var/log/httpd/access_log or /var/log/httpd/error_log?

JB
......

thecat

horde 3 update
« Reply #3 on: April 15, 2005, 05:01:13 AM »
woops just noticed some errors in the logs regarding the php updates

php: PHP Warning:  Unknown(): ldap: Unable to initialize module Module compiled with module API=20010901, debug=0, thread-safety=0 PHP    compiled with module API=20020429, debug=0, thread-safety=0 These options need to match  in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_init in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_version in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_setopt in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_exec in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_getinfo in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_error in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_errno in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - curl_close in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  curl:  Unable to register functions, unable to load in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_version in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_open_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmldocfile in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_open_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - html_doc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - html_doc_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_xmltree in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xmltree in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_substitute_entities_default in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_document_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_add_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_set_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_mem_file in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dump_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_html_dump_mem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_elem_get_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_elem_set_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_children in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_has_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_new_child in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_unlink_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_set_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_get_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_add_namespace in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_node_set_namespace in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_doc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_add_chunk in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_start_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end_element in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_comment in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_characters in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_entity_reference in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_processing_instruction in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_cdata_section in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_namespace_decl in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_start_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_end_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_parser_get_document in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_new_context in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_eval in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_eval_expression in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xpath_register_ns in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_elements_by_tagname in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_element_by_id in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xptr_new_context in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - xptr_eval in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_add_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_get_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_root in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_attributes in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_get_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_getattr in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_set_attribute in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_setattr in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_children in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_new_child in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_unlink_node in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - set_content in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - new_xmldoc in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_dumpmem in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_validate in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  Function registration failed - duplicate name - domxml_doc_xinclude in Unknown on line 0
Apr 15 12:55:00 proliant7000 php: PHP Warning:  domxml:  Unable to register functions, unable to load in Unknown on line 0

Any ideas? Would I better off going php 4.3.10 instead of 4.3.11? Is that even possible?

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #4 on: April 15, 2005, 05:28:29 AM »
That I can't answer you.  I have not tested the horde3 script with any of the php 4.3.11 stuff.  I know the script works with the 4.3.10 rpms it references.  I am running horde3 on my site.  I am no php expert.  This is what I would do.  I would un-install the 4.3.11 and go back to 4.3.10 per the script.  Did you let the script run by itself, or cut and paste the lines in.  Also look at /etc/php.ini and see if you have any duplicate lines.  If so, look at the template fragments and see if you can correct them.  Depending on when you ran the script, I had a typo in it that would add the fileinfo lines everytime the script was ran.  I'll be uploading an update to the script hopefully in the next day or so that includes the latest imp release and php accelerator.  Or, maybe I have already done that.  Anyway, you also don't have to cut and paste the script.  You can download it from http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh

That's my nickel's worth.

JB
......

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
horde 3 update
« Reply #5 on: April 15, 2005, 06:48:25 AM »
Uninstall eaccelerator. But this action not solve all problems. When I update to 4.3.11 I can't add any block to horde portal. Then I return to 4.3.10. To do this uninstall all php files with rpm -e --nodeps and install php 4.3.10. Then update or install DB from pear.
For me (excuse me because i'm a newbie) 4.3.11 dont work properly in 5 (FIVE) SME servers I have.
PicsOne

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #6 on: April 15, 2005, 06:54:01 AM »
FYI.. The script I wrote isn't using eaccelerator, it using PHP accelerator http://www.php-accelerator.co.uk

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #7 on: April 15, 2005, 06:08:03 PM »
I ran the script on my test server (6.0.1) and I have the same problem as above, empty inbox with the number of messages listed.  It's running the correct php version.  The error messages turned on in php I get this:
Warning: bareaddress(Mail/RFC822.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Horde/MIME.php on line 656

Fatal error: bareaddress(): Failed opening required 'Mail/RFC822.php' (include_path='/home/httpd/html/horde/lib:.:/usr/share/pear') in /home/httpd/html/horde/lib/Horde/MIME.php on line 656

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #8 on: April 15, 2005, 09:02:24 PM »
Quote from: "hordeusr"
I ran the script on my test server (6.0.1) and I have the same problem as above, empty inbox with the number of messages listed.  It's running the correct php version.  The error messages turned on in php I get this:
Warning: bareaddress(Mail/RFC822.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Horde/MIME.php on line 656

Fatal error: bareaddress(): Failed opening required 'Mail/RFC822.php' (include_path='/home/httpd/html/horde/lib:.:/usr/share/pear') in /home/httpd/html/horde/lib/Horde/MIME.php on line 656


I just ran it on my test box last night and it ran fine.  I'll run it again this evening and see how it goes.  If it goes fine, I'll re=upload it to my contribs directory.

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #9 on: April 15, 2005, 11:21:07 PM »
My test box isn't completely unmodified.  Mainly I posted because I know what the error message is.  PHP was untouched on this particular test box.  I'm working on an upgrade path on my production server.  The test box is a "Mondo" backup of my production server and everything worked perfect before I ran the script.  I'm sure your script works fine on a completely clean install.  Good to see the addition of the PHP accelerator.  It can make a huge difference.
thanks,
Nate

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #10 on: April 16, 2005, 07:24:25 PM »
Quote from: "hordeusr"
My test box isn't completely unmodified.  Mainly I posted because I know what the error message is.  PHP was untouched on this particular test box.  I'm working on an upgrade path on my production server.  The test box is a "Mondo" backup of my production server and everything worked perfect before I ran the script.  I'm sure your script works fine on a completely clean install.  Good to see the addition of the PHP accelerator.  It can make a huge difference.
thanks,
Nate


I do have you to thank for the php accelerator help.

JB
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
horde 3 update
« Reply #11 on: April 16, 2005, 07:29:27 PM »
I have ran the script 4 different times.  Twice, while upgrading with no mail, and twice while having mail and some additional folders.  I can't duplicate what has been stated above.

I did paste my latest versions on the wiki and the install file in my contribs directory at http://mirror.contribs.org/smeserver/contribs/jbennett/install_horde30.sh

Good Luck,

JB
......

Offline hordeusr

  • **
  • 68
  • +0/-0
horde 3 update
« Reply #12 on: April 16, 2005, 11:34:09 PM »
I'll give the script another try next week and see what happens.  My current project has a higher priority...500gb file server with SME using a 3ware card and 3 250mb SATA drives.  After that I'll be back to the SME mail server.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
horde 3 update
« Reply #13 on: April 19, 2005, 02:54:38 PM »
Nice update

Seemed to install fine an a heavily modified server (as in a lot of exctra features loaded on)

Only one problem I have is in the server-manager panel I cannot access the "Horde Admin Setup" or "Horde Admin Save" it says "You do not have permission to access /server-manager/cgi-bin/hordeadminsetup on this server".

How do I get access to the features in there.

Apart from that small problem the webmail looks really nice now ... I like this one a lot better,

Regards,

Tib

Offline Smitro

  • *
  • 349
  • +0/-0
horde 3 update
« Reply #14 on: April 19, 2005, 03:34:16 PM »
I just ran the script on my SME 6.5 box, and it's awesome. Thanks heeps. I can't believe how good it is!

My machine also has a fair few extras added on.
.........