Preferences or plugins not applied correctly

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

Preferences or plugins not applied correctly

by ansley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
When users login some plugins does not load correctly (such  selct_range and html_mail). For select_range , no link is added in the message list; for  html_mail ,no editor is loaded in the compose page.I have to go to the display preferences page and only click the save button to have theses plugins to work as expected.And at the next login , although the parameters related to  these plugins are presents whith the settings I've defined in the display preferences page, I must click before the save button to have thes to work.

Thanks in advance for you help and sorry for my poor english

Best Regards

Ansley


squirrelmail 1.4.19

plugins enabled
$plugins[0] = 'compatibility';
$plugins[1] = 'secure_login';
$plugins[2] = 'download_all';
$plugins[3] = 'email_footer';
$plugins[4] = 'extract';
$plugins[5] = 'folder_sizes';
$plugins[6] = 'folder_synch';
$plugins[7] = 'html_mail';
$plugins[8] = 'msg_flags';
$plugins[9] = 'quicksave';
$plugins[10] = 'reply_buttons';
$plugins[11] = 'delete_move_next';
$plugins[12] = 'select_range';
$plugins[13] = 'view_as_html';
$plugins[14] = 'addgraphics';
$plugins[15] = 'abook_import_export';
$plugins[16] = 'admin_add';
$plugins[17] = 'administrator';
$plugins[18] = 'archive_mail';
$plugins[19] = 'change_pass';
$plugins[20] = 'calendar';
$plugins[21] = 'attachment_doc';
$plugins[22] = 'add_address';
$plugins[23] = 'cleanup';

OS RedHat Linux 2.6.18-8.1.8.el5

Achetez un nouveau PC et bénéficiez de Windows 7 dès sa sortie ! En savoir plus
------------------------------------------------------------------------------
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Preferences or plugins not applied correctly

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 6, 2009 at 12:23 PM, Ansley Jean Louis <jansley@...> wrote:
> When users login some plugins does not load correctly (such  selct_range and
> html_mail). For select_range , no link is added in the message list; for
> html_mail ,no editor is loaded in the compose page.I have to go to the
> display preferences page and only click the save button to have theses
> plugins to work as expected.And at the next login , although the parameters
> related to  these plugins are presents whith the settings I've defined in
> the display preferences page, I must click before the save button to have
> thes to work.

Please debug ONE plugin at a time.

Disable ALL plugins except the one you have problems with.

Then if the problem persists, show what the difference is between the
user's preferences when the plugin is working and what they are when
you log in next and it's not working.  Are you certain your
preferences are saving correctly?

Have you tested with error reporting turned up all the way?  Do you
see PHP errors?

> Thanks in advance for you help and sorry for my poor english
>
> Best Regards
>
> Ansley
>
>
> squirrelmail 1.4.19
>
> plugins enabled
> $plugins[0] = 'compatibility';
> $plugins[1] = 'secure_login';
> $plugins[2] = 'download_all';
> $plugins[3] = 'email_footer';
> $plugins[4] = 'extract';
> $plugins[5] = 'folder_sizes';
> $plugins[6] = 'folder_synch';
> $plugins[7] = 'html_mail';
> $plugins[8] = 'msg_flags';
> $plugins[9] = 'quicksave';
> $plugins[10] = 'reply_buttons';
> $plugins[11] = 'delete_move_next';
> $plugins[12] = 'select_range';
> $plugins[13] = 'view_as_html';
> $plugins[14] = 'addgraphics';
> $plugins[15] = 'abook_import_export';
> $plugins[16] = 'admin_add';
> $plugins[17] = 'administrator';
> $plugins[18] = 'archive_mail';
> $plugins[19] = 'change_pass';
> $plugins[20] = 'calendar';
> $plugins[21] = 'attachment_doc';
> $plugins[22] = 'add_address';
> $plugins[23] = 'cleanup';
>
> OS RedHat Linux 2.6.18-8.1.8.el5

--
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Preferences or plugins not applied correctly

by ansley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks Paul for your response.

I've tried your recommendations.But I 've no result
- I've disabled all plugins except select_range and html_mail
   The result is the same

_ I've thrned Error reporting on
   But no error is reported

