| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#16)
|
| New Member Posts: 2 Join Date: May 2008 |
27-05-2008, 02:29 PM
We are also encountering this problem with our setup. It is fortunate to see this has been addressed (or that the lock file is automatically removed after a given period), though we still have a concern: This problem with the introduction of the lock file occurred near the beginning of a holiday weekend here. Although we are fetching email now, the "Posted on:" field (within the ticket view) has an incorrect time stamp -- using the date parsed rather than the date submitted. Is there a setting to have tickets instead use the date on which the email was submitted rather than have it as it is now, with 1000 emails apparently submitted simultaneously? If not, could such a feature be introduced? For a setup that better addresses our customers' needs, it would really be preferable to time stamp the date a given email was submitted, not parsed. Also, around what time might 3.20.03 be available? Thank you. Mike |
| | |
(#17)
|
| Chief Operating Officer Posts: 821 Join Date: May 2005 Location: Boise, Idaho |
29-05-2008, 12:55 AM
DO NOT FOLLOW THESE INSTRUCTIONS ANYMORE. THEY ARE NO LONGER CORRECT. If you are experiencing problems with the parser lock file that are disrupting business, you can apply the following patch to your desk instead of waiting for 3.20.03 (which, by the way, will likely be called 3.30.00) Take the following files from the latest CVS build and replace the ones on your server with them (make sure to take a backup in case it does not work): /modules/parser/cron_parser.php /locale/en-us/emailparser.php These files also address bug #463 (parser.lock file should automatically expire) -------------------------------------------------------------------
|
| | |
(#18)
|
| New Member Posts: 2 Join Date: May 2008 |
29-05-2008, 03:36 PM
Ryan: Great! Thank you. I will have these updated. |
| | |
(#19)
|
| New Member Posts: 6 Join Date: May 2008 Location: Netherlands |
29-05-2008, 09:41 PM
Quote:
In our case: - v 3.20.02 Zend - IMAP - PHP5.2.6 - 2nd esupport, not yet in production yet.. | |
| | |
(#20)
|
| New Member Posts: 13 Join Date: Jun 2004 Location: London, UK |
10-06-2008, 12:39 PM
Hi Ryan When I installed the 2 files you recommended on to our production system (3.20.02) from Version: 3.20.03 (CVS) - 10 Jun 2008 06:10 AM, I got the following error: - Warning: require_once(./modules/parser/functions_parser_loopcontrol.php) [function.require-once]: failed to open stream: No such file or directory in C:\Inetpub\http://www.help.solutios.com\modules...ron_parser.php on line 129 Fatal error: require_once() [function.require]: Failed opening required './modules/parser/functions_parser_loopcontrol.php' (include_path='.;c:\php\includes') in C:\Inetpub\http://www.help.solutios.com\modules...ron_parser.php on line 129 I then installed the following from CVS: - /modules/functions_parser_loopcontrol.php When I did this, emails were imported, but I got the following error: - Total messages in inbox: 1 Fetching message #1 Account is IMAP Fetching message UID: 2042 Invalid SQL: select length from swemailloopthreshholds order by length desc limit 1 (Table 'kayako_suite.swemailloopthreshholds' doesn't exist)Invalid SQL: delete from swemailloopcontacttimes where contacttime < 1213098370 (Table 'kayako_suite.swemailloopcontacttimes' doesn't exist)Invalid SQL: delete from swemailloopcutsinplace where restoretime < 1213098370 (Table 'kayako_suite.swemailloopcutsinplace' doesn't exist)Invalid SQL: select count(*) from swemailloopcutsinplace where address like ' jbredcar@mac.com: John Benson ' (Table 'kayako_suite.swemailloopcutsinplace' doesn't exist)Invalid SQL: insert into swemailloopcontacttimes(address, contacttime) values(' jbredcar@mac.com: John Benson ', 1213098370); (Table 'kayako_suite.swemailloopcontacttimes' doesn't exist)Invalid SQL: select contacttime from swemailloopcontacttimes where address like ' jbredcar@mac.com: John Benson ' (Table 'kayako_suite.swemailloopcontacttimes' doesn't exist)Invalid SQL: select length, maxhits, restoreafter from swemailloopthreshholds (Table 'kayako_suite.swemailloopthreshholds' doesn't exist)Total messages in inbox: 0 0 Total messages Rejected messages: 0 Accepted messages: 0 Many thanks JB |
| | |
(#21)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho | DO NOT FOLLOW THESE INSTRUCTIONS ANYMORE. THEY ARE NO LONGER CORRECT. Quote:
That new system is dependant on the 3.30 upgrade script putting several new tables into the database and populating one of them with defaults. It is, unfortunately, not an option to upgrade you to 3.30 now, as we still have a few different tables to add for a different thing, and it would just be a mess. What I'm going to advise you to do is to comment out two lines in that file, which should effectively disable the loop cutting system. When next stable comes out, please upgrade to get a unified tested release. On line 129, you should see this line: Code: require_once ("./modules/parser/functions_parser_loopcontrol.php");
Code: // require_once ("./modules/parser/functions_parser_loopcontrol.php");
Also, on line 234, you should see the following line: Code: $isLoopBlocked = StartLoopBlockCheck($fixedheader); Code: // $isLoopBlocked = StartLoopBlockCheck($fixedheader);
$isLoopBlocked = false;
Those two modifications should moot the loop cutter until you can upgrade to a unified release. -------------------------------------------------------------------
| |
| | |
(#22)
|
| New Member Posts: 13 Join Date: Jun 2004 Location: London, UK |
10-06-2008, 08:12 PM
Dear John Many thanks for your prompt reply! We have never used any CVS files before for this very reason, but are finding that we have stale lock files at least once per day. For the help of others, the modifications above need to be carried out in: - /modules/parser/cron_parser.php Regards John |
| | |
(#23)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho | A wise long-term policy. Kayako is making effort to move to shorter release cycles, to reduce the reason to want to do things like this. As far as the fast reply, it's Ryan you should thank, not me; he pointed this thread out to me. -------------------------------------------------------------------
|
| | |
(#24)
|
| New Member Posts: 6 Join Date: May 2008 Location: Netherlands |
19-06-2008, 09:22 PM
Quote:
John, You want this on the 20.02 stable file or on the 20.03 cvs file?? We still got the problem whit the 20.03 cvs files... Thanks. | |
| | |
(#25)
|
| Developer Posts: 800 Join Date: Dec 2007 Location: Idaho | The fix didn't exist until the repository was renamed to 3.30.00. What you have is out of date and does not have the required code. -------------------------------------------------------------------
|
| | |
(#26)
|
(#28)
|
| Member Posts: 41 Join Date: Jun 2008 Location: NRW, Germany |
23-06-2008, 10:47 PM
I just ran into the same problem. I appreciate that you're taking your time to make sure that everything is stable and works fine before you release any new Versions. And i encourage you to do so, great job btw. but when it comes down to a point, where a lot of users complaining about a lockfile, which takes down the entire email communication of your company (if someone just uses the helpdesk), than you should at least stop working on your next Release and put a working fix together which eliminates the problem in 3.20.02 and not just putting it on the bug tracker and fix it with the next release. Or handing out files from a newer version which results into error messages. just my opinion. ![]() |
| | |
(#29)
|
| Member Posts: 215 Join Date: Jan 2008 |
24-06-2008, 09:35 AM
On that. What I ended up doing was educating the users. If they found that they didn't have any emails come in the morning, I'd get them to run the cron php file, and check for any link that say's "Delete lock file". All with the promise that a new version of Kayako was on the way to resolve the issue. I think educating the users is certainly the first step, especially if you can identify IT savvy ones within the group. |
| | |
(#30)
|
| New Member Posts: 6 Join Date: May 2008 Location: Netherlands |
24-06-2008, 03:03 PM
So, for the time being, can I make a cron whit http://bla.bla.bla/cron/index.php?_t=parser&deletelockfile=1 @ every hour or is there a other temparary solution, downgrade to version 3.xx.xx? Thanks. |
| | |
![]() |
| Tags |
| blocking, fetching, parserlockfile, pop3 or imap |
| Thread Tools | Search this Thread |
| Display Modes | |
| |