After upgrading from 1.48 to 1.52 i have experienced that when i am in the email system and press the "EPESI Archive" button it will not move the said message to the appropriate EPESI Archive folder and displays the message "cannot move message..."
Last edited by rapidpage on Fri Jun 21, 2013 4:08 pm, edited 1 time in total.
The error log is the same repeated through-out the log
[24-May-2013 13:08:56 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /home/rapidpag/public_html/epesi/modules/CRM/Roundcube/RC/program/include/rcube_imap_generic.php on line 783
I thought, that you've accidentaly written wrong EPESI version, but now I must write that we have never released 1.48 version of EPESI Did you mean 1.4.2?
So error log doesn't have any valuable information about your issue. Error that you get in log is not related to EPESI - It's roundcube issue
It may be hard to find this issue... It would be easiest if I could access your installation, but I don't want to, because it means your EPESI, your email, etc. It's not nice to read someone's emails It would be great If you could test some new EPESI installation with your email account or test other email accounts... to find a reason of this issue.
Greetings; I'm having the same problem. Epesi will archive the email (store it in the database), but it won' move it to the Epesi Archives folder. This is the error in data/CRM_Roundcube/log: PHP Error: Deprecated hook name. mailboxes_list -> storage_folders in epesi/modules/CRM/Roundcube/RC/program/include/rcube_plugin_api.php on line 221 (GET /epesi/modules/CRM/Roundcube/RC/?_task=mail)
Greetings; Here is an update; I upgraded php to version 5.3.25 (previous version was 5.3.24, not 5.2 as stated in my previous post). After upgrading php, I sent an email from Epesi/RoundCube (it should archive on send) When I sent the email, it archived to the DB, but it didn't move the email from the generic sent folder to the Epesi archive sent folder From the RoundCube window in Epesi, I did a "drag and drop" from the generic sent folder to the Epesi archive sent folder
I don't know what other information would be helpful to you. This is a cPanel/WHM VPS running CENTOS 5.8 x86_64. Not using Suhosin, MySQL is version 5.1. I tried using both the RoundCube classic, and larry skins. No difference.
[28-May-2013 10:07:30] PHP Warning: array_shift() expects parameter 1 to be array, object given in /var/www/<...>/modules/CRM/Roundcube/RC/plugins/epesi_archive/epesi_archive.php on line 331
I've fixed this, and now it works, but still I can't find a reason for normal archive action. It works for me as it should. Both - sent and received messages are archived properly. Log messages depends on logging level of php set in modules/CRM/Roundcube/RC/program/include/iniset.php Make sure that it's something like E_ALL &~ (E_NOTICE | E_STRICT)
Another option to find some useful debug logs is to enable RoundCube logging in /modules/CRM/Roundcube/RC/config/main.inc.php Please be aware that your password may be shown in log messages (e.g. imap log).
I've attached fix for auto archive issue. Please test and report is this working for you.
Greetings; This may be useful information: I have only tried to archive emails that were already archived to the DB. In other words, Epesi stored the email in the DB (and maybe marked it as "archived"?) but couldn't move the email to the archived folder. So when I try to archive the email, it says "message already archived".
Maybe Epesi sees that the message is marked archived, and doesn't try to move it. I'll have to install the fix and then test.
Simplified EPESI archiving procedure looks like this: 1. Get a message and check in EPESI is it copied to the database 1/1. If the message exists in EPESI database then show duplicate error and stop archiving 1/2. If no then go to 2. 2. Copy message to database. 3. Move message to EPESI archive folder.
According to this algorithm, If you have mail account attached to several EPESI installations you can archive email in one installation (it will be moved to Archive folder), then open another EPESI installation and you will be able to archive again. If your message was archived in current EPESI installation, then it won't be archive again and it won't be moved to folder. Epesi can't predict why your message is in Inbox although it was archived, so maybe you've moved this message, and EPESI won't move such message.
So it's normal behavior that already archived message won't be moved.