By Martin Lines on Friday, 10 July 2015
Posted in Technical Issues
Likes 0
Views 862
Votes 0
The Twitter feed mechanism seems really unstable.

I have upgraded to 5.0.15 and it has stopped collecting tweets from Twitter again.

Running the command manually (ie. debug=1) shows zero tweets collected. I also note that there are emails waiting to be sent and these are also not sent
hi Martin Lines,

Sorry for late reply to this,

Yes, I checked in your site, it seems like you are still using 5.0.14 version, after that I already help you updated to latest version now.
And it seems like work fine for me if I manually run the cron command URL on the browser, take a look of my screenshot what I setup on this "easyblog" user account for the Twitter.

By the way, can you provide us with your Cpanel access so I can better have a look of your cron command configuration?
·
Friday, 10 July 2015 23:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Yes you caught the system as I stepped back to 5.0.14 version to test it. I am back on 5.0.15 now.

I cannot get it to work from the command line, browser or cron job so I do not know what I am doing wrong. The commands complete just fine, they just never pick up any tweets.

The command within the cron job is /usr/bin/wget -O /dev/null "http://www.sportsboat.org.uk/index.php?option=com_easyblog&task=cron"; and as I say this completes correctly without collecting any waiting tweets.

Typing http://www.sportsboat.org.uk/index.php?option=com_easyblog&task=cron in to a browser also completes correctly without collecting tweets.

The crontab is


*/5 * * * * /usr/bin/wget -O /dev/null "http://www.sportsboat.org.uk/index.php?option=com_easyblog&task=cron";

I do not have cpanel installed, it is my own server. I have temporarily added your username to the sudo users file so you can SSH in and give commands with elevated status
·
Saturday, 11 July 2015 05:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin Lines,

I'm really sorry that delayed of this reply,

Okay, let try see the cron command is it configured correctly or not, open your SSH > type MAILTO=youremail@mail.com > and set to 1 minute temporary for cron process, you can refer on my following code :

MAILTO=youremailaddress@mail.com

*/1 * * * * /usr/bin/wget -O /dev/null "http://www.sportsboat.org.uk/index.php?option=com_easyblog&task=cron"


After 1 or 2 minute, check on your mailbox and see what your server return you the response.

Before you try this download my attachment file and replace in your JoomlaFolder\components\com_easyblog\cron.php first.
·
Monday, 13 July 2015 10:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok,

that has been done, the emails are coming back

--2015-07-13 07:41:01--  http://www.sportsboat.org.uk/index.php?option=com_easyblog&task=cron
Resolving http://www.sportsboat.org.uk (http://www.sportsboat.org.uk)... 151.236.222.168 Connecting to http://www.sportsboat.org.uk (http://www.sportsboat.org.uk)|151.236.222.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 711 [text/x-json]
Saving to: `/dev/null'

0K 100% 55.3M=0s

2015-07-13 07:41:02 (55.3 MB/s) - `/dev/null' saved [711/711]
·
Monday, 13 July 2015 14:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin,

Sorry for late reply to this,

May i know do you have replace the file?

because it work fine now without manually run the cron command on your browser. check my screenshot below.
·
Monday, 13 July 2015 17:37
·
0 Likes
·
0 Votes
·
0 Comments
·
I uploaded the file via FTP

See attachment

I can see the twitter posts you posted have appeared, but ones that I have posted have not appeared.

Again see attachment
·
Monday, 13 July 2015 18:24
·
0 Likes
·
0 Votes
·
0 Comments
·
These are my posts which have not appeared. It seems to do your posts but none of mine
·
Monday, 13 July 2015 18:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin Lines,

Sorry for late reply to this,

I suspect your Twitter authenticate didn't update yet, because it work fine for me, you can check on your Easyblog frontpage.

Can you provide us with your "Martin" Joomla user account and your Twitter account so I can directly check on this issues?
·
Tuesday, 14 July 2015 03:31
·
0 Likes
·
0 Votes
·
0 Comments
·
As requested I have sent you some username and password details
·
Tuesday, 14 July 2015 16:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin,

I'm really sorry that delayed of this reply,

Yes, I can replicate on your account regarding this issues, I have tried to modify your file ( JoomlaFolder/administrator/components/com_easyblog/includes/twitter/twitter.php ) through FTP, but I hitting this permission issues :

Error: /xxx/includes/twitter/twitter.php: open for write: permission denied
Error: File transfer failed


Can you consult with your Webhosting provider to temporary change this permission, so I can modify the file and troubleshoot on this?
·
Wednesday, 15 July 2015 01:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Its my server so I do not have to talk to the provider. If you use SSH or SFTP under my username gave you then you can alter the file.

I have changed the permissions on the file so you can access it with your account
·
Wednesday, 15 July 2015 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin Lines,

it should work fine now, can you give it a try now?
·
Wednesday, 15 July 2015 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, it still doesn't seem to work for me

A new Tweet has been posted to Twitter and not appeared on the blog.



Martin
·
Wednesday, 15 July 2015 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin,

Sorry for late reply to this,

The reason why your account can't import the tweet is because I missed authorize the Twitter from your backend > Easyblog > author > Martin Lines > blog settings > twitter > check my screenshot : http://screencast.com/t/Lq0dR0jo

It should work fine now. Take a look of my screenshot below.
·
Thursday, 16 July 2015 16:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I will test and confirm

I also note that 5.0.16 has been released, should I upgrade or will this undo any changes you have made?

Martin
·
Thursday, 16 July 2015 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martin,

You're welcome. keep us updated then.

Yes, it would be safe when you update to latest version 5.0.16 is because I didn't do any changes in your file, what i did is only this -> http://stackideas.com/forums/updated-to-5-0-15-twitter-feed-stopped-working#reply-208948
Hope this help.
·
Thursday, 16 July 2015 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I can confirm it is working
·
Thursday, 16 July 2015 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Martin, glad that your issues are resolved now
·
Friday, 17 July 2015 15:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post