multiple attachements: Call to undefined function get_current_hook_name() in /usr/share/squirrelmail/plugins/multiple_attachments/functions.php on line 381

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

multiple attachements: Call to undefined function get_current_hook_name() in /usr/share/squirrelmail/plugins/multiple_attachments/functions.php on line 381

Mathieu ROY
Hello,

With squirrelmail and PHP shipped by Devuan testing along with multiple
attachement plugs http://squirrelmail.org/plugin_view.php?id=279 the "Option >
Display Preferences" get a PHP Fatal Error:

2015/08/17 21:35:22 [error] 25014#0: *12344 FastCGI sent in stderr: "PHP Fatal
error:  Call to undefined function get_current_hook_name() in
/usr/share/squirrelmail/plugins/multiple_attachments/functions.php on line
381" while reading response header from upstream, client: XXX, server: ~^mx,
request: "GET /src/options.php?optpage=display HTTP/1.1", upstream:
"fastcgi://127.0.0.1:9000", host: "XXX", referrer: "XXX/src/options.php"


  # dpkg --list | grep squirrelmail
ii  squirrelmail                          2:1.4.23~svn20120406-2            
all          Webmail for nuts
ii  squirrelmail-locales                  1.4.18-20090526-1                
all          Translations for the SquirrelMail Webmail package
ii  squirrelmail-viewashtml               3.8-3                            
all          SquirrelMail plugin: View mails as HTML
  # dpkg --list | grep php5-cgi
ii  php5-cgi                              5.6.9+dfsg-0+deb8u1              
amd64        server-side, HTML-embedded scripting language (CGI binary)

Regards,


--
http://yeupou.wordpress.com/

------------------------------------------------------------------------------
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: multiple attachements: Call to undefined function get_current_hook_name() in /usr/share/squirrelmail/plugins/multiple_attachments/functions.php on line 381

Paul Lesniewski
On 8/17/15, Mathieu ROY <[hidden email]> wrote:

> Hello,
>
> With squirrelmail and PHP shipped by Devuan testing along with multiple
> attachement plugs http://squirrelmail.org/plugin_view.php?id=279 the "Option
>>
> Display Preferences" get a PHP Fatal Error:
>
> 2015/08/17 21:35:22 [error] 25014#0: *12344 FastCGI sent in stderr: "PHP
> Fatal
> error:  Call to undefined function get_current_hook_name() in
> /usr/share/squirrelmail/plugins/multiple_attachments/functions.php on line
> 381" while reading response header from upstream, client: XXX, server: ~^mx,

You missed one of the requirements listed in the README and on the
download page - the Compatibility plugin.

Cheers,
Paul

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

------------------------------------------------------------------------------
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: custom_from (Was: multiple attachements: Call to undefined function get_current_hook_name())

Paul Lesniewski
Mathieu,

> Unrelated, I'm not able to have to he custom_from activated having any
> effect. There is no extra From:
> field. It's the same whether I use one or more identities. I have no
> config_custom_from.php
>
> I read in the todo :
> /  * Add compatibility with SquirrelMail version 1.5.2+?  Requires/
> /    having a template for the compose screen that supports this
> feature.../
> Devuan version is branded 1.4.23 SVN. Could that be the problem.

No.  Does your account have multiple identities set up?  If not,
adding one is a work-around for the bug.

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

------------------------------------------------------------------------------
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [hidden email]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Loading...