Jump to content
  • 0

Reply Tickets Via Email


alexistkd

Question

10 answers to this question

Recommended Posts

  • 0

i tried that too i modified the /etc/aliases and same i have this:

support: "|/usr/local/bin/php /home/user/public_html/portal/plugins/support_manager/pipe.php
plugin/support_manager/ticket_pipe/index/1/"

i change user for my username of course :)

 

in your cPanel cron you just put: /usr/local/bin/php /home/user/public_html/portal/plugins/support_manager/pipe.php

plugin/support_manager/ticket_pipe/index/1/

 

Also ensure your pipe.php is 0777 perms.

Link to comment
Share on other sites

  • 0

yep i tried that too a cron job run every minute with that command i got this issue in the cron:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr">
	<head>
		<title>Blesta</title>
		<link rel="stylesheet" type="text/css" href="/home/streamin/public_html/portal/plugins/support_manager/app/views/errors/css/styles.css" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	</head>

	<body>
			<div class="program_error">
		<h3>Oh noes!</h3>
		<div class="contents">
			<p>SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND `date_sent` >= '2014-03-08 17:13:01')) AS `t_2131320703`' at line 1 on line <strong>124</strong> in <strong>/home/streamin/public_html/portal/lib/model.php</strong>
<br /><br /><strong>Printing Stack Trace:</strong><br /><code>#0 /home/streamin/public_html/portal/lib/model.php(124): PDOStatement->execute(Array)<br />
#1 /home/streamin/public_html/portal/components/record/record.php(655): Model->query('SELECT COUNT(*)...', Array)<br />
#2 /home/streamin/public_html/portal/components/record/record.php(746): Record->fetch()<br />
#3 /home/streamin/public_html/portal/plugins/support_manager/models/support_manager_tickets.php(1077): Record->numResults()<br />
#4 /home/streamin/public_html/portal/plugins/support_manager/components/ticket_manager/ticket_manager.php(341): SupportManagerTickets->checkLoopBack(Array, 5, '5 minutes')<br />
#5 /home/streamin/public_html/portal/plugins/support_manager/components/ticket_manager/ticket_manager.php(317): TicketManager->sendBounceNotice(Object(MimeMailParser))<br />
#6 /home/streamin/public_html/portal/plugins/support_manager/controllers/ticket_pipe.php(38): TicketManager->processTicketFromEmail(Object(MimeMailParser))<br />
#7 /home/streamin/public_html/portal/lib/dispatcher.php(111): TicketPipe->index()<br />
#8 /home/streamin/public_html/portal/lib/dispatcher.php(24): Dispatcher::dispatch('/plugin/support...', true)<br />
#9 /home/streamin/public_html/portal/plugins/support_manager/pipe.php(25): Dispatcher::dispatchCli(Array)<br />
#10 {main}</code></p>
		</div>
	</div>	</body>
</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...