Horde webmail error

Written by AlanV on April 9, 2009 – 10:49 pm -

If horde webmail is not working on windows + plesk server and receiving following errors when login to horde….

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

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

And so on………

This happens mainly because PHP and Zend installers force PHP to use a default configuration file for all applications, but horde uses a special configuration file which is placed to its folder.

Solution:
Please edit registry by command regedit and clean up the default configuration location by removing the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\php\IniFilePath


Tags: , , , ,
Posted in Dedicated Server Hosting, Plesk For Windows, VPS hosting, Windows VPS | 2 Comments »

MSSQL Connection Error with PHP

Written by Mike on February 28, 2009 – 10:15 pm -

mssql_connect() is a function which establishes a connection to a MS SQL server using PHP. To use MSSQL database in PHP page make sure that MSSQL dll is enabled in PHP. To check open php.ini file and search for following

extension=php_mssql.dll

Sometime it happens that when you try to connect MSSQL database using PHP it throws following Error (espiceally when you have installed PHP 5)

Warning:  mssql_connect() [function.mssql-connect]: Unable to connect to server:  SERVER\SQLEXPRESS in C:\Inetpub\wwwroot\dbconnection.php on line 6

The problem come due to higher version ntwdblib.dll available with PHP 5. The simple fix for this problem is to replace the ntwdblib.dll with old version. You can download the Old version of dll file from http://trulymanaged.com/downloads/ntwdblib.dll OR if you have Plesk Control Panel you can directly copy/replace C:\WINDOWS\system32\ntwdblib.dll with C:\Parallels\Plesk\additional\PleskPHP5\ntwdblib.dll


Tags: , , ,
Posted in Plesk For Windows, VPS hosting, Windows VPS | 1 Comment »

Plesk :: Site Preview-404 Page Not Found Error

Written by Mike on November 23, 2008 – 1:34 pm -

Site preview is a tool provided by SW-Soft in Plesk to view the websites before domain propagation. Using this function a User can test the scripts he/she has uploaded.

Sometime it happens that while trying to access Site Preview it give 404 Page Not Found Error. This mainly happens when the sitepreview.dll is not properly loaded in IIS.

sitepreview Plesk :: Site Preview-404 Page Not Found Error

SOLUTION:

This problem can be fixed by adding stiepreview.dll as ISAPI Filters in IIS. To add ISAPI Filters login to the server and go to IIS > Web Sites > Properties. Then chose ISAPI Filters tab and add filter called “sitepreview” located at C:\SWSoft\Plesk\isapi\sitepreview.dll.

NOTE: “C:\SWSoft\Plesk\” Directory can be changed as per your Server Settings


Tags: ,
Posted in Plesk For Windows | 8 Comments »
RSS

  • Subscribe Me

  • Tag Cloud

  • Archives