Forum

Problem with reply ...
 
Notifications
Clear all

Problem with reply to automatic email sent module

20 Posts
3 Users
0 Reactions
19.8 K Views
(@lowengrin)
Posts: 38
Active Member
Topic starter
 
[#1291]

Hi,

When i try to configure reply to automatic email module (I follow online projectorria documentation instruction with a gmail account), cron jobs stop unexplained.

I have this problem in 3.4.0 and 3.4.1

Of course, I have tested my imap gmail account before

Thanks for your suggestion.


 
Posted : 29 Jul 2013 0H10
(@babynus)
Posts: 14952
Member Admin
 

Do you have any trace in the log file ?


 
Posted : 29 Jul 2013 1H43
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

Nothing in log files/logs/projector_20130728.log

2013-07-28 21:30:53 ===== TRACE ===== NEW CONNECTED USER 'admin'
here configure mail reply

2013-07-28 21:43:36 ===== TRACE ===== Cron normally stopped at 28/07/2013 21:43:36 2013-

07-28 21:43:48 ===== TRACE ===== Cron started at 28/07/2013 21:43:48
stop/start cron for load "email input check cron delay" parameter at 30 seconds

2013-07-28 21:47:04 ===== TRACE ===== NEW CONNECTED USER 'admin'
2013-07-28 21:47:13 ===== TRACE ===== Cron started at 28/07/2013 21:47:13
I check that cron stop unexplained, unconfigure email reply and restart

In debug mode nothing too

Projectorria 3.4.1/MacOSX (snow leopard)/PHP 5.3.15/Apache 2.2.22


 
Posted : 29 Jul 2013 20H25
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Strange as I just tested again : even with incorrect imap definition, Cron is not stopped, just an error logged.

I propose you to try and get some traces :
- dowload attached file
- upzip it and copy it to replace existing /model/Cron.php
- set logLevl="4" in parameters.php
Run Cron et post log traces here.
Thanks.


 
Posted : 30 Jul 2013 1H53
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

I have following your instruction.
My cron log in attachment. Is very strange. No ERROR but cron stoppped


 
Posted : 30 Jul 2013 17H48
(@babynus)
Posts: 14952
Member Admin
 

Got it :woohoo:

The imap extension is not enabled on your PHP config.
This should be explained is user manual :blush:


 
Posted : 30 Jul 2013 18H43
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

In OSX Snow Leopard imap extension not compiled by default in PHP ... ARGHHHH!!! 👿
I look to support imap without recompiled PHP ...

Thanks babynus

PS: But is a bug when all cron jobs stop when imap extension not enabled 😉


 
Posted : 30 Jul 2013 19H30
(@babynus)
Posts: 14952
Member Admin
 

You're right.

this will be fixed in V3.5, to display an error message, and continue Cron execution.


 
Posted : 30 Jul 2013 20H36
(@abelinux)
Posts: 56
Active Member
 

Got it :woohoo:

The imap extension is not enabled on your PHP config.

Hi Babynus. Thanks for a great release! including this long expected feature...

I'm having the same problem with IMAP: I configured it (in Global parameters) as explained in the user manual, but can't get it working.

I've deployed v3.4.1 (testing) on a brand new Debian Wheezy (v7), with default Apache server, PHP and MySQL.
- Could you shed some light on how to check this IMAP extension availability? How can I know whether it's enabled or not?
- If not, how can I enable it? 😉

Thanks!

P.S.: I couldn't make it work within the "Live Demo" instance either. Is it disabled there? Or is it that I just don't know how to use this new feature? :S


 
Posted : 31 Jul 2013 20H41
(@babynus)
Posts: 14952
Member Admin
 

Open your php.ini file, and seach for :

extension=php_imap.dll

on windows

extension=php_imap.so

on linux

It should not be commented.

You can also dowload attached info.php file and run it (after unzipping).

Notice that if you use some ssl interface, open_ssl extension should also be available.

This feature is not available on the Demo (not configured)


 
Posted : 31 Jul 2013 21H23
(@abelinux)
Posts: 56
Active Member
 

Thanks! (swift as usual 😉 ) I'll give it a try and let you know whether I succed.


 
Posted : 31 Jul 2013 21H41
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

Some news ...
I just compile the imap module and all work perfectly ... magic 😉

Thanks for this new feature


 
Posted : 02 Aug 2013 1H33
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

Hi,
I have a new problem with reply email but in version 3.4.4. Reply mail are not added in "Notes"
I did not change my configuration that worked in 3.4.1. Here are the logs (with your debbug Cron.php) ... I confess I do not understand the problem.

2013-08-20 13:18:21 ..... SCRIPT .... 90.85.53.162 Cron::checkEmails()
2013-08-20 13:18:21 ..... SCRIPT .... 90.85.53.162 Cron::init()
2013-08-20 13:18:21 ----- DEBUG ----- Cron::checkEmails() - Step 1
2013-08-20 13:18:21 ----- DEBUG ----- Cron::checkEmails() - Step 2
2013-08-20 13:18:21 ----- DEBUG ----- Cron::checkEmails() - Step 3
2013-08-20 13:18:21 ----- DEBUG ----- Cron::checkEmails() - Step 4
2013-08-20 13:18:23 ----- DEBUG ----- Cron::checkEmails() - Step 5
2013-08-20 13:18:23 ..... SCRIPT .... 90.85.53.162 Cron::getCheckEmails()

Thank for your help


 
Posted : 20 Aug 2013 15H19
(@babynus)
Posts: 14952
Member Admin
 

Hi,

It seem your Cron is still running in V3.4.1 (V3.4.4 as no more debug traces).

Go to the administration screen, stop the Cron, restart it.
It should be better.


 
Posted : 20 Aug 2013 19H56
(@lowengrin)
Posts: 38
Active Member
Topic starter
 

Nothing to do, I have already tried your suggestion. I even reinstalled the files but I can not identify the problem without further log on gmail imap server connection that I check reply mail.
Regarding the Cron.php in trace mode I just picked up the file you provided earlier in this topic

Other idea ?


 
Posted : 20 Aug 2013 23H32
Page 1 / 2
Share:

Scroll to Top