Import/export option missing after installation of plugin

View: New views
2 Messages — Rating Filter:   Alert me  

Import/export option missing after installation of plugin

by Krause Richard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

At first, after I had installed the Addressbook Import-Export plugin I
suffered from the DataPermission-Error
(http://squirrelmail.org/wiki/DataPermission) and was not able to connect to
my mail account using sqirrel mail. I solved this as I found out that when
adding the plugin using the configuration script it adds some faulty lines
to the config.php file:

$data_dir                 = SM_PATH . 'config/C:\Program
Files\hMailServer\squirrelmail\data';
$attachment_dir           = SM_PATH . 'config/C:\Program
Files\hMailServer\squirrelmail\attach';

And at the very end of the config.php file it added the following:

@include SM_PATH . 'config/config_local.php';

After I corrected the full absolute path of both the data and the attachment
directory (leaving off "SM_PATH . 'config/") and after I deleted the above
mentionded line I am now able to connect to my mail server again using
squirrel mail.

But the Addressbook Import-Export plugin is still not working, the line
where you would be able to import/export a CSV File is just missing in my
Squirrel Mail (Screenshot).

hMailServer 4.4.3 - Build 285
Apache HTTP Server 2.2.10
ActivePerl 5.10.0.1004
PHP 5.2.6
SquirrelMail 1.4.16
Windows XP Professional SP 3
abook_import_export-1.1-1.4.4

Any idea how to solve this?

Regards,
Richard


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

smime.p7s (4K) Download Attachment

Re: Import/export option missing after installation of plugin

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> At first, after I had installed the Addressbook Import-Export plugin I
> suffered from the DataPermission-Error
> (http://squirrelmail.org/wiki/DataPermission) and was not able to connect to
> my mail account using sqirrel mail. I solved this as I found out that when
> adding the plugin using the configuration script it adds some faulty lines
> to the config.php file:
>
> $data_dir                 = SM_PATH . 'config/C:\Program
> Files\hMailServer\squirrelmail\data';
> $attachment_dir           = SM_PATH . 'config/C:\Program
> Files\hMailServer\squirrelmail\attach';

I'm guessing that you entered "C:\Program
Files\hMailServer\squirrelmail\data" into the configuration utility
and it thought that was not a full path, so it added a prefix to it.
If you use forward slashes instead, it will not do this.  I have added
a fix for back slashes (but it's still recommended that you use
forward slashes).

> And at the very end of the config.php file it added the following:
>
> @include SM_PATH . 'config/config_local.php';

Normal and should not harm anything.

> After I corrected the full absolute path of both the data and the attachment
> directory (leaving off "SM_PATH . 'config/") and after I deleted the above
> mentionded line I am now able to connect to my mail server again using
> squirrel mail.
>
> But the Addressbook Import-Export plugin is still not working, the line
> where you would be able to import/export a CSV File is just missing in my
> Squirrel Mail (Screenshot).
>
> hMailServer 4.4.3 - Build 285
> Apache HTTP Server 2.2.10
> ActivePerl 5.10.0.1004
> PHP 5.2.6
> SquirrelMail 1.4.16

You are using a version that has known security issues.

> Windows XP Professional SP 3
> abook_import_export-1.1-1.4.4
>
> Any idea how to solve this?

Not without something to go on.  Verify that the plugin is showing in
the configuration file and the plugin has been configured.  Then turn
up the error reporting settings in PHP and watch your logs or the
screen for any errors.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins