By Ryan Giles on Thursday, 07 May 2015
Posted in Technical Issues
Likes 0
Views 797
Votes 0
I am getting these errors from my cron job and emails are not being sent out as a result.

/var/www/vhosts/myerafirst.com/myerafirst/components/com_easysocial/cron.php: line 1: ?php: No such file or directory
/var/www/vhosts/myerafirst.com/myerafirst/components/com_easysocial/cron.php: line 2: /aquota.group: Permission denied
/var/www/vhosts/myerafirst.com/myerafirst/components/com_easysocial/cron.php: line 3: ip_importer.lock: command not found
/var/www/vhosts/myerafirst.com/myerafirst/components/com_easysocial/cron.php: line 4: syntax error near unexpected token `('
/var/www/vhosts/myerafirst.com/myerafirst/components/com_easysocial/cron.php: line 4: `* @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved.'



I use a plesk server for hosting.
Hello Ryan,

I am sorry for the delay of this reply.

Can you revert back the change that you have made in your cron.php and try the following command in your plesk desk instead?
/usr/bin/wget -O /dev/null "http://site.com/index.php?option=com_easysocial&cron=true"


Replace site.com with your domain url.
·
Thursday, 07 May 2015 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Ryan Giles,

Can you provide us with your Joomla backend and Cpanel access(which configure with your cronjob setting) so we can help you check on this?
·
Thursday, 07 May 2015 02:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I will provide you with a temp login to my joomla backend. Again I do not use cpanel. I have a plesk server and use it for hosting of my websites and email. I have attatched a screenshot of the cron job in the plesk server.
·
Thursday, 07 May 2015 02:59
·
0 Likes
·
0 Votes
·
0 Comments
·
I have edited the cron.php file myself and it now seems to run as i get this message now...
Cronjob processed.

I added the following code to the first line...
#!/usr/bin/php

It is not sending out the messages though. I have still yet to receive anything in my email as a notification.
Screenshots attached show what easy social tells me on the backend.
·
Thursday, 07 May 2015 04:06
·
0 Likes
·
0 Votes
·
0 Comments
·
The emails do not automatically get marked to be sent. I have to mark them as pending myself. Is there a way to automate that?
·
Thursday, 07 May 2015 04:34
·
0 Likes
·
0 Votes
·
0 Comments
·
I am sorry for the delay of this reply.

Can you revert back the change that you have made in your cron.php and try the following command in your plesk desk instead?
/usr/bin/wget -O /dev/null "http://site.com/index.php?option=com_easysocial&cron=true";


Replace site.com with your domain url.


Thanks you this worked.
·
Thursday, 07 May 2015 21:49
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Ryan.
·
Thursday, 07 May 2015 23:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post