The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde problems....

Discussion in 'General Discussion' started by cass, Sep 19, 2002.

  1. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    Its very nice to have horde on cpanel ... very very nice...

    but I get lots of errors on it. (build 83)
    like :
    Warning: Failed opening 'Crypt/HCEMD5.php' for inclusion (include_path='') in /usr/local/cpanel/base/horde/lib/Secret.php on line 41

    Fatal error: Cannot instantiate non-existent class: crypt_hcemd5 in /usr/local/cpanel/base/horde/lib/Secret.php on line 43

    (and that was after I fixed an error in Registry.php....)

    Are you still working on this right? ;)

    Regards.
     
  2. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    oh... the first error was :
    Fatal error: Failed opening required 'PEAR.php' (include_path='') in /usr/local/cpanel/base/horde/lib/Registry.php on line 4

    then... I changed :
    require_once 'PEAR.php';

    with:
    require_once '/usr/lib/php/PEAR.php';

    and got the error posted....
    so I stopped there.... I think is something bad with the paths...
    as I have PEAR.php in :

    /usr/lib/php/PEAR.php
    /usr/local/lib/php/PEAR.php
    /usr/local/cpanel/3rdparty/lib/php/PEAR.php

    so... no one of this paths is a default path or something for includes in php ?

    Regards.
     
  3. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    well... I added the lib path of cpanel into the cpanel php.ini's .... and now ... I get ANOTHER error....

    Notice: Undefined index: DNS in /usr/local/cpanel/base/horde/imp/config/servers.php on line 93

    Warning: Cannot add header information - headers already sent by (output started at /usr/local/cpanel/base/horde/imp/config/servers.php:93) in /usr/local/cpanel/base/horde/imp/redirect.php on line 87

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0


    I think we need to wait until this is stable....
    or this error tells me that this account is not IMAP but POP3 ???
    hrm... maybe you should modify it to show a smart error... :)

    Regards
     
  4. bdraco

    bdraco Guest

    Looks like files are missing... please do a

    ls -l /usr/local/cpanel/3rdparty/lib/php
     
  5. bdraco

    bdraco Guest

    rsync -av rsync://rsync.cpanel.net/3rdparty /usr/local/cpanel/3rdparty
    rsync -av rsync://rsync.cpanel.net/base3rdparty /usr/local/cpanel/base/3rdparty

    run the above if files are missing
     
  6. ukhost

    ukhost Well-Known Member

    Joined:
    Jan 8, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    How do I fix the PEAR.php error?

    Kind Regards,

    Neil
     
  7. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Someone's going to tell me to shutup soon. Open up your php.ini file and go to the include line on it, then add on to it so that it looks something like this (you may have to go on a search for the proper pear directory for your machine):
    include_path = &.:./:/usr/lib/php/PEAR&

    As always, make a backup of the file before you edit it &just incase&. After you save the changes, restart apache.
     
  8. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    nop... files are not missing ... there are missing paths...
    I do what you said ... and now I start again :(

    Fatal error: Failed opening required 'PEAR.php' (include_path='') in /usr/local/cpanel/base/horde/lib/Registry.php on line 4

    then... If I change :
    /usr/local/cpanel/3rdparty/etc/php.ini

    the line :
    include_path =

    for:
    include_path = &/usr/local/cpanel/3rdparty/lib/php/&;

    And voilá... no more error...
    I see the login page ...
    but when I try lo login ...
    I get this :

    Notice: Undefined index: DNS in /usr/local/cpanel/base/horde/imp/config/servers.php on line 93

    Warning: Cannot add header information - headers already sent by (output started at /usr/local/cpanel/base/horde/imp/config/servers.php:93) in /usr/local/cpanel/base/horde/imp/redirect.php on line 87

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0


    Dunno what's this.... I login using the full email...
    I tryed with 2 or 3 mail accounts (main accounts) without luck...
    does I need to run something ?
    I restarted the daemons just in case... but no luck.

    Regards.
     
  9. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Just to see if it works for you to, go to line 93 of:
    /usr/local/cpanel/base/horde/imp/config/servers.php

    and replace the word DNS with HTTP_HOST

    Save and then try to login.
     
  10. bdraco

    bdraco Guest

    [quote:9c76e29a5b][i:9c76e29a5b]Originally posted by JustinK[/i:9c76e29a5b]

    Just to see if it works for you to, go to line 93 of:
    /usr/local/cpanel/base/horde/imp/config/servers.php

    and replace the word DNS with HTTP_HOST

    Save and then try to login.[/quote:9c76e29a5b]

    thats going to mean that all email address are going to have @$HTTP_HOST tacked on though.
     
  11. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    oooh... so that's why you didn't want me to use that. :D Well having DNS there doesn't work at all so it's having the HTTP_HOST as the address or not working at all.

    [edit] I think if you're going to want it to get the correct domain you'll need to write something custom in to feed it the appropriate domain name.
     
  12. bdraco

    bdraco Guest

    try build 86 with DNS (restart webmaild and cpaneld)
     
  13. ukhost

    ukhost Well-Known Member

    Joined:
    Jan 8, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    I have modified my php.ini, now getting the following error:

    Warning: Failed opening 'Log.php' for inclusion (include_path='/usr/local/lib/php/') in /usr/local/cpanel/base/horde/lib/Horde.php on line 145

    Fatal error: Undefined class name 'log' in /usr/local/cpanel/base/horde/lib/Horde.php on line 155


    Kind Regards,

    Neil
     
  14. bdraco

    bdraco Guest

    [quote:a56badbf0e][i:a56badbf0e]Originally posted by ukhost[/i:a56badbf0e]

    I have modified my php.ini, now getting the following error:

    Warning: Failed opening 'Log.php' for inclusion (include_path='/usr/local/lib/php/') in /usr/local/cpanel/base/horde/lib/Horde.php on line 145

    Fatal error: Undefined class name 'log' in /usr/local/cpanel/base/horde/lib/Horde.php on line 155


    Kind Regards,

    Neil[/quote:a56badbf0e]

    Try updating to build 86
     
  15. ukhost

    ukhost Well-Known Member

    Joined:
    Jan 8, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    That fixed it! :)

    Kind Regards,

    Neil
     
  16. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Still getting the DNS error for line 93 (and neomail is still dead). Glad it helped you ukhost. :)

    Is the new version of PHP (4.2.3) required for this to work?
     
  17. bdraco

    bdraco Guest

    [quote:8145f91b33][i:8145f91b33]Originally posted by JustinK[/i:8145f91b33]

    Still getting the DNS error for line 93 (and neomail is still dead).[/quote:8145f91b33]

    Can you submit a support ticket so I can look at it?
     
  18. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    [quote:89c566ed25][i:89c566ed25]Originally posted by bdraco[/i:89c566ed25]

    [quote:89c566ed25][i:89c566ed25]Originally posted by JustinK[/i:89c566ed25]

    Still getting the DNS error for line 93 (and neomail is still dead).[/quote:89c566ed25]

    Can you submit a support ticket so I can look at it?[/quote:89c566ed25]

    Will do. ;)
     
  19. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    My Neomail works fine ...


    but the horde....
    when I use the email without the domain just &user&
    I get:


    Notice: Undefined index: DNS in /usr/local/cpanel/base/horde/imp/config/servers.php on line 93

    Warning: Cannot add header information - headers already sent by (output started at /usr/local/cpanel/base/horde/imp/config/servers.php:93) in /usr/local/cpanel/base/horde/imp/redirect.php on line 75





    When I use the full email address... I get :

    Notice: Undefined index: DNS in /usr/local/cpanel/base/horde/imp/config/servers.php on line 93

    Warning: Cannot add header information - headers already sent by (output started at /usr/local/cpanel/base/horde/imp/config/servers.php:93) in /usr/local/cpanel/base/horde/imp/redirect.php on line 87

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0


    Extrange uh?
     
  20. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    This header error... is usually PHP programming related ...
    I've seen this error when I tryed to do things in PHP...

    It's something that ... you put 2 php headers...

    If I dont remember bad ...

    &?php

    is not the same as

    &?

    or something like this...
    I'm too wrong? ... hey you php gurus :P
     
Loading...

Share This Page