I have SM v1.4.4 installed on a Debian system by way of

apt-get install squirrelmail

and it works great. I'm now trying to intergrate the ldapquery Version 2.0 plugin by Tomas Kuliavas. After following the directions and making the plugin available within SquirrelMail I get the following error messages when I click on "Directory":

--------------------------------
Warning: main(../../validate.php): failed to open stream: No such file or
directory in /usr/share/squirrelmail/plugins/ldapquery/ldapquery.php on
line 12

Fatal error: main(): Failed opening required '../../validate.php'
(include_path='.:/usr/share/php:/usr/share/squirrelmail/include') in
/usr/share/squirrelmail/plugins/ldapquery/ldapquery.php on line 12
-------------------------------

Line 12 is "require_once ('../../validate.php');". If I follow the path in that line from /usr/share/squirrelmail/plugins/ldapquery (ie, cd ../.. from the ldapquery directory) I am at the root of the squirrelmail program (/usr/share/squirrelmail/). "validate.php" does not exist in that directory - it exists in ~/squirrelmail/include/. If I put in the full path in line 12 (/usr/share/squirrelmail/include/validate.php) then I get these errors:

-------------------------------
Warning: main(SM_PATHclass/mime.class.php): failed to open stream: No such file or directory in /usr/share/squirrelmail/include/validate.php on line 42

Fatal error: main(): Failed opening required 'SM_PATHclass/mime.class.php' (include_path='.:/usr/share/php:/usr/share/squirrelmail/include') in /usr/share/squirrelmail/include/validate.php on line 42
------------------------------

Obviously I'm doing something incorrect (or stupid!) but I'm kinda stumped. Could some kind sole toss a clue this way?

Tia.

-- James


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to