Paul Lesniewski | 20 Apr 2011 21:00
Favicon

Re: SquirrelMail 1.4.20 doesn't work with change_sqlpass-3.3-1.2

2011/4/19 Rolando CaƱer Roblejo <rolando.caner <at> cnic.edu.cu>:
> Hi,
>
> I installed the change_sqlpass-3.3-1.2 plugins in my squirrelmail and it
> does not work good. Also, I installed the compatibility plugin 2.0.16.1.0
> and the Pear DB library.
> I use Ubuntu 10.04, PHP version 5.3.2, Apache2, Dovecot-Imap and Postfix.
>
> When I try to change the password this error appear:
>
> Strict Standards: Non-static method DB::connect() should not be called

You should do an Internet search before posting.  If you do so, you'll
find this is a common issue, one that is caused by Pear DB.  You
should relax you PHP error reporting settings to exclude E_STRICT.

> statically in /usr/share/squirrelmail/plugins/change_sqlpass/functions.php
> on line 92 Strict Standards: Non-static method DB::parseDSN() should not be
> called statically in /usr/share/php/DB.php on line 520 Strict Standards:
> Non-static method DB::errorMessage() should not be called statically,
> assuming $this from incompatible context in /usr/share/php/DB/common.php on
> line 1899 Strict Standards: Non-static method DB::isError() should not be
> called statically, assuming $this from incompatible context in
> /usr/share/php/DB.php on line 688 Strict Standards: Non-static method
> DB::errorMessage() should not be called statically, assuming $this from
> incompatible context in /usr/share/php/DB.php on line 965 Strict Standards:
> Non-static method DB::isError() should not be called statically, assuming
> $this from incompatible context in /usr/share/php/DB.php on line 688 Strict
> Standards: Non-static method DB::isError() should not be called statically
> in /usr/share/php/DB.php on line 557 Strict Standards: Non-static method
> DB::isError() should not be called statically in
> /usr/share/squirrelmail/plugins/change_sqlpass/functions.php on line 93
>
> ERROR:
>
> Could not make database connection

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

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane