Hello Mike,
On Wednesday, January 01, 2003, Mike Leone wrote...

>>> I changed the code to:
>>>
>>>    require_once('../../src/global.php');

> BTW ... my global.php is in '../../functions/global.php', and not in "src".

  Odd... You should have got a different message unless you have
  errors supressed saying global couldn't be included. It'd appear
  you're using either the 1.4RC1, or the 1.3 series, and not the
  1.2.10 that you said you were. Unless of course somebody messed
  something up in an update somewhere.

> Once I realized that, and changed the line, I started getting
> different error mesages ..

> Fatal error: Call to undefined function: addressbook_init() in
> /usr/share/squirrelmail/plugins/abook_import_export/address_book_import.php
> on line 66

>    $abook = addressbook_init(true, true);

> Earlier, I see this:

>    chdir("..");
>    if (!isset($config_php))
>       include("../config/config.php");
>    if (!isset($i18n_php))
>       include("../functions/i18n.php");
>   if (!isset($page_header_php))
>       include("../functions/page_header.php");
>   if (!isset($addressbook_php))
>      include("../functions/addressbook.php");
     
> I also see a "addressbook.php" in "../src". Should I just load the
> addressbook.php in functions - i.e., lose the 
> "if (!isset($addressbook.php))"?

  You might want to try commenting out that line, yes.
  addressbook_init is in functions/addressbook.php. As I've not looked
  at the plugin itself, I couldn't say much about it, there is a
  chance that there is some configurations you have to do first.

  Just as a point from what I just observed. The plugin you're trying
  to use has been structured for the 1.2 series, while you seem to be
  using the 1.3 or 1.4 series. I made this assumption because of the
  location of your global.php. 1.2 finds global.php in the src/
  directory, while 1.3 and 1.4 finds it in the functions/ directory.
  Could you check your version again, and make sure you are using the
  version you said? How did you get a copy of that version?

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
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