Forum

[SOLVED] Assistance...
 
Notifications
Retirer tout

[SOLVED] Assistance Needed with Auto Ticket Creation and Attachments

4 Posts
2 Utilisateurs
0 Reactions
1,094 Vu
(@chandrashekhar)
Posts: 275
Honorable Member
Début du sujet
 
[#9632]

Hi there,I’ve been working on automating ticket creation for different projects and successfully implemented it. However, I encountered an issue when testing ticket creation with attachments.The ticket gets created successfully, but the attachment does not appear in the created ticket. Upon checking the attach folder, I noticed that an email folder is created there, and the attachment I included in the test email is stored in that folder. However, it’s not linked to the created ticket.Could you please guide me on how to resolve this issue?Looking forward to your assistance.Best regards,

Note: I am using ProjeQtOr Version 11.4.2


 
Posté : 25/11/2024 3:10 pm
(@babynus)
Posts: 14952
Membre Admin
 

The attach/email folder is a temporary folder where email attachments are stored before being moved.

Possibly you have access restriction on target folder that leads to impossibility to move attachment correcly.
Check erors in log file.


 
Posté : 27/11/2024 4:43 pm
(@chandrashekhar)
Posts: 275
Honorable Member
Début du sujet
 

Thanks for the response, I am checking further, but it's showing the below log repeatedly!

2024-11-28 16:11:12.660 ----- DEBUG ----- [IMB#4] Mailbox #4 {imap.gmail.com:993/imap/ssl/novalidate-cert}Smcg for chaavi@gmail.com is empty (filter='UNSEEN UNDELETED')
2024-11-28 16:11:54.815 ----- DEBUG ----- [IMB#3] User corresponding to email address is #138
2024-11-28 16:12:03.286 ** ERROR ** [V11.4.2] EXCEPTION **
2024-11-28 16:12:03.288
** ERROR ** [V11.4.2] on file 'C:Apache24htdocsprojeqtormodelCron.php' at line (1468)
2024-11-28 16:12:03.290
** ERROR ** [V11.4.2] cause = Call to undefined function mime_content_type()
2024-11-28 16:12:03.291
** ERROR ** [V11.4.2] => #0 C:Apache24htdocsprojeqtormodelCron.php (576) -> checkEmails()
2024-11-28 16:12:03.293
** ERROR ** [V11.4.2] => #1 C:Apache24htdocsprojeqtortoolcronRun.php (39) -> run()
2024-11-28 16:12:03.295
** ERROR ** [V11.4.2] Call to undefined function mime_content_type()
2024-11-28 16:12:03.297
** ERROR ** [V11.4.2] Exception while executing CRON script : fix the source issue and manually restart the CRON Process
2024-11-28 16:12:03.299
** ERROR ** [V11.4.2] === Trace Stack for last error ===
2024-11-28 16:12:03.300
** ERROR ** [V11.4.2] => C:Apache24htdocsprojeqtortoolprojeqtor.php at line 1557 calling debugPrintTraceStack()
2024-11-28 16:12:03.302
** ERROR ** [V11.4.2] => calling exceptionHandler()
2024-11-28 16:12:03.304
** ERROR ** [V11.4.2] ===
2024-11-28 16:12:03.305 ----- DEBUG ----- ../model/Mail.php not found, current directory is :'C:Apache24'
Try to move up with chdir('../')
2024-11-28 16:12:03.307
** ERROR ** [V11.4.2] CRON abnormally stopped
2024-11-28 16:12:03.308
** ERROR ** [V11.4.2] === Trace Stack for last error ===
2024-11-28 16:12:03.309
** ERROR ** [V11.4.2] => C:Apache24htdocsprojeqtormodelCron.php at line 323 calling debugPrintTraceStack()
2024-11-28 16:12:03.310
** ERROR ** [V11.4.2] => C:Apache24htdocsprojeqtortoolcronRun.php at line 35 calling Cron:abort()
2024-11-28 16:12:03.311
** ERROR ** [V11.4.2] => calling cronAbort()
2024-11-28 16:12:03.312
** ERROR ***** [V11.4.2] ===

Could you please help to resolve this? I have noticed that attachment available in E:projeqtor-wampattachemails but it is not showing in ticket anywhere. Additionally you asked to check for *target folder,* request you to please assist me how and what to see?


 
Posté : 28/11/2024 2:29 pm
(@babynus)
Posts: 14952
Membre Admin
 

function mime_content_type() is missing on your php install


 
Posté : 11/12/2024 4:21 pm
Share:
Retour en haut