CRON email notifications

8 years 8 months ago #1 by lata
If you could try the following fix:

Edit the file: cli/issuetracker_email_fetch.php and change line 556

From:

$hasIssue = preg_match('/[s*([a-z0-9]{10,10))s*]/i', $subj, $matches);

To:

$hasIssue = preg_match('/[s*([a-z0-9]{10,10})s*]/i', $subj, $matches);



Even after the change, I have the same rror.

Compilation failed: unmatched parentheses at offset 20 in /var/www/vhosts/lowe.es/lowe.es/httpdocs/subdomains/video/cli/issuetracker_email_fetch.php on line 556

must be something wrong in the code

Regards,

Please Log in or Create an account to join the conversation.

8 years 8 months ago - 8 years 8 months ago #2 by chrisc
Replied by chrisc on topic CRON email notifications
I can see the problem. The syntax change suggested was correct, however it seems that the act of pasting removed a couple of escape characters, which meant that when the edit was made these were not present in the string.

It should be as follows:
$hasIssue = preg_match('/\[\s*([a-z0-9]{10,10})\s*\]/i', $subj, $matches);

The back slashes got cut out of the email. Sorry about that.

Update: Seems the front end editor was stripping the back slash characters out on the save. A different editor didn't have the problem.

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

8 years 8 months ago #3 by lata
Replied by lata on topic CRON email notifications
ok, The error on line 556 has disappeared.

Now, other error:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/lowe.es/lowe.es/httpdocs/subdomains/video/cli/issuetracker_email_fetch.php:132) in /var/www/vhosts/lowe.es/lowe.es/httpdocs/subdomains/video/libraries/joomla/session/session.php on line 532
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/lowe.es/lowe.es/httpdocs/subdomains/video/cli/issuetracker_email_fetch.php:132) in /var/www/vhosts/lowe.es/lowe.es/httpdocs/subdomains/video/libraries/joomla/session/session.php on line 532

And courre that always creates a new message not find the one that exists.
I have relaxed and tried to [Issue: A9BS5BPANH] or [A9BS5BPANH] or A9BS5BPANH, I can not find it.

In your web for reply have problem in "your raised issues" say me "No data found to display."

Please Log in or Create an account to join the conversation.

8 years 8 months ago - 8 years 8 months ago #4 by chrisc
Replied by chrisc on topic CRON email notifications
First things first.

1. We have fixed the regex problem.

2. The problem with you not seeing your raised issue was because when it was raised it created the issue as an 'unregistered' user, not as your specific registered user account. Possibly you were not logged in when you raised it perhaps? Anyway I have changed the 'identifier' so you should see issue in 'your raised issues list'.

3. I am aware of the 'session warning', but it is not ( I think) related to the problem of identifying whether an existing issue exists to update. More likely it is the way in which the 'issue identifier' is expressed in the email header. I will investigate it further and update this thread later. Its a little while since I looked at this area and my memory is a little hazy.

Update: My email server which I use for email fetching of issues is currently down, so there may be a little wait while they fix it. [3rd Party]

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

8 years 8 months ago #5 by chrisc
Replied by chrisc on topic CRON email notifications
The topic has been completed as one of your raised issues, and as indicated in one of your replies the handling of emailed updates is not working and the email messages are indeed being recognised as updates for existing issues.

The imminent release of Issue Tracker 1.6.8 contains fixes for this (and other) problems so I am marking the topic as resolved.

Thank you for reporting it.

Regards

If you are using our extensions please leave a review at the JED: IP Mapping | Issue Tracker | JAudit | Password Control

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries