Kayako logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
Setting The Cron and Email Piping - 12-11-2007, 05:06 PM

Hi All,

I'm new around here, and have just bought my first Kayako license. I have the couple of questions/problems and was wondering if you'd be able to help me. First off, I've set the cron up in CrobTab, but when I try to run it I get the following error:

PHP Warning: require_once(./swift.php): failed to open stream: No such file or directory in /var/www/html/cron/index.php on line 24
PHP Fatal error: require_once(): Failed opening required './swift.php' (include_path='.:/usr/share/pear') in /var/www/html/cron/index.php on line 24

The command which I'm trying to use is 'php /var/www/html/cron/index.php'.

Secondly, I am totally confused as to how email piping works; could someone tell me how to configure it to work correctly?

Any help would be greatly appreciated, and I'm sorry if I sound like a noob - I'm probably one of the youngest on here...

Regards,
Josh
   
Reply With Quote
  (#2) Old
bear Offline
Community Moderator
 
Posts: 705
Join Date: Jan 2005
12-11-2007, 05:21 PM

Quote:
Originally Posted by bluque View Post
The command which I'm trying to use is 'php /var/www/html/cron/index.php'
The cron folder needs to be located in the directory where Kayako is installed. The path in the error: "./swift.php" tells the server to look one folder up from where it is for that file. Unless your Kayako installation exists at "/var/www/html" it can't find the file.
Quote:
Secondly, I am totally confused as to how email piping works; could someone tell me how to configure it to work correctly?
Have you read the documentation yet? Try looking in there and coming back for specific questions. As it is, that's a pretty broad question.
   
Reply With Quote
  (#3) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
12-11-2007, 05:22 PM

Quote:
Originally Posted by bear View Post
Quote:
Originally Posted by bluque View Post
The command which I'm trying to use is 'php /var/www/html/cron/index.php'
The cron folder needs to be located in the directory where Kayako is installed. The path in the error: "./swift.php" tells the server to look one folder up from where it is for that file. Unless your Kayako installation exists at "/var/www/html" it can't find the file.
Quote:
Secondly, I am totally confused as to how email piping works; could someone tell me how to configure it to work correctly?
Have you read the documentation yet? Try looking in there and coming back for specific questions. As it is, that's a pretty broad question.
The cron folder is located in the root of the installation and the installation is at /var/www/html...
   
Reply With Quote
  (#4) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
12-11-2007, 05:27 PM

And with the mail piping: I have a separate email server, now because of that, does it mean I can't use the mail piping feature?
   
Reply With Quote
  (#5) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,865
Join Date: Aug 2006
Location: Mumbai, India
12-11-2007, 07:30 PM

You cannot set up email piping if you do not have a running mail server on the server on which you have installed Kayako. In this case you will need to use POP3



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#6) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
12-11-2007, 10:07 PM

Forget the piping then. I'm still having problems with the cron; all the files are in the right place. Pleas help me!
   
Reply With Quote
  (#7) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,865
Join Date: Aug 2006
Location: Mumbai, India
12-11-2007, 10:12 PM

You might want to look into the "Setting up cron jobs (automated scheduled tasks)" section of the manual which explains how you can set the cron correctly on various control panels -- Page 82 of the manual I think.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#8) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
12-11-2007, 10:33 PM

Quote:
Originally Posted by supportskins View Post
You might want to look into the "Setting up cron jobs (automated scheduled tasks)" section of the manual which explains how you can set the cron correctly on various control panels -- Page 82 of the manual I think.
It's configured as guided in the manual; I've tried using php to execute the cron and it says in the manual to use wget but that says it's an unsupported scheme.
   
Reply With Quote
  (#9) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,865
Join Date: Aug 2006
Location: Mumbai, India
13-11-2007, 07:10 AM

try using curl



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#10) Old
bluque Offline
New Member
 
Posts: 11
Join Date: Nov 2007
13-11-2007, 04:03 PM

CURL doesn't work either. All I want to know is why it isn't working and how I can fix it. All the files are in the right place...
   
Reply With Quote
  (#11) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,865
Join Date: Aug 2006
Location: Mumbai, India
14-11-2007, 06:04 AM

You need to ask your host to look into the issue if their servers are not configured to support wget or curl



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#12) Old
WebStar Offline
New Member
 
Posts: 5
Join Date: Aug 2007
26-12-2007, 10:05 PM

I also encountered this same issue and managed to work around it by modifying the code in /cron/index.php to reference the files swift.php and functions_cron.php by their absolute paths.
   
Reply With Quote
  (#13) Old
craigbrass Offline
Senior Member
 
Posts: 5,767
Join Date: Jun 2005
Location: Cumbria, UK
26-12-2007, 10:11 PM

Thanks for sharing how you fixed it with the community.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
cron, piping, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
cron job aborts when bad email found on POP server! Doug I. SupportSuite, eSupport and LiveResponse 13 19-09-2008 07:00 AM
Problem cron jobs email parser joseant SupportSuite, eSupport and LiveResponse 3 04-05-2007 05:06 PM
Setting up the Email Parser ferretneck SupportSuite, eSupport and LiveResponse 1 10-01-2006 09:46 AM
2 Questions on V3 - POP3 Piping & Email Notifications fmckinnon E-mail Piping Issues 4 09-01-2006 11:25 PM
Cron Jobs, Piping, NO Luck - Any Assitance Appreciated breamteam E-mail Piping Issues 0 22-11-2005 05:08 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47