Jonathan Angliss ([EMAIL PROTECTED]) had this to say on 01/02/03 at 00:32: > Hello Mike,
Hi Jonathon. I really appreciate your trying to help me. > 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? OK I completely purged 1.3.2, and reinstalled 1.2.10, from the deb on the SM page. I told it to sanitize all plugins for 1.2. I reinstalled the abook_import plugin from scratch, and added just the 2 lines. require_once('../../src/global.php'); session_start(); $username = $_SESSION('username'); I changed php.ini to show all errors, even those on startup. On startup, I see: Notice: Undefined variable: _SESSION in /usr/share/squirrelmail/plugins/vlogin/config.php on line 18 Notice: Undefined variable: _SESSION in /usr/share/squirrelmail/plugins/vlogin/config.php on line 25 Notice: Undefined variable: _SESSION in /usr/share/squirrelmail/plugins/vlogin/config.php on line 30 Warning: Cannot add header information - headers already sent by (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/functions/i18n.php on line 1195 Warning: Cannot send session cache limiter - headers already sent (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/src/global.php on line 134 Warning: Cannot add header information - headers already sent by (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/src/global.php on line 151 Warning: Cannot add header information - headers already sent by (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/src/global.php on line 152 Warning: Cannot add header information - headers already sent by (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/src/global.php on line 153 Warning: Cannot add header information - headers already sent by (output started at /usr/share/squirrelmail/plugins/vlogin/config.php:18) in /usr/share/squirrelmail/src/login.php on line 91 I couldn't login. So I disabled the vlogin plugin (which I'd eventually like to have back), and restarted apache. I could now login. I went to import the CSV addressbook. ------------------------------------------ Notice: Array to string conversion in /usr/share/squirrelmail/plugins/abook_import_export/address_book_import.php on line 19 Fatal error: Call to undefined function: array() in /usr/share/squirrelmail/plugins/abook_import_export/address_book_import.php on line 19 ------------------------------------------ Line 19, by my count, is $username = $_SESSION('username'); Also, I now do not see the addressbook add, to add an address from an individual message. Can anyone confirm that this CVS import plugin actually works? :-( -- PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF Member, LEAF Project <http://leaf.sourceforge.net> AIM: MikeLeone Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc> Registered Linux user# 201348
msg01629/pgp00000.pgp
Description: PGP signature