Horde problems....

cass

Well-Known Member
Jul 17, 2002
349
0
166
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.
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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.
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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
 
B

bdraco

Guest
Looks like files are missing... please do a

ls -l /usr/local/cpanel/3rdparty/lib/php
 
B

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
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
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.
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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.
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
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.
 
B

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.
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
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.
 

ukhost

Well-Known Member
Jan 8, 2002
222
0
316
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
 
B

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
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
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?
 
B

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?
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
[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. ;)
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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?
 

cass

Well-Known Member
Jul 17, 2002
349
0
166
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