Page 1 of 1

CronJob

Posted: Fri Feb 20, 2015 12:05 pm
by lupolo
Hello When I Use the CronJob it give me the following error:

Code: Select all

Connected to the POP3 server "pop.gmail.com".
User "xx@gmail.com" logged in.
There are 1 messages in the mail box with a total of 139006 bytes.
Parsing message 1 of 1.
Ticket NOT inserted - may be duplicate, blocked or an error.


Disconnected from the POP3 server "pop.gmail.com".
Iam using 2.6.0 beta 1

Re: CronJob

Posted: Fri Feb 20, 2015 1:42 pm
by Klemen
Make sure you use unique emails when testing as HESK will detect and block duplicates (two same emails).

Re: CronJob

Posted: Fri Feb 20, 2015 2:31 pm
by lupolo
See when I send another mail:

Code: Select all

Connected to the POP3 server "pop.gmail.com".
User "xxxxxxx@gmail.com" logged in.
There are 1 messages in the mail box with a total of 54766 bytes.
Parsing message 1 of 1.
                


Toggle navigation     ACE Carwash Systems BV 

• Hoofdpagina
•  Tickets ◦ Verzend ticket
◦ Bekijk Ticket

• Kennisbank
      

EnglishNederlands

  1.ACE Carwash Systems BV
2.ACE Carwash Systems BV 
3.Fout



Fout:

 Het lukt niet SQL te draaien: INSERT INTO `hesk_tickets` ( `trackid`, `name`, `email`, `category`, `priority`, `subject`, `message`, `dt`, `lastchange`, `articles`, `ip`, `language`, `openedby`, `owner`, `attachments`, `merged`, `history`, `custom1`, `custom2`, `custom3`, `custom4`, `custom5`, `custom6`, `custom7`, `custom8`, `custom9`, `custom10`, `custom11`, `custom12`, `custom13`, `custom14`, `custom15`, `custom16`, `custom17`, `custom18`, `custom19`, `custom20`, `status` ) VALUES ( '59Z-2DQ-RJ6Q', 'Guy Cramer', xxxxxxx, '22', '3', 'test 123456789', '123456789 
\n
\n Met vriendelijke groet,
\n Yours sincerely,
\n
\n Guy Cramer
\n
\n (afbeelding verwijderd) 
\n
\nP Please consider the environment before printing this email 
\n
\nDit is een e-mail bericht van . De informatie in
\ndit bericht is uitsluitend bedoeld voor gebruik door de persoon of
\nentiteit aan wie deze e-mail is gericht. Gebruik van dit bericht door
\nanderen is verboden. Als deze e-mail per abuis naar u is verzonden,
\nwilt u zo vriendelijk zijn om dit bericht te vernietigen zonder het te
\nlezen, te gebruiken, er een kopie van te maken of op andere wijze de
\ninhoud aan derden bekend te maken. Wij accepteren geen
\naansprakelijkheid voor schade gerelateerd aan de inhoud van dit
\nbericht en/of de toegevoegde documenten die gecommuniceerd zijn door
\nmiddel van e-mail.', NOW(), NOW(), NULL, 'Onbekend', '\'Nederlands\'', '-2', '0', '429#image001.png,', '', '•20-02-2015 15:28:53 | verzonden door POP3 fetching
', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '0' ) 

MySQL zegt:
Out of range value for column 'openedby' at row 1

 

WAARSCHUWING
Debug mode staat aan. Overtuig jezelf ervan dat debug mode uit staat wanner je HESK helemaal geďnstalleerd hebt en in gebruik neemt.


Re: CronJob

Posted: Fri Feb 20, 2015 6:53 pm
by Klemen
Run this SQL query in phpMyAdmin:

Code: Select all

ALTER TABLE `hesk_tickets` CHANGE `openedby` `openedby` MEDIUMINT(8) NULL DEFAULT '0';
That should fix this beta issue.

Re: CronJob

Posted: Fri Feb 20, 2015 7:47 pm
by lupolo
fixed the problem!

Thank you!