By Riley Hickman on Wednesday, 18 May 2016
Posted in Technical Issues
Likes 0
Views 500
Votes 0
Howdy,

I am running:
WAMP
Joomla 3.5.1
PHP 5.6
Easy Discuss 3.2.9744 (On my production environment) and 4.0.5 (on my development environment)

Being on windows I am using the following scheduled task to run the "cron" job.

"C:/mydir/chrome.exe" "http://www.mydomain.com/index.php?option=com_easydiscuss&task=cron";

This is failing to send and notifications (new or existing). I have developed a significant backlog in the last week and a half since this command has not be functioning.

I have tried updating the component in my development environment to version 4.0.5, since I was unable to save my changes receiving a 500 error. I have discovered a bug in the email parser settings with version 4.0.5. I have supplied a username of "something@somethingelse.com" and it submits to my email server "somthingsomthingelse.com", it had removed the @ symbol, making my user account on my mail server unable to log in. It appeared to strip any special characters I submitted. This was from the "Test Connection" button.

To work around this I went to the database table to manually update the changes I needed which included updating the type from IMAP to POP3, updating the password (which is un-encrypted by the way), and updating the email server address. These tests are kind of successful, but when I load the settings page it shows my IMAP still, I assume this is a page load default since the setting in the database still reads (main_email_parser_service="pop3").

When manually loading the url I get this response, "Email batch process finished."

Are there some additional steps to accomplish this cron job in Windows?


My troubleshooting efforts have resolved a couple of issues but I am now stuck, and my team is getting a lot of internal pressure to bring this back up.

Any help would be much appreciated, thank you for your time.

Cheers,
Riley
Hey Riley,

It seems like your production site still using 3.x version, to fix that 500 error, you can refer on following thread :
-> http://stackideas.com/forums/easydiscuss-3-2-9744-joomla-3-5-quick-fix
-> http://stackideas.com/forums/easydiscuss-3-2-9744-joomla-3-5-php7-quick-fix

Try open this file -> JoomlaFolder/components/com_easydiscuss/cron.php

Edit the $host domain name to your site domain.

For example :

$host = 'site.com';

// modify your site name
$host = 'yoursite.com';



After you done, then update your cron execution command :

"C:/mydir/chrome.exe" "http://www.mydomain.com/index.php?option=com_easydiscuss&task=cron";

// Try replace following command
"C:/mydir/chrome.exe" "http://yourdomain.com/index.php?option=com_easydiscuss&task=cron";

// If still can't, try replace following command
"C:/mydir/chrome.exe" "http://yourdomain.com/components/com_easydiscuss/cron.php"
·
Thursday, 19 May 2016 12:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for your response, the above fix worked. I have seen some issues with the upgraded component and will not be updating my production environment right away.

Cheers,
Riley
·
Friday, 20 May 2016 00:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Riley
·
Friday, 20 May 2016 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post