Hello Matt,
On Friday, July 25, 2003, Matt wrote...

> When trying to check mail on a Windows XP SP1a box with apache 2.0.47
> and PHP 5.0.0b1

As this is currently a beta PHP version, and untested by the SM team,
and also unverified, what I say could just be random guesses.

> installed I get a *Fatal error*: Class 'addressbook_backend' not
> found in
> *c:\foxserv\apache2\htdocs\sm\functions\abook_local_file.php* on
> line *24* error when clicking on any email that is in the inbox.

Interesting, I cannot really see any point in which the addressbook
files get read on the read_body page.  Oh well... looks like PHP have
changed their behavior again, open up functions/addressbook.php, you
should see the following code:

===8<-------------------------------------------------------------

require_once(SM_PATH . 'functions/abook_local_file.php');
require_once(SM_PATH . 'functions/abook_ldap_server.php');

global $addrbook_dsn;

/* Use this if you wanna have a global address book */
if (isset($address_book_global_filename)) {
    include_once(SM_PATH . 'functions/abook_global_file.php');
}

/* Only load database backend if database is configured */
if(isset($addrbook_dsn) && !empty($addrbook_dsn)) {
  include_once(SM_PATH . 'functions/abook_database.php');
}

===8<-------------------------------------------------------------

Cut it, and move it all the way to the bottom of the file, above the
closing ?> and see if the error goes away.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
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