How To Remove Error from the Horde Webmail

Error within Horde Webmail :

Few of my friends do face problem when they use Horde Webmail. While they try to browse the webmail using the lines which is webmail.domainname.com it normally show following error such as directory not found or some thing related to that.

——————————————————————————————————————–
Warning: main(PEAR.php) [function.main]: failed to open stream: No such file or directory in D:\Inetpub\vhosts\webmail\horde\lib\core.php on line 26

Warning: main() [function.include]: Failed opening ‘PEAR.php’ for inclusion (include_path=’D:\Inetpub\vhosts\webmail\horde\lib
;.;./includes;./pear’) in D:\Inetpub\vhosts\webmail\horde\lib\core.php on line 26

Warning: main(Log.php) [function.main]: failed to open stream: No such file or directory in D:\Inetpub\vhosts\webmail\horde\lib\Horde.php on line 3

Warning: main() [function.include]: Failed opening ‘Log.php’ for inclusion (include_path=’D:\Inetpub\vhosts\webmail\horde\lib
;.;./includes;./pear’) in C:\Inetpub\vhosts\webmail\horde\lib\Horde.php on line 3

Warning: _connect(DB.php) [function.-connect]: failed to open stream: No such file or directory in D:\Inetpub\vhosts\webmail\horde\lib\Horde\DataTree
\sql.php on line 1255

Fatal error: _connect() [function.require]: Failed opening required ‘DB.php’ (include_path=’D:\Inetpub\vhosts\webmail\horde\lib
;.;./includes;./pear’) in D:\Inetpub\vhosts\webmail\horde\lib\Horde\DataTree
\sql.php on line 1255
——————————————————————————————————————–
For such kind of problem you have to find out whether such errors are going to be. You have to check this with the hosting provider or with your admin. See this can be sorted very easily you just have to edit few files which are present in your hosting account.

First of all you have to Open a file named as “core.php” of horde mail.

You will be getting this file in the below mentioned specific area which is
———————————————————–
\webmail\horde\lib\webmail\horde\ lib\core.php
———————————————————–
you have to change this:

—————————————————————————————————————–
ini_set(‘include_path’, dirname(__FILE__) . PATH_SEPARATOR . ini_get(‘include_path’));
—————————————————————————————————————–
to:
—————————————————————————————————————–
ini_set(‘include_path’, ‘C:/Inetpub/vhosts/webmail/horde/lib’ . PATH_SEPARATOR . ‘C:/Inetpub/vhosts/webmail’ . PATH_SEPARATOR . ‘C:/Inetpub/vhosts/webmail/horde/pear’ .PATH_SEPARATOR . ini_get(‘include_path’));
—————————————————————————————————————–
The above issue will definatly solve your problem for you.

This entry was posted in cPanel Hosting and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>