_ My preferences are stored in a Mysql DB
   1) I can see my prefenrences in the related table 
   2) When I change some preferences value, I logout and login again the new values i've chosen  remain

There is no difference in the preferences values displayed when the plugin is working and when it is not.

Ansley Jean-Louis



> Date: Fri, 6 Nov 2009 17:56:01 -0800
> From: paul@...
> To: squirrelmail-users@...
> Subject: Re: [SM-USERS] Preferences or plugins not applied correctly
>
> On Fri, Nov 6, 2009 at 12:23 PM, Ansley Jean Louis <jansley@...> wrote:
> > When users login some plugins does not load correctly (such  selct_range and
> > html_mail). For select_range , no link is added in the message list; for
> > html_mail ,no editor is loaded in the compose page.I have to go to the
> > display preferences page and only click the save button to have theses
> > plugins to work as expected.And at the next login , although the parameters
> > related to  these plugins are presents whith the settings I've defined in
> > the display preferences page, I must click before the save button to have
> > thes to work.
>
> Please debug ONE plugin at a time.
> Envoyer
> Disable ALL plugins except the one you have problems with.
>
> Then if the problem persists, show what the difference is between the
> user's preferences when the plugin is working and what they are when
> you log in next and it's not working. Are you certain your
> preferences are saving correctly?
>
> Have you tested with error reporting turned up all the way? Do you
> see PHP errors?
>
> > Thanks in advance for you help and sorry for my poor english
> >
> > Best Regards
> >
> > Ansley
> >
> >
> > squirrelmail 1.4.19
> >
> > plugins enabled
> > $plugins[0] = 'compatibility';
> > $plugins[1] = 'secure_login';
> > $plugins[2] = 'download_all';
> > $plugins[3] = 'email_footer';
> > $plugins[4] = 'extract';
> > $plugins[5] = 'folder_sizes';
> > $plugins[6] = 'folder_synch';
> > $plugins[7] = 'html_mail';
> > $plugins[8] = 'msg_flags';
> > $plugins[9] = 'quicksave';
> > $plugins[10] = 'reply_buttons';
> > $plugins[11] = 'delete_move_next';
> > $plugins[12] = 'select_range';
> > $plugins[13] = 'view_as_html';
> > $plugins[14] = 'addgraphics';
> > $plugins[15] = 'abook_import_export';
> > $plugins[16] = 'admin_add';
> > $plugins[17] = 'administrator';
> > $plugins[18] = 'archive_mail';
> > $plugins[19] = 'change_pass';
> > $plugins[20] = 'calendar';
> > $plugins[21] = 'attachment_doc';
> > $plugins[22] = 'add_address';
> > $plugins[23] = 'cleanup';
> >
> > OS RedHat Linux 2.6.18-8.1.8.el5
>
> --
> 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-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Un avatar à votre image ? Créez votre mini-moi !
------------------------------------------------------------------------------
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Preferences or plugins not applied correctly

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please do not top-post.  Please READ the mailing list posting guidelines.

>> > When users login some plugins does not load correctly (such  selct_range
>> > and
>> > html_mail). For select_range , no link is added in the message list; for
>> > html_mail ,no editor is loaded in the compose page.I have to go to the
>> > display preferences page and only click the save button to have theses
>> > plugins to work as expected.And at the next login , although the
>> > parameters
>> > related to  these plugins are presents whith the settings I've defined
>> > in
>> > the display preferences page, I must click before the save button to
>> > have
>> > thes to work.
>>
>> Please debug ONE plugin at a time.
>> Envoyer
>> Disable ALL plugins except the one you have problems with.
>>
>> Then if the problem persists, show what the difference is between the
>> user's preferences when the plugin is working and what they are when
>> you log in next and it's not working. Are you certain your
>> preferences are saving correctly?
>>
>> Have you tested with error reporting turned up all the way? Do you
>> see PHP errors?
>
> I've tried your recommendations.But I 've no result
> - I've disabled all plugins except select_range and html_mail
>    The result is the same

No, you need to disable all except ONE of them at a time.

> _ I've thrned Error reporting on
>    But no error is reported

Show your configtest results.

> _ My preferences are stored in a Mysql DB
>    1) I can see my prefenrences in the related table
>    2) When I change some preferences value, I logout and login again the new
> values i've chosen  remain

So it sounds like preferences are stored correctly.  Then I don't see
what your problem is.

> There is no difference in the preferences values displayed when the plugin
> is working and when it is not.

Sounds suspicious to me.  SOMETHING has to be different between when
it works and when it doesn't, and it's your job to tell us what that
is.

>> > Thanks in advance for you help and sorry for my poor english
>> >
>> > Best Regards
>> >
>> > Ansley
>> >
>> >
>> > squirrelmail 1.4.19
>> >
>> > plugins enabled
>> > $plugins[0] = 'compatibility';
>> > $plugins[1] = 'secure_login';
>> > $plugins[2] = 'download_all';
>> > $plugins[3] = 'email_footer';
>> > $plugins[4] = 'extract';
>> > $plugins[5] = 'folder_sizes';
>> > $plugins[6] = 'folder_synch';
>> > $plugins[7] = 'html_mail';
>> > $plugins[8] = 'msg_flags';
>> > $plugins[9] = 'quicksave';
>> > $plugins[10] = 'reply_buttons';
>> > $plugins[11] = 'delete_move_next';
>> > $plugins[12] = 'select_range';
>> > $plugins[13] = 'view_as_html';
>> > $plugins[14] = 'addgraphics';
>> > $plugins[15] = 'abook_import_export';
>> > $plugins[16] = 'admin_add';
>> > $plugins[17] = 'administrator';
>> > $plugins[18] = 'archive_mail';
>> > $plugins[19] = 'change_pass';
>> > $plugins[20] = 'calendar';
>> > $plugins[21] = 'attachment_doc';
>> > $plugins[22] = 'add_address';
>> > $plugins[23] = 'cleanup';
>> >
>> > OS RedHat Linux 2.6.18-8.1.8.el5

--
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Preferences or plugins not applied correctly

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ansley-2 wrote:
_ My preferences are stored in a Mysql DB
   1) I can see my prefenrences in the related table  
   2) When I change some preferences value, I logout and login again the new values i've chosen  remain
Could you show SQL dump with structure of your preference table?

Which privileges are granted to database user set in SquirrelMail configuration and which DB user are you using to edit preferences?

--
Tomas

Parent Message unknown Re: Preferences or plugins not applied correctly

by ansley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



I have found what cause the problem with the html_mail plugins.This is because I have customized my login.php page (SM install folder/src/login.php).I 'm ispecting the code trying to find thewhat is wrong).I have reinstalled Squirrelmail from scratch and all except select_range worked fine untill I reapplied my customisation in login.php. when I reapplied the original login.php everithing except select_range worked.

with Select_range enabled (no customization apllied) now I have a blank right frame with only  the top menu (new message,addresse,folder,etc) displayed.

Thanks to Paul,Tomas,Helmut and all SM community for your help and sorry for wasting you time

Best regards
Ansley Jean-Louis
     
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !
http://www.windowslive.fr/messenger/
------------------------------------------------------------------------------
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Preferences or plugins not applied correctly

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 12, 2009 at 7:37 AM, Ansley Jean Louis <jansley@...> wrote:
>
>
> I have found what cause the problem with the html_mail plugins.This is because I have customized
> my login.php page (SM install folder/src/login.php).I 'm ispecting the code trying to find thewhat is wrong).
> I have reinstalled Squirrelmail from scratch and all except select_range worked fine untill I reapplied my
> customisation in login.php. when I reapplied the original login.php everithing except select_range worked.
>
> with Select_range enabled (no customization apllied) now I have a blank right frame with only  the top
> menu (new message,addresse,folder,etc) displayed.

http://squirrelmail.org/docs/admin/admin-11.html#blankpage

There's a 99.9% chance that your issue is an unseen PHP error.

> Thanks to Paul,Tomas,Helmut and all SM community for your help and sorry for wasting you time

It's OK to ask for help, but you ALWAYS have to specify ANY
customizations you've made, in addition to everything that is listed
in the mailing list posting guidelines, which you should have read.
I'm guessing your problem is the lack of the JavaScript autodetect
form input on your custom login page.  Grep the login page source for
"js_autodetect_results".

--
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-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users