Re: Latest snapshot and php-7

Alex <[email protected]>
Newsgroups gmane.mail.squirrelmail.user
Message-ID <CAB1R3sg=6OjkXWALS6iCgor2_PV-ffaJFyFOooP+Wa=pF7wHkw@mail.gmail.com>
Hi,

> [Thu Jan 05 15:59:50.203093 2017] [:error] [pid 12591] [client
> 75.149.200.52:50067] PHP Fatal error:  Uncaught Error: Call to
> undefined function eregi() in
> /usr/share/squirrelmail/plugins/add_address/functions.php:718
>>>
>>> What version of this plugin is installed?
>>
>> 1.0.3. The first occurrence of this error was with the most recent

This error can be reproduced simply by clicking "Add to Address Book "
while reading a message. The right window becomes blank and the error
above is logged in the error_log.

The full output is here (I think it was trimmed in a previous message):

[Thu Jan 12 20:53:15.313138 2017] [:error] [pid 26874] [client
192.168.1.7:43564] PHP Fatal error:  Uncaught Error: Call to undefined
function eregi() in
/usr/share/squirrelmail/plugins/add_address/functions.php:718\nStack
trace:\n#0 /usr/share/squirrelmail/plugins/add_address/functions.php(835):
aa_validate_email('sales@netlink-w...', 0)\n#1
/usr/share/squirrelmail/plugins/add_address/add_addresses.php(383):
build_address_import_list(Array)\n#2 {main}\n  thrown in
/usr/share/squirrelmail/plugins/add_address/functions.php on line 718,
referer: https://mail.example.com/webmail/src/read_body.php?mailbox=INBOX&passed_id=7&startMessage=1

The addressbook entry is never made. I also tried removing the
existing addressbook, in case it was somehow corrupt.

The URL associated with the link that produces the error is:

https://mail.example.com/webmail/plugins/add_address/add_addresses.php?mailbox=INBOX&passed_id=7&view_as_html=&startMessage=1&passed_ent_id=0&account=

I would think the address to be added should be a part of the URL?

I haven't made any changes from the default config_default.php file
other than copying it to config.php.

I've also sent in a separate email the output from phpinfo() on the
server as well as my local config.php. Hope that's okay.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